Sitemap

Amicuk Programming Answers

Relative path for images in RTF templates

2015-10-11   Views:14

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]

Hot
I cannot End Call (mostly Outgoing) after upgrading to OS 10.2. The receivers phone keeps ringing even after i try to disconnect the call. The "END CALL" option is grayed out and the red led on the top left keeps blinking. This happens very freq [More]
Dear All, Consider an environment where a user, Joe Bloggs, has an account on two Windows domains:  DOMA and DOMB.  DOMA is a domain that all users in the organisation are members of.  DOMB is a domain used by a smaller subset of users.  The user's m [More]
2013 MBP, running 10.9.3. For the last few days, Very Sick Mac. Every operation gets the spinning beach ball, and 5 - 20 second pause/lockup. Just copying the text below, opening Safari and getting to here has seen a dozen or so lock-up events and ta [More]
Problems with Target service agreement to repair my ipod nano. I have gone to the BBB. Who can I contact at Apple to let them know the poor service that Target gave with a Apple product?Apple Customer Relations (800) 767-2775Read other 2 answers [More]
Hi Friends, I have got two ODS with diffrent data. ODS1: Sales Doc, Fiscal Year Period, Key Fig1 ODS2: Sales Doc, Key Fig2 I have created a multiprovider with these two ODS by maiing - Sales Doc from bothe ODS1 and ODS2 - Fisc Yr Per from ODS1 (I don [More]
Hi, everyone!!! My name is Rafael, and... I search in the web and in this forum but i can´t find a answer for my doubt. Using the procedure htp.p for print dynamic data in apex region through on demand process , this will leave my webpage slow to loa [More]
Can I register or synch my ipod nano (6th gen) with more than 1 computer?iPods and other iOS devices can only sync to one iTunes library at a time. It is not possible to sync to two. Hope that helps.Read other 2 answers [More]
There's got to be a bunch of us who thought we were buying  online storage we could use to store App's & movies ,tv shows. Well u can't so its been a day now I got 14 more to get a full refund. But that's the thing can't find out how to do that anywh [More]
The forum-search query "icc profiles ilford paper", with the forum "Photoshop Elements" selected, does not find the following message: http://forums.adobe.com/message/1520276#1520276 Re: ICC Profiles I just purchased some ILFORD paper [More]
While creating a transformation for DSO in SAP BI, I got an error "Data source xxx (FS_xxx) does not exist in version A". I would like to know what this error is all about and how to resolve this issue. Thanks. BhusanHi Bhusan, You have to activ [More]