How to include HTML link in BI Publisher Report?
Hi,
I am trying to include an HTML link in a BI Publisher report. But I get the HTML Code, not the link.
I have put this in the Data Set SQL Query:
select id_constancia, rfc, apellido_paterno, apellido_materno, nombre, e_mail_empleado,
'a href="http://dbxserver.dbxprts.com:7778/pls/apex/f?p=134:1:::NO::P1_ID_CONSTANCIA:'||ID_CONSTANCIA||'">CITA</a ' as liga_cita
from geiq_constancias
where entregada = '0' and sust_rh = '0'
And I have included the field LIGA_CITA in the rtf template,
But I get this in the HTML output:
=======
Please clic on the link below to log into the system:
a href="http://dbxserver.dbxprts.com:7778/pls/apex/f?p=134:1:::NO::P1_ID_CONSTANCIA:1183">CITA</a
=========
(I removed the beginning and ending '<''>' to prevent the text to be shown as a link)
I have put the property "Make HTML output accessible" to TRUE in the report configuration, but nothing changes.
Does anyone know how to make this work?
Thanks.
Francisco
Hi Francisco,
Note:
your xml should only have
<URL>http://dbxserver.dbxprts.com:7778/pls/apex/f?p=134:1:::NO::P1_ID_CONSTANCIA:1183</URL>
Show me your sample XML , i can help you.
What is your expected output ? PDF or HTML ?
here it is.
option1:
If the XML data includes an element that contains a hyperlink , then you can use that element to create dynamic hyperlinks at runtime.
a. insert hyperlink from word menu
b. In the Type the file or Web page name field of the Insert Hyperlink dialog box, enter the following syntax:
c. {ELEMENT_NAME_WHICH_HAS_URL_LINK}
where ELEMENT_NAME_WHICH_HAS_URL_LINK is the xml data element name
option2:
create a form field, you can add it
<fo:basic-link external-destination="http://www.google..com">
<fo:inline text-decoration="underline">google Link</fo:inline>
</fo:basic-link>
or
<fo:basic-link external-destination="{ELEMENT_NAME}">
<fo:inline text-decoration="underline">google Link</fo:inline>
</fo:basic-link>
or
<fo:basic-link>
<xsl:attribute name="external-destination"><xsl:value-of select="ELEMENT_URL"/>
</xsl:attribute>
<xsl:value-of select="LINK_NAME"/>
</fo:basic-link>
Similar Messages
-
How to include html page or html code in adobeflex 4 web application please give me a solution.
Thank you
Chandra Sekharhi,
go thru this link, may be of some help for you
About IFrames
http://www.deitte.com/archives/2006/08/finally_updated.htm
IFrame Src
http://code.google.com/p/flex-iframe/
About the IFrame Approach
http://www.deitte.com/archives/2008/07/dont_use_iframe.htm -
How to include HTML page on a screen
Hi,
How to include HTML page on a module-pool screen. i want to handle hyperlinks on that page. how ca n i do that?....plz send me reply vvvery fastHi Amarnath,
1. RSDEMO_HTML_VIEWER
Check the above program.
Regards,
Amit M. -
How to display username in RTF BI publisher report?
Please advice how to display username in RTF BI publisher report?
May be this can be done via hidden parameter of BIP report which default value will be set up with macro like {$username$} (or smth like)?
Thanks in advance!Thanks. That worked. I was trying to get it as part of a multi-table query, aliasing dual. But that doesn't work in SQL Plus either so I guess I can't do that.
I was trying
select o.*, d.:xdo_user_name
from oblix_audit_events o, dual d
Before that I was trying
select
:xdo_user_name as USER_ID,
:xdo_user_roles as USER_ROLES,
:xdo_user_report_oracle_lang as REPORT_LANGUAGE,
:xdo_user_report_locale as REPORT_LOCALE,
:xdo_user_ui_oracle_lang as UI_LANGUAGE,
:xdo_user_ui_locale as UI_LOCALE
from dual
but I must have fat fingered something because that works now too. Thanks.
So if I need to do this in it's own query and I'm using an RTF template, how do I make that work?
If I have to do it with it's own -
How to handle format trigger in bi publisher report
Hi all,
anyone have idea how to handle format trigger in bi publisher report....
also if someone will illustrate the how exactly we use the triggers in bi publisher reports.
regards
RatneshHi,
there's no direct support for the format triggers out of Oracle Reports. Therefore they are mentioned in the log file and in the created layout after conversion the objects with format triggers are colored red to show, that there you had to do some additional work.
Currently you had to built the logic of format triggers in BI Publisher new. Hve a look in the User Guide, there are some examples for if or choose statements.
regards
Rainer -
How to include any enhancement on characterstics in reporting level
how to include any enhancement on characterstics in reporting level
What does this mean? Plz expalin i abit more.
Thanks..
Shambhu -
How to use html:link in Ajax
Hi frnds,
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@page import="java.sql.*" %>
<html>
<head>
<script type="text/javascript">
var xmlhttp;
function loadXMLDoc()
xmlhttp=null;
alert(document.getElementById('country').value);
alert(document.getElementById('url').value);
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
url=document.getElementById('url').value+"action=search&q="+document.getElementById('country').value+"&scope=tracker";
xmlhttp.onreadystatechange=onResponse;
xmlhttp.open("POST",url,true,"platts","platts1234");
xmlhttp.send("");
function onResponse()
if(xmlhttp.readyState!=4) return;
if(xmlhttp.status!=200)
alert("Problem retrieving XML data: "+xmlhttp.statusText);
return;
y=xmlhttp.responseXML.documentElement.getElementsByTagName("response");
alert(y.value);
//alert(xmlhttp.statusText);
txt="<div style='overflow:auto;height:400px;width=1200px' align='top'>";
txt=txt+"<table border='1' style='border-collapse: collapse' bordercolor='#111111' width='100%'>";
txt=txt+"<tr bgcolor='#D3D3D3'>";
txt=txt+"<th width='5%'> </th>";
txt=txt+"<th width='10%'>UID</th>";
txt=txt+"<th width='7%'>PUBLICATION</th>";
txt=txt+"<th width='10%'>INFRASTRUCTURE</th>";
txt=txt+"<th width='10%'>PROJECT</th>";
txt=txt+"<th width='10%'>STATUS</th>";
txt=txt+"<th width='10%'>CAPACITY</th>";
txt=txt+"<th width='10%'>STARTUP</th>";
txt=txt+"<th width='28%'>NOTES</th>";
txt=txt+"</tr>";
x=xmlhttp.responseXML.documentElement.getElementsByTagName("tracked-item");
for (i=0;i<x.length;i++)
txt=txt + "<tr bgcolor='white'>";
txt=txt+ '<td width="5%"><html:link action="Unpub" name="lng" property="uri"><img src="./images/Unpub.png" height="16" width="16" border="0" title="UnPublished Icon">';
xx=x.getElementsByTagName("uri");
document.getElementById('uri').value=xx[0].firstChild.nodeValue;
try
txt=txt + "<td width='10%'><input type='text' name='uri' value="+ xx[0].firstChild.nodeValue +">" + xx[0].firstChild.nodeValue + "</td>";
catch (er)
txt=txt + "<td width='10%'> </td>";
txt=txt+'</html:link>';
xx=x[i].getElementsByTagName("Publication");
try
txt=txt + "<td width='7%'>" + xx[0].firstChild.nodeValue + "</td>";
catch (er)
txt=txt + "<td width='7%'> </td>";
xx=x[i].getElementsByTagName("infraStructure");
try
txt=txt + "<td width='10%'>" + xx[0].firstChild.nodeValue + "</td>";
catch (er)
txt=txt + "<td width='10%'> </td>";
xx=x[i].getElementsByTagName("project");
try
txt=txt + "<td width='10%'>" + xx[0].firstChild.nodeValue + "</td>";
catch (er)
txt=txt + "<td width='10%'> </td>";
xx=x[i].getElementsByTagName("status");
try
txt=txt + "<td width='10%'>" + xx[0].firstChild.nodeValue + "</td>";
catch (er)
txt=txt + "<td width='10%'> </td>";
xx=x[i].getElementsByTagName("capacity");
try
txt=txt + "<td width='10%'>" + xx[0].firstChild.nodeValue + "</td>";
catch (er)
txt=txt + "<td width='10%'> </td>";
xx=x[i].getElementsByTagName("startup");
try
txt=txt + "<td width='10%'>" + xx[0].firstChild.nodeValue + "</td>";
catch (er)
txt=txt + "<td width='10%'> </td>";
xx=x[i].getElementsByTagName("notes");
try
txt=txt + "<td width='28%'>" + xx[0].firstChild.nodeValue + "</td>";
catch (er)
txt=txt + "<td width='28%'> </td>";
txt=txt + "</tr>";
txt=txt+ "</table>";
txt=txt+ "</div>";
document.getElementById('tab').innerHTML=txt;
</script>
</head>
<body onload="loadXMLDoc()" bgcolor="#D8D8BF" >
<html:form action="Unpub" styleId="searchForm">
<%@ include file="header.jsp" %>
<img src="./images/Unpub.png" height="16" width="16"/> --> Unpublished Data
<br><br><br><br>
<html:hidden property="country" name="lng"/>
<html:hidden property="uri" name="lng"/>
<html:text property="uri" name="lng"/>
<input type="hidden" id="url" value='<%=application.getInitParameter("url")%>'>
<div style="overflow:auto;height:400px" align="top">
<div id="tab"></div>
</div>
</html:form>
</body>
</html>
Here is my code.... my intension is ... when i click the <html:link> which is there in the script i want to get the corresponding rows 'uri'. and that uri i need to pass to the bean.
Here in this case my problem is which ever icon i press i'm able to get the last uri
for ex:- if there are 10 records displayed in tabular format. if i press any icon i'm getting only the 10th uri....
So, kindly please help me to sort out this problem.Hi Gobinath,
Please check the below similar links
How to display a HTML Page in Webdynpro (without IFrame)?
can i embed an html page in the webdynpro
HTML Editor in WebDynpro
How to connect to a html using webdynpro
Hope that helps
regards
Anil
Message was edited by:
Armin Reichert -
Is there a way to include html link with applet?
I am thinking of writing an applet that would be useful to others, which I would provide for free. In return I would want a link from the pages that use the applet. It is important that the link is search engine friendly, a pure href html link that will provide google page rank to me.
Is there a way to include such a link with an applet so that it can't be removed?No. You can't force other sites to change their content.
-
How to Include html tag in xml
Hi,
Is there any way to include html tags in xml?
For Example, I'm using xsl to get the value of FIELD_1 from fetch.xml
In fetch.xml, I have the tag
<FIELD_1>
<font color='#8080ff'> <font face='Times New Roman, Times' size='28'>Testing font and color</font></font>
</FIELD_1>
But If I tried to read the value from xsl like <xsl:value-of select="FIELD_1"/> I'm just gettig the display 'Testing font and color' without the specified font and color....
How to achieve this?
Thanks
Selva.Hi,
Thanks for the input.
I tried with the below code
<fo:block space-after="5mm" font-family="Arial"><xsl:copy-of select="FIELD_1"/></fo:block>
But I'm getting the below error...
"An invalid XML character (Unicode: 0xa0) was found in the element content of the document."
Below is the code included in the xsl....
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="Values"><fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="simpleA4" page-height="29.7cm" page-width="21cm" margin-top="3cm" margin-bottom="2cm" margin-left="2cm" margin-right="2cm">
<fo:region-body/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="simpleA4">
<fo:flow flow-name="xsl-region-body">
<fo:block space-after="5mm" font-family="Arial"><xsl:copy-of select="FIELD_1"/></fo:block>
</fo:flow> </fo:page-sequence> </fo:root> </xsl:template></xsl:stylesheet>
Is there any mistakes in the above code?
Regards,
Selva. -
How to send HTML link in the email through BRFplus
Hi All,
I want to send an HTML link embedded into the email body , as shown below.
Hello Friends,
Please find below path for error occurred during triggering of materials.
Http://documents/error/doc.htm
Thanks & Regards
Khushbu
And when the user clicks on the HTML link , it should directly take user to the browser.
Kindly suggest how to implement this functionality.
Regards,
KhushbuI have tried using HTML code for writing the email body, but its not working.Its not converting HTML code , its taking them as characters only.I know how pass HTML link in email from ABAP but here email are sent from SEND email action of BRFplus.
-
How to include HTML file in JSP using HTML elements or Javascript?
Hi,
I have around 15000 static html files one for each item which we display each upon invoking an item.The HTML file should be part of a JSP file.
Please note that the name of the HTML file is determined dynamically
Placing all the HTML files within the web application does not give us good performance so i would like to put all of them in the webserver.
I am not able to include the file in the JSP using the jsp:include attribute if i place the HTML files in the webserver ,
in order to do that i think should use either HTML element or javascript to include the HTML in the JSP.is there any alternative to <Jsp:include>
Does anyone have an idea how to include the HTML file and take advan tage of webserver?
Any ideas are appreciatedWhat you need to do is simply read the HTML file from the disk and dump it out to the outputstream. It really is that simple.
There's no reason you need to include all 15000 files in the actual WAR, you can place those files any place handy that is easy for the application to see (in another directory, or accessible from a file server if you have multiple front ends).
Then, just write a utiility function that takes the output stream (i.e. the 'out' JSP variable), and the file name, read the file, and write it to the stream.
If you start noticing performance issues, then you can try doing some caching, but truth is your OS should be doing that for you.
But, truth be told that's the only practical way to do it.
Another solution would be to use JavaScriipt and XMLHttpRequest (i.e "AJAX") to load the file at the client side, and simply replace a tag with the results.
That's also pretty trivial to write, any web site talking about AJAX should give you hint there.
Of course, that won't work for folks who have JavaScript turned off, or some other incompatible browser, whereas the server side solution obviously works everywhere. -
How to include html files in another html files?
Hello,
I am wondering if there is any way of including content (html code) inside another html page..
I've tried:
- iframe - it's working fine but IE7 doesn;t like it.
I am looking for something similar with:
- Server Site Include <!--#include virtual="/directory/included.html" -->
but without to have to change the portal settings.
Any idea?
Thank you
AncaHI did u try using the omniportlet? on Portlet builders
-
How to include Material Cost in the SD report
Hi,
I am working on Cube 0SD_C03 for the Sales and Distribution Report "Sales Contribution - Product Wise u2013 KPI" where I have to show the following information which are given below.
1. Total Sales Qty.
2. Total Sales Value
3. Total Material Cost
For third one I do not know how to include this in this SD report.
so please tell me about this if anybody has idea about this?Hi Francisco,
Note:
your xml should only have
<URL>http://dbxserver.dbxprts.com:7778/pls/apex/f?p=134:1:::NO::P1_ID_CONSTANCIA:1183</URL>
Show me your sample XML , i can help you.
What is your expected output ? PDF or HTML ?
here it is.
option1:
If the XML data includes an element that contains a hyperlink , then you can use that element to create dynamic hyperlinks at runtime.
a. insert hyperlink from word menu
b. In the Type the file or Web page name field of the Insert Hyperlink dialog box, enter the following syntax:
c. {ELEMENT_NAME_WHICH_HAS_URL_LINK}
where ELEMENT_NAME_WHICH_HAS_URL_LINK is the xml data element name
option2:
create a form field, you can add it
<fo:basic-link external-destination="http://www.google..com">
<fo:inline text-decoration="underline">google Link</fo:inline>
</fo:basic-link>
or
<fo:basic-link external-destination="{ELEMENT_NAME}">
<fo:inline text-decoration="underline">google Link</fo:inline>
</fo:basic-link>
or
<fo:basic-link>
<xsl:attribute name="external-destination"><xsl:value-of select="ELEMENT_URL"/>
</xsl:attribute>
<xsl:value-of select="LINK_NAME"/>
</fo:basic-link> -
Link to BI Publisher report with parameters
I want to link from one BIP report to another. I have created a BI Publisher report using the Layout Editor. Using the following link, I can connect to the BIP report when directly pasted into the address bar in firefox.
http://xxxxxxxxx/xmlpserver/Sample Reports/Developmment_ML/Report_Fin_Ledger_MN.xdo?_xpf=&_xpt=0&_xdo=%2FSample%20Reports%2FDevelopmment_ML%2FReport_Fin_Ledger_MN.xdo&_xmode=&_paramsCompany=00050&_xt=LO_Fin_Account_Ledger_02&_xf=html&_xautorun=true
Note: I obtained the syntax for this link by viewing the target report and selecting Actions --> Share Report Link
I created a second BI Publisher report using the Layout Editor. Within the Layout Editor, I modify the Properties of one of the fields. In the box next to "URL", I past the same link as above.
However, when I view the report in HTML format, the link truncates anything after the first xdo to only return:
http://xxxxxxxxx/xmlpserver/Sample Reports/Developmment_ML/Report_Fin_Ledger_MN.xdo
As a result it does not pass the parameter value and run the report.
Any assistance would be helpful. Thanks!Hi,
I found a way to do this using javascript in "HTML Header" in the Page section of an APEX Page
<script type="text/javascript">
function invokeURL()
var parameterId = document.getElementById("P2_PARAMETER").value;
alert ("hello "+objectiveId);
var url =
"http://xxhost:port/xmlpserver/XXFOLDER_NAME/xxxx_test_report2.2/xxxx_test_report2.2.xdo?_xpf=&_xpt=0&_xdo=%2XXXX_XXX%2Fxxxx_test_report2.2%2Fxxxx_test_report2.2.xdo&G_PARAMETER_NAME="+parameterId+"&_xt=defaultlayout&_xf=pdf&_xmode=2";
window.open(url);
</script>
This can invoked in a button by passing "javascript:invokeURL();" to the "Optional URL Redirect" section.
Thanks
Yogi
Edited by: Yogi on Aug 26, 2010 11:14 AM
Edited by: Yogi on Feb 4, 2013 10:51 AM -
Inserting a link to BI Publisher report and passing the dashboard prompts
I have an answers dashboard where there are various prompts (say P1, P2, P3, P4 -all these are date prompts )and various reports.
These Prompts are stored as Presentation variable say var1, var2, var3, var4.
I need to insert a Link on this page to a BI Publisher Report. BI Publisher report also has some prompts say D1, D2, D3 , D4, D5, D6
The link should take the values from the prompts of this page and open the BI Publisher report with D1= value of Prompt P1,
D2= value of prompt P2, D3= value of Prompt P3, and D4= value of Prompt P4.
I was easily able to use an action link -> "Navigate to Web Page" option. I gave the URL for this BI Publisher report and clicking on that link takes me to the report.
But I am still figuring out out to send the values of the prompts.
The BI Publisher Report is :
- built from an RTF template.
- uses a SQL Query with Bind variables to get the value of its prompts D1, D2, D3, D4, D5, D6.
- Suppose D1 is bind variable :date1, D2 is bind variable :date2, D3 is bind variable :date3 and D4 is bind variable :dat4.
So my first try was to append the value of bind variable to the URL
https://xxname.server.com/analytics/saw.dll?bipublisherEntry&Action=open&itemType=.xdo&bipPath=%2FSurvey%2FPhoneCount%20Record.xdo&path=%2Fshared%2FSurvey%2FPhoneCount%20Record.xdo.xdo&date1=var1
Can someone suggest the steps I need to take to make this work.
ThanksHi, I am facing the same issue (OBIEE 11g version0
Please let me know if you found any solution or workaround for this?
Thanks!!
Maybe you are looking for
-
ITunes no longer recognizes my 3rd gen or 5th gen Nano.
Constant restore, uninstall/reinstall, etc. Nothing working! Windows 7 operating system. All was fine before latest iTunes update Mon. 11/11.
-
How to overide Slider a function ?
Hi, I'm trying to override a slider function, but I get an error : "Namespace was not found or is not a compile-time constant: Code: // ActionScript file package { import mx.controls.sliderClasses.Slider; import mx.core.UIComponent; use name
-
Calling IP planning sequence several times
Hi Experts, we are trying to start a IP planning sequence n-times throughout an ABAP report which is located in a process chain. In the planning sequence a function from type distribution is located which should distribute line of business nodes to
-
After updating to Yosemite brush stops / lags
After updating to Yosemite whenever I am using brush or the eraser tool it stops or lags (I am not sure what to call it). What happens is I can't hit any other shortcuts keys like "[ ]" for increasing the brush size and even changing tools like press
-
Need more help, please.
OKay, here are my questions: Can you delete songs already loaded on iPod? If so, how? I am trying to purchase a song and the song is showing in the list and has been purchased, but it has an orange and white spinning arrow beside it that has been spi