HTML Link Problem Column Formula
Hi All,
I have a hyper link column in the report. I used to make that coumn as a hyperlink using Column Formula. I added the below text in the column formula.
'<a target="_blank" href="http://gtestenv:9704/analytics/saw.dll?Dashboard&PortalPath=%shared%Sample%testpage&P0=1&P1=eq&*P2=Variance.Level1=100*>' || Test.ShowLevel1 || '</a>'
when i use this linkformat working fine. If a change in presentation layer table name "Variance" to "Variance Data"
target="_blank" href="http://gtestenv:9704/analytics/saw.dll?Dashboard&PortalPath=%shared%Sample%testpage&P0=1&P1=eq&*P2="Variance Data".Level1=100*
this is not working. Filter is not regognized the parameters. In the Address bar the link is shows like
http://gtestenv:9704/analytics/saw.dll?Dashboard&PortalPath=%shared%Sample%testpage&P0=1&P1=eq&*P2=*
Please help me how to send that double qutoes in the URL using <a> coumn formula
Edited by: Guna on Jul 18, 2009 12:22 AM
And use %22 for the quotes
%22Variance%20Data%22.Level1which become :
target="_blank" href="http://gtestenv:9704/analytics/saw.dll?Dashboard&PortalPath=%shared%Sample%testpage&P0=1&P1=eq&P2=%22Variance%20Data%22.Level1=100"The best way to create this Dashboard Url is to create a fake dasbhoard with what you want and to generate the link with the dashboard links :
http://gerardnico.com/wiki/dat/obiee/presentation_service/obiee_dashboard_url#dashboard_links
Success
Nico
Similar Messages
-
Html link problem...
Hey!
Just wanned to say to those who answered my post on html link problems, that the problems I had were actualy because of the jdk version! I had jdk1.2 and now I have 1.3 and it works just fine.
thanx a lot to everyone who tried to help!!!hehe i saw the topic "html link problem" posted by amidala and i thought " oh my god is she still struggling!" ;P
Kewl 'twas not a problem! -
HTML link in column ... Need Help!!!!!
I need to use a column in my viewobject to create an html link to an external resource on another server, a simple webpage. I've used the RowImpl for my view object to build the HREF but when the rows are rendered the link is fully escaped and isn't a working link. I need to have this link enabled by 2pm today and I'm totally "stuck on stupid" trying to get it to work. Any help, and fast, would be hugely appreciated!
Thanks!!
scottIs your RowImpl building just an URL, or is it building
the full bit of HTML, like "<a href='....'>some text</a>"?
If it's just building just an URL, you want to use
something like:
<link text="Whatever text you need">
<boundAttribute name="destination">
<bc4j:attrValue name="hrefAttr"/>
</boundAttribute>
</link>If your VO is building the whole bit of HTML, then
go with <formattedText>:
<formattedText>
<boundAttribute name="text">
<bc4j:attrValue name="hrefAttr"/>
</boundAttribute>
</formattedText>If your HTML is really funky (or you're using JDev
9.0.2), you may need to substitute <rawText>
for <formattedText>.
In both of these cases, the snippet of code belongs
inside the right <bc4j:viewObjectScope>, and the
"name" on that <bc4j:attrValue> is the attribute in
your row that contains the href you're generating. -
html:link problem with Mozilla vs. IE
Hello,
I am experiencing the following situation.
In IE the following segment of code works properly:
<td>
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<html-el:link action="zone3/g036Play">
<td><html-el:img srcKey="detailsLeft2" bundle="ZONE3_IMAGE_RESOURCE_KEY" border="0" width="17" height="18"/></td>
<td class="details"><bean-el:message key="couponsHistory.details" bundle="XLTS_MESSAGE_RESOURCE_KEY"/></td>
<td><html-el:img srcKey="detailsRight2" bundle="ZONE3_IMAGE_RESOURCE_KEY" border="0" width="9" height="18"/></td>
</html-el:link>
</tr>
</table>
</td>BUT in Mozilla the link doesn't work
On the other hand, i found out that if i place the <html:link> tag outside of the table, then the link will work properly for mozilla but won't work for IE.
Is there a way i can work this problem around?
Thank you very much in advance.
Friniok, sorry, my mistake, i was looking at the wrong fragment of code.
It output the HTML code:
<td><a href="/XltsWeb/zone3/g036Play.web"><img src="images/xlts/details_left_lottery.gif" height="18" width="17" border="0"></td>
<td class="details">Details</td>
<td><img src="images/xlts/details_right1_lottery.gif" height="18" width="9" border="0"></a></td>which still doesn't work in Mozilla as a link...
But if i place <html:link> outside the table and inside TD, i get:
<td>
<a href="/XltsWeb/zone3/g036Play.web"><table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<td><img src="images/xlts/details_left2_lottery.gif" height="18" width="17" border="0"></td>
<td class="details">Details</td>
<td><img src="images/xlts/details_right2_lottery.gif" height="18" width="9" border="0"></td>
</td>
</tr>
</table></a>
</td>and works in Mozilla, BUT no, none of the above works in IE!!!!!!!!!!!!!!!!!!!!!
The only code that works in IE, is the first that i posted!!!! -
html:link problem in struts
<a href="photo.jsp?cmd=showa&Id=<%=Id) %> target="thumbs">This is normal coding in jsp. how to use the same coding in struts using <html:link>
Please Help me.
Thanks in Advance
regards
pooja</a>Have a look at this.
http://struts.apache.org/struts-action/struts-el/tagreference.html#link -
I've added a 3 word link to a block of copy in my animation, the problem is the only the first word of the three responds like an link. I have other links in other areas in the animation and they work fine. Here's my code:
<style>a:link {color:#b8dc70;text-decoration:none;} a:visited {color:#aaaaaa;}a:hover {color:#e69400;}a:active {color:#c97777;}</style><a href = "http://grassrootschange.net/what-is-grassroots-movement/" target=_"self">public health movement</a>
Only public displays the style attributes and responds like a link. health movement display the style attributes, but not the link.
Thank you in advanceHad a look, though a few items:
- remove all your <style xxxxxxx> xxxxx</style> references that you have within each of your sym.html(" ") string methods; It's not needed. Once you have them removed, move to the next step.
- Go to the Stage > Compositionready event handler and paste in the following, anywhere
// start copy here
$("<style type='text/css'> a:link {color:#b8dc70;text-decoration:none;} a:visited {color:#aaaaaa;}a:hover {color:#e69400;}a:active {color:#c97777;} </style>").appendTo("head");
// end copy here
The above will take care of all the style references you were doing in one swoop.
Optional, but worth doing.
---- Back to each of your smy.html ( " "); methods
In most of them there are closing </font> tags but no opening ones; remove them.
Your target references, they they work, is incorrect.
You have _"self" for all of them, when the underscore should be inside the quotes, like this: target ="_self"
Your actual strings within the html () method should start and end with double quotes and any markup tag should be single quoted.
Example, cleaned up html () method from your file. Note the open/ close double quotes; open/close single quote for markup properties.
sym.$("TextBuilding").html
("A grassroots <a href = 'http://grassrootschange.net/what-is-grassroots-movement/' target='_blank'>public health movement</a> is an organized effort to address threats to the health and safety of a community, led by activated citizens and organizations that devote resources to movement building. The power of a well-run grassroots movement can overcome the dominance of money in politics, making it one of the only ways advocates can achieve lasting change in public health.");
hth
Pretty example, btw
Darrell -
HTML Link problem (Urgent!)
I'm writing a prrogram that displays an HTML file. I used a JEditorPane. I tryed using the hyperlinkListener but it doesn't work! here's the class I wrote...
can anyone help please?
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.util.*;
import javax.swing.*;
import browser.*;
import java.net.*;
import javax.swing.event.*;
* Classe :
* Description :
* Societe : Medias France
* @version 1.0
public class Aide extends JFrame implements HyperlinkListener
BrowserInterface bI;
URL url1;
static Interface parent;
public Aide(String titre, Interface i)
super(titre);
parent = i;
getContentPane().setLayout(new BorderLayout());
//bI = new BrowserInterface(jp);
setBounds(10,10,800,600);
addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent e)
quit(null);
try
url1 = new URL("file:/home/darkazan/java/BDO/tablegen-1.8/help/help.html");
//bI.URL_Process(url1);
catch (MalformedURLException e)
System.out.println("probleme " + e.toString());
JEditorPane editorPane = new JEditorPane();
editorPane.setEditable(false);
try
editorPane.setPage(url1);
catch (IOException e)
System.err.println("Attempted to read a bad URL: " + url1);
JScrollPane editorScrollPane = new JScrollPane(editorPane);
editorScrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
editorScrollPane.setPreferredSize(new Dimension(800, 600));
getContentPane().add(editorScrollPane, "Center");
pack();
setVisible(true);
public void hyperlinkListener(HyperlinkEvent e)
if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED)
// do something on HL click
System.out.println("ouverture");
if (e.getEventType() == HyperlinkEvent.EventType.ENTERED)
// do something on mouse over HL
// do something on HL click
System.out.println("bbbbbbbbbbbbbbbbbbbb");
if (e.getEventType() == HyperlinkEvent.EventType.EXITED)
// do something on HL click
System.out.println("ggggggggggggggggggg");
// do something on mouse moved away from HL
public void hyperlinkUpdate(HyperlinkEvent e)
public static void main(String[] args)
Aide aide1 = new Aide("Help", parent);
* Quitter l'application
* @param e L'evenement recu
* @return Sans objet.
void quit(ActionEvent e)
parent.bAide.setEnabled(true);
dispose();
}also check your file protocol it should look like this: file:/// with three slashes(i think?)
here Mr. Urgent, my html viewer: (and it works) ;P
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.text.*;
import javax.accessibility.*;
import java.awt.*;
import java.awt.event.*;
import java.net.URL;
import java.net.MalformedURLException;
import java.io.IOException;
public class iROCHelp extends JPanel implements HyperlinkListener{
//ATTRIBUTES
JEditorPane html;
private static boolean HelpShowing = false;
private static JFrame selTopic;
//METHODS
//Constructor
public iROCHelp(java.net.URL URLstr){
//setBorder(new EmptyBorder());
setLayout(new BorderLayout());
try{
URL url = URLstr;
if(url != null){
html = new JEditorPane(url);
html.setEditable(false);
html.addHyperlinkListener(this);
JScrollPane scroller = new JScrollPane();
JViewport vp = scroller.getViewport();
vp.add(html);
vp.setBackingStoreEnabled(true);
add(scroller, BorderLayout.CENTER);
catch (MalformedURLException e){
System.out.println("Malformed URL: " + e);
catch (IOException e){
System.out.println("IOException: " + e);
}//HelpTopic CONSTRUCTOR
public void hyperlinkUpdate(HyperlinkEvent e){
if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED){
linkActivated(e.getURL());
}//hyperlinkUpdate
protected void linkActivated(URL u){
Cursor c = html.getCursor();
Cursor waitCursor = Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR);
html.setCursor(waitCursor);
SwingUtilities.invokeLater(new PageLoader(u, c));
}//linkActivated
class PageLoader implements Runnable{
PageLoader(URL u, Cursor c){
url = u;
cursor = c;
public void run(){
if (url == null){
// restore the original cursor
html.setCursor(cursor);
Container parent = html.getParent();
parent.repaint();
else{
Document doc = html.getDocument();
try{
html.setPage(url);
catch (IOException ioe){
html.setDocument(doc);
finally{
// schedule the cursor to revert after
// the paint has happended.
url = null;
SwingUtilities.invokeLater(this);
}//else
}//run
URL url;
Cursor cursor;
}//PageLoader
public static void spawnHelp(java.net.URL URLStr){
if (!HelpShowing){
selTopic = new JFrame();
selTopic.getContentPane().setLayout(new BorderLayout());
selTopic.getContentPane().add(new iROCHelp(URLStr),BorderLayout.CENTER);
Dimension dim = selTopic.getToolkit().getScreenSize();
selTopic.setLocation((int)dim.getWidth()/2-selTopic.getWidth()/2,(int)dim.getHeight()/2-selTopic.getHeight()/2);
selTopic.setSize(500, 400);
selTopic.setTitle("Remote Operators Console Help");
selTopic.addWindowListener(new WindowAdapter(){
public void windowClosing(WindowEvent e){
closeHelp();
}//windowClosing
selTopic.show();
HelpShowing = true;
}//if help showing
}//spawnHelp
public static void closeHelp(){
if (HelpShowing){
selTopic.dispose();
HelpShowing = false;
}//closeHelp
}//HelpTopic CLASS -
Java Servlet/Html link problem
Hi,
I have been using the Java servlet to create the html code itself using the PrintWriter.I would like to know if it possible to input ALL the code into -
PrintWriter out=null;
out.println("<Html><Body>the entrie html code</Body></Html>");
or must I input in this form?-
out.println("<html>");
out.println("<Body>");
out.println("<The entire html code>");
out.println("</Body>");
out.println("</Html>");
Does it really make a difference?
I would also like to know it is possible to retrive data from a database and (via servlet) input the list of data into the combo-box of an html Webpage.
Thank you very much for your assistance.Kindly acknowledge receipt.
Yours sincerely,
Aeshan
PS- I'll send more information soonYour answers are yes ...and yes.
But don't use:
PrintWriter out=null;
Use:
PrintWriter out = response.getWriter();
Usually the println() method is used to make both the servlet source code ...as well as the html it generates ...a little nicer to read. This may or may not be important to you, but may matter to your employer and those who maintain your code in the future. -
Problem in html:link tag
i have written one small programme in Struts application please solve this problem
code is
======
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<html:html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title><bean:message key="app.title" /></title>
</head>
<body topmargin="0" leftmargin="0" bgcolor="#FFFFFF">
<h2 align="center"><b><i><font size="6" face="Comic Sans MS" color="#FF0000">Welcome
page</font></i></b></h2>
<p> </p>
<html:errors/>
<html:form action="login.do" >
<p align="center"><font face="Arial Black" size="4"><bean:message key="app.username" /> :<html:text property="username" /></font></p>
<p align="center"><font face="Arial Black" size="4"><bean:message key="app.password" />:<html:password property="password"/></font></p>
<p align="center"><font face="Arial Black" size="4"><html:submit property="login"/><html:reset property="Clear" /></font></p>
<p align="center"><font face="Arial Black" size="4"><bean:message key="app.newuser"/>:
</html:form>
<html:link href="registration_form.jsp">Register</html:link></font></p>
</body>
</html:html>
In this above programe i have used two ActionForm class one for LoginForm and another is RegisterForm..
in this welcome page it requires
username
password
if a new user he wants to fill register form
so the problem in the above code when iam pressing REGISTER link it will shown the follwing errors
javax.servlet.jsp.JspException: Cannot find bean null in any scope
at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:938)
at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:274)
at jsp_servlet.__registration_form._jspService(__registration_form.java:164)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:445)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
>
please solve it
thanks adavancei have writen ACtionForm classes for welcome.jsp and registration_form.jsp..
can u give good idea how can use to links from page to diffent pages..
i mean here my aim is if it is new user he wants to enter registration_form.jsp and if it existing user directly he has login and username in welcome.jsp only and he has to enter into Inbox..please give some guidelines on this one
thanking u -
Problem in html:link tag in struts
hi every body i have a problem i have to pass two dynamic variable to next page using html:link tag how can i send it
for example
<a href = "editEmp.jsp?id=<%= empSno %>&&delete=no"> Edit </a>
should be coverted into <html:link >and i want to pass 2 parameters to next page how can i do can anybody helpi have used forward only but how to passs variable dynamically in forward for eaxmpleeee
i am retreving records from database
emdID name desig
1 suresh PM edit
2 ram PL edit
when user clecks on link of edit of suresh then i should pass controll to edit page with his empID an parameter............
i have done this prevoiusly by href tag like
while (rst.next()) { %>
<tr>
<% empSno = rst.getInt ("ID");%>
<td align = "left"><%= empSno %></td>
<td align = "left"><%= rst.getString ("empno") %></td>
<td align = "left"><%= rst.getString ("empname") %></td>
<td align = "left"><%= rst.getString ("desig") %></td>
<td><a href = "strutsEx/ch05/editEmp.jsp?id=<%= empSno %>&&delete=no"> Edit </a>    <a href = "editEmp.jsp?id=<%= empSno %>&&delete=yes"> Delete </a>
</td>
</tr>
now i want to use html:link action in place of HREF can u help me plzzzzzzzzzz -
Having problems passing more than one parameter with html:link tag
Hi guys,
for my web application I�m using Struts. I�ve got a database with user details. I would like to get users list and link to the details of each user. I wrote the code and everything is working fine only the users list is repeating as many times as users in the list.
For ex: I have in the database User1, User2 and User3. I would like to have a result like:
User1
User2
User3
Instead of it I have the result like:
User1
User2
User3
User1
User2
User3
User1
User2
User3
What I�m doing wrong? Could somebody help me please?
Thank you in advance
There is a snippet of the code, which I�m using in jsp:
<code>
<logic:iterate id="root" name="user">
<%
java.util.HashMap users = new java.util.HashMap();
params.put("user",root);
pageContext.setAttribute("usersName", users);
%>
<html:link name=" usersName " scope="page" page="/name.do">
<logic:iterate id="folder" name="user">
<bean:write name="folder" /><br>
</logic:iterate>
</html:link><br>
</logic:iterate>
</code>Suggestion: next time you post code use the "CODE" button to put code tags around it. It formats much nicer that way :-)
You have a nested loop structure here.
<logic:iterate id="root" name="user">
<%
java.util.HashMap users = new java.util.HashMap();
params.put("user",root);
pageContext.setAttribute("usersName", users);
%>
<html:link name=" usersName " scope="page" page="/name.do">
<logic:iterate id="folder" name="user">
<bean:write name="folder" /><br>
</logic:iterate>
</html:link><br>
</logic:iterate>Both loops iterate over your "user".
Your first loop loops over each user.
Then your second loop also loops over each user - hence you get number of users * number of users = 3 groups of 3.
If you have 4 users, you would have 4 groups of 4.
I only see you setting one parameter: "usersName" What other parameters do you need to pass?
At a guess, the inner loop is unnecessary, and you want to write the users name as the text for the link, and also use it as a link parameter.
<logic:iterate id="root" name="user">
<%
java.util.HashMap users = new java.util.HashMap();
params.put("user",root);
pageContext.setAttribute("usersName", users);
%>
<html:link name="usersName" scope="page" page="/name.do">
<bean:write name="user" /><br>
</html:link><br>
</logic:iterate> -
What is data format "Hypertext Link" in column properties??
Hi,
What is data format "Hypertext Link" in column properties? How to use it?
Can I use column value to navigate to other report without using "Value Interaction" in column properties.By changing the data format to say HTML, or Hypertext link, you can add HTML content/HTML tags within the column formula.
You can create a column formula that would resolve into a dynamic hyperlink and pass parameters by using Go Url. Check out Chapter 11 in the Oracle® Business Intelligence Presentation Services Administration Guide
Check out an example:
Re: Dyanmic display of the Image Link URL
Search the forum as well for several similar examples. -
Html link not visible as table header in jsp
Hi,
I am not sure if this question belongs to JSP forum, since it's happening in JSP page I am posting it here.
I am seeing this strange problem, in my JSP page all the link are looking fine except some links in Table header. Here is the code snippet:
<th align="left" width="30%"><html:link action="/myAction.do?sortBy=org&all=${param.all}">Organization Name</html:link></th>
ENV is struts, jstl, html.
Now the problem is the text Organization Name is not visible, although it's there and I can click it. If I click and drag mouse over it I can see it.
Also if I put this link anywhere else e.g. <TD> I can see it.
I am not sure why it's happening.
Please help me.
AbhishekSounds like a style issue - is it the same colour as the background for some reason?
What styles have you got applied to your <th> columns? The text in them?
Are you using css? -
HTML links in Vibe Feed and digest e-mails do not work on GW 8.0.3client
I have GroupWise 8.0.3hp1 on NetWare 6.5.8 and a Vibe 3.3 install on
SUSE 11 (the downloadable Vibe demo virtual machine from Novell's site).
I have recently started upgrading GroupWise clients on Windows 7 PCs
(64bit), and have been testing Vibe. I have run into a problem with
HTML links in GW clients not working on PCs where the GW client has been
upgraded.
This problem occurs using the GroupWise 8.0.3hp2 and 8.0.3hp3 clients,
but does not occur on a 8.0.2hp2 client, so it appears to be GroupWise
client related. I haven't tested any other client versions.
1. When using the GW 8.0.3 client, if I select any of the "Novell Vibe
OnPrem", "Favorites", or "My Teams" folders, I can see the Vibe Feed
display showing entries for sites I'm following. But clicking on the
links in these entries does nothing, so I cannot use the Vibe Feed to go
directly to files, profiles, etc. The same Vibe Feed links from the
Vibe web browser interface or from a GW8.0.2hp2 client works fine.
2. If I have e-mail digest notifications setup to let me know when
changes are made to a folder or file in Vibe, the e-mails are delivered
to me just fine. But once again, none of the links in the e-mails work
when using the GW8.0.3 client. Clicking on them does nothing. If I
look at the e-mail message source, I can copy-and-paste the URLs
directly into a browser and they work fine, so the URLs themselves are
correct. Again, these links work fine if I use the GroupWise WebAccess
or a GW8.0.2hp2 client.
Is the GW 8.0.3 client is blocking these HTML links? I receive no
notification from the client asking whether to "unblock" any
links/scripts/images when viewing messages with these Vibe links.
Any suggestions for getting these to work on GW 8.0.3 client?
Thanks,
-Greg
former e-mail for posting:
[email protected]Greg,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://forums.novell.com/ -
Performance issue due to column formula and filters
Hi,
I am facing strange issue with performance for my OBIEE reports. I have two sets of reports Static and Dynamic. Both runs against same tables. The only difference between these reports is that the Static reports would run against all the data for given aggregation level e.g. Year, Month, Date and so on. Where as for Dynamic one I have range prompts to filter data. Other difference is that I have a column formula for one of the column in the Dynamic report, which is nothing but Go URL to show another page with certain parameters.
The static report takes around 14-15 Seconds where as the Dynamic one takes around 3.5 min. The amount of data and range is same here. From the logs I could see that for the Static reports, i.e. reports without filters it applys group by at SQL level where as it is not doing so for the dynamic one. Is this expected ?
Second issue is, even if I say remove the filters and just have report with column formula in one and no formula in other there is significant time difference in the processing at Presentation service layer. Again this is taken from the log. it takes 8 second to get data from DB but shows almost 218 Seconds as response time at Presentation layer.
Below are conceptual details about table and reports -
Table 1 (It is date dimension) : Date_Dim
DateCode Date
Day Number
MonthCode Varchar2
YearCode Varchar2
Table 2 (It is aggregate table at year level) : Year_Aggr
DateCode Date (FK to Table1 above)
Measure1
Measure2
Measure3
Measure4
Measure5
Report 1
Date_Dim.YearCode | Year_Aggr.Measure1 | Year_Aggr.Measure2 | Year_Aggr.Measure3 | Year_Aggr.Measure4
Report 2
Dashboard Filter : Dimension1 | Dimension2 | Year Start | Year End |
Date_Dim.YearCode | Year_Aggr.Measure1 | Year_Aggr.Measure2 | Year_Aggr.Measure3 | Year_Aggr.Measure4
Column formula for Date_Dim.YearCode is something like :
'<a href="saw.dll?Dashboard&PortalPath=somepath and parameters target=_self>' || Date Dim"."YearCode" || '</a">'
Filters :
Dimension1 is prompted...
Dimension2 is prompted...
cast("Date Dim"."YearCode" as Int) is greater than or equal to @{Start_Year}
cast("Date Dim"."YearCode" as Int) is greater than or equal to @{End_Year}
Note : I need to apply cast to int as column is varchar2, legacy problem.+
How can I fix this? Am I missing something? In the result of report2 the DB SQL doesn't show the year in where thought it is displayed in the logical sql.
Let me know if anybody had faced this and have fixed. Or suggetion to make changes to fix this.
Thannks,
Ritesh</a>Hi Ritesh,
I think you right about the root cause of your problem. The first request does the group by in the database which returns fewer records to the BI Server for processing. The second request does not do the group by and sends significantly more records back to the BI server forcing it to do the group by. Compound that with the fact that pivot table views are relatively expensive computationally and that explains the difference between the execution times.
Assuming that the execution time of the first report is satisfactory, I would recommend you try to experiment with a few settings to see if you can get the second report to do the group by in the database.
Are the two filters identical except for the following conditions?
cast("Date Dim"."YearCode" as Int) is greater than or equal to @{Start_Year}
cast("Date Dim"."YearCode" as Int) is greater than or equal to @{End_Year}
Best regards,
-Joe
Maybe you are looking for
-
Best way to work with .png files for print
My client suppllied 100 color .png files (screen captures), about 1700 pixels wide for his book. I opened one with Photoshop, saved as Tiff, converted to Grayscale, cropped to 300 dpi and placed in InDesign, but the InDesign file size is almost 2mb.
-
How can I get rid of cache files?
Premiere Pro, can't find cache files on Mac, not in the common folder, clean doesn't work, I know there are Gigs of them on my drive. How can I get rid of them? I started a premiere project I had worked on before using an external drive but forgot t
-
Web page composer maximize button
How to use maximize / minimize button on wpc page ? I have created a new page and added multiple pcd iviews on the page but not sure how to put the expand/collapse button to maximize the iviews. On a pcd page properties the expand / collapse button c
-
Injecting a bean in another bean in EJB3?
Hello all, I am trying to inject a bean in another bean, then making a JUnit test for the parent bean. The problem is that it is displaying a nullpointerexception. Is the way of injection of a bean in another bean different from injecting a bean in J
-
Ethernet Port on QIP 6100-1 STB
Is the ethernet port on the QIP 6100-1 active for connecting to the internet? LeeMobile