Sitemap

Amicuk Programming Answers

Relative path for images in RTF templates

2015-10-11   Views:13

Advertisement

Hi everybody! When I insert an image in a RTF template, I put its path into the web dialog, in order to see correctly the picture when I open the report from the xmlp server, in this way: url:{"http://servername/analytics/res/Images/image.bmp"}

Hi everybody!
When I insert an image in a RTF template, I put its path into the web dialog, in order to see correctly the picture when I open the report from the xmlp server, in this way: url:{"http://servername/analytics/res/Images/image.bmp"}
How can I make this path relative, in order to see the images even if the server name changes?
Thanks so!
Francesco

The replay answer
Advertisement
Hi Tim,
I am using BIP 10.1.3.3.2. I am able to access system variable CURRENT_SERVER URL.
Steps:
<[email protected]:CURRENT_SERVER_URL?>
<xsl:value-of select="$ CURRENT_SERVER_URL"/>
CURRENT_SERVER_URL is getting printed in BI Publisher. Value displayed is http://xx4697.xxx.co.in:9704/xmlpserver.
Now we are importing xsl into RTF template. File aaa.xsl is stored at [BIP_Installation_Directory\oc4j_bi\j2ee\home\default-web-app]
We have hardcoded the path for XSL in RTF. The path is <?import: http://xx4697.xxx.co.in:9704/aaa.xsl?>
As we want to set dynamic path we changed hardcoded xsl path to <?import: {$CURRENT_SERVER_URL}/../aaa.xsl?> but it is not working. Sometimes BIP is taking local path of MyDocuments folder and sometimes Desktop path. If I put that XSL file in MyDocuments folder or Desktop, it is working fine. But ideally it should refer [BIP_Installation_Directory\oc4j_bi\j2ee\home\default-web-app] path...
Thanks,
Amit D

Go to See the other 5 answers

Relative path for images in RTF templates

Category:DefaultRelease time:2015-10-11Views:130

Hi everybody! When I insert an image in a RTF template, I put its path into the web dialog, in order to see correctly the picture when I open the report from the xmlp server, in this way: url:{"http://servername/analytics/res/Images/image.bmp"}[More]

Relative path of XSL in RTF

Category:DefaultRelease time:2015-10-11Views:130

Hello, I want to use common xsl file in RTF template. I will hardcode the path of the xsl file. Path should be relative path. Can anyone tell me how can I import xsl file into RTF template using relative path. e.g relative path may be BIP web cerver[More]

PA_CONTRACT_XSLFO: How to invoke a RTF-template with related data template

Category:DefaultRelease time:2015-10-11Views:130

Dear Reader, actually I want to extend the standard Document Type Layout for a Purchase Agreement Contract with additional data from approved supplier list (ASL). Therefor I have created a RTF-template and a data template with the needed sql-statemen[More]

Absolute/Relative Path for elements in xml to rtf template.

Category:DefaultRelease time:2015-10-11Views:130

Hi all, I have a small doubt, can anyone help me come out of this issue. I developed a BI Publisher Report using RTF Template and I am addressing XML elements which are out of the group in the XML file inside the for loop in the RTF template. I am ab[More]

How to migrate rtf Templates in XML Publisher ?

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I want the script so that i can download and upload the RTF files directly from my development instance to my production instance. For this i have come across 3 links How to migrate rtf Templates in XML Publisher? http://download.oracle.com/d[More]

Shared Folder Images in RTF Template?

Category:DefaultRelease time:2015-10-11Views:130

Hi, how to use images which are in shared folders like *\\\\path\\Trademarks\\test.jpg* into RTF templates? url:{} works only for http links and doesn't work for shared path. I need to have dynamic images, we have a logic in query that would give us[More]

Generating a report from RTF template using WSDL from ADF

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am a newbie to ADF-BIP integration. I am using the wsdl http://<<ip>>:<<port>>/xmlpserver/services/PublicReportService?WSDL for generating a report from RTF Template in ADF. We are using Oracle Business Intelligence Publisher[More]

How Can I apply a RTF Function on a variable in RTF Template in XML Publisher Report

Category:DefaultRelease time:2015-10-11Views:130

Hi Everyone, I am developing a RTF Template of XML Publisher Report, I have a variable lv_counter which I can declare using below syntax <?xdoxslt: set_variable($_XDOCTX, 'lv_counter',0)?> I can access this variable in the template as <?xdoxslt:[More]

XML Publisher errors with pdf template workd perfectly with rtf template

Category:DefaultRelease time:2015-10-11Views:130

Hi there, I hope you are well. I am having a problem with pdf templates in XML publisher. I have a report which outputs XML, this works very well with an rtf template. However I am trying to create a pdf xml publisher template (using the concurrent p[More]

Best approach -To create RTF template having more than 50 tables.

Category:DefaultRelease time:2015-10-11Views:130

Hi All, Need your help.I am new to BI publisher. Currently we are using BIP 11g. I want to develop.rtf template having lots of layout and images. Data is coming from different tables (example : pulling from around 40 tables). When i tried to pull dat[More]

How to mention a  Relative path in a java file

Category:DefaultRelease time:2015-10-11Views:130

How to mention the relative path of the file in fileinputstream? The directory structure is as follows,Inside the **model** folder i have a java file called GetContents.java I need to refer the input.xls file inside the template folder in GetContents[More]

Hot
The website target is dropbox.com. One can access a saved pdf file directly using the format: dropbox.com/u/1536975/Schedule_2011.pdf where the all numeric is a filename. This worked from version 3.6.3 but not in 7.0.1 . When l try to launch the URL, [More]
The following phenomen is interesting: I have a logo's folder which may contain gif images. I want to add an image dynamically on my JSP whenever an image is available in this folder using the following code: public boolean checkLogo() { PublicObject [More]
I read some on this forum and not sure what I suppose to do to compress from FCP to SD DVD. Can you tell me what is the steps on compressor. It will be show on theatre screen (not hollywood type). FCP compression setting? Compressor setting?You could [More]
If you're on a domain why not set the Group Policy for this? If you're not on a domain, it should be possible with a local policy.We have an updated parent image which is now WIN7 64 Bit and the old was WIN7 32 bit, the only difference far as i can t [More]
hi can any one post about trend report with some exampleHi  Afzal, The trend reports are nothing but higher management people observes the trend of lets say Sales actual,Financial Forecast,Sales Forecast for a particular plant or assembly line ...ove [More]
I have Windows XP SP-3 installed with Firefox-18. As of today, firefox will not open my yahoo email files. IE and Chrome work just fine opening my yahoo emails. When I click on an unread yahoo email, nothing happens. it just stalls. Sincerely, SteveI [More]
How can I change my creative cloud student membership into a photographer package membership? There is no option in my product page or account page, only to end my membership of creative cloud.Cancel what you have and buy new You need Adobe support t [More]
Hello, Where can i find the invoice No(reference) against a payment document (doc type 'KZ' or 'ZP') ? Secondly, whats the associate of a payment document with a clearing document ? Thanks Shehryar DaharHi, Depending upon the document type You will g [More]
So I just got my new 8300 with Sprint. I went to set up the email and instead of hitting the button to do an uppercase, I hit alt, so I have a number I don't want in my password. How can I change my password? ALSO, my POP email was set up incorrectly [More]
I recently bought an apple ipod touch 32g from a co-worker and he is claiming it is brand new. I can tell he has used it before and there are a few scratches on the back, but i am not really worried about that. I just want to know if there is anyway [More]