Problem with images in XML with excel output
Hello:
I made an XML concurrent program, with excel output, but i am having a problem:
The rtf template has a logo (bmp image), but it is not showing in the excel (if i execute the concurrent in the oracle applications). However, if i create the xml in Oracle Reports in my computer, and then load that xml in the rdf template in word, i can see the logo in the excel preview. I don't know why is it not showing when i execute the program in applications.
If someone can help me with this, i will be very grateful.
Greetings
Message was edited by:
user632438
xml cP, will not give you a image in excel output,..
In RDF there is a placeholder for image, and the image is located in certain location, at runtime it picks and render the output with logo.
but xml CP, will get the data in xml type and merge with rtf to get the output you wanted..
if you have the rtf with logo embedded in it, if output is of pdf or rtf output , then it will display the logo ,.
in excel currently it is not possible to show the logo,..
excel you see could be xml-excel or csv-excel not the true binary excel.
to get the logo embedded ,for that you have to wait on tim for the excel template, which will be release in near future i guess..
Similar Messages
-
Revision: 4804
Author: [email protected]
Date: 2009-02-02 17:56:22 -0800 (Mon, 02 Feb 2009)
Log Message:
Bugs: LCDS-548: add code to deal with contentType="application/xml" with one parameter (avoid
name/value encoding in that case)
LCDS-405: baseURL on HTTPMultiService should accept URLs which start with "/"
Added convertParametersHandler and convertResultsHandler function hooks to RemoteObject
to support framework code which wants to modify the service behavior.
Moved "properties" from rpc/http/AbstractOperation to rpc/AbstractOperation so we can use
it for customizing the handling of remote object results
Couple of minor ASDoc fixes and one tab -> spaces change
Doc: minor asdoc edits
QE: LCDS QE will verify the bugs in this one
Reviewers: Mete, Pete, Seth, Ed reviewed different parts of this checkin
Ticket Links:
http://bugs.adobe.com/jira/browse/LCDS-548
http://bugs.adobe.com/jira/browse/LCDS-405
Modified Paths:
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/Operation.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.asHello,
How about this as an alternative:
Use a functional global which has 3 cases:
1. open config file - it opens the config file and reads the contents into a string (which is the functional global data), and you only do this one time at the beginning of the program.
2. edit config data - it edits the string, which are really the contents of the file, but doesn't worry about writing to the file. you could even get fancy here, and allow an array of tags and an array of values as input, and it would go update/edit all the tags to have the corresponding values.
3. close config file - it writes the current string data (the functional global data) to the file and closes it.
Using the functions in the string palette, I think you'll find most of the code for that module/functional global will be easy to write.
I hope this helps!
Best Regards,
JLS
Best,
JLS
Sixclear -
I'm playing around with the Data Set Shell with Accordion.
Here is the HTML page sample:
http://www.nerealestatephotos.com/Janseneering/RC1.html
// click on the "News" panel in the Accordion...
and one of the XML pages:
http://www.nerealestatephotos.com/Janseneering/news.xml
I need an image to load with the data that is in the
<desc> element and display it in the appropriate table cell.
I've tried giving the <desc> element an <img src="">
attribute, I've tried to load the image using a full URL
encapsulated in CDATA, etc etc. No luck. As you can see, I'm a bit
of a newbie.
I've had moderate success with putting <img src={image}
alt="" /> within the detailregion like this:
<div spry:detailregion="dsShell" class="SpryHiddenRegion">
<table border="1" class="detail">
<tr>
<th>
<img src={image} alt="" />{desc}</th>
</tr>
</table>
The problem with this is that it displays on *every* page,
even the ones that don't have images. Not a problem with Firefox,
Safari and Opera since they just don't display anything if there is
no <image></image> element in the XML. IE on the other
hand gives me the dreaded red "X".Hi,
You would put something like:
spry:if="'{image}' != 'undefined'"
in your IMG tag.
<img src={image} alt="" spry:if="'{image}' !=
'undefined'"/>
That will only print the tag if there is some value for
{image}.
Hope this helps.
Don -
Hi.
I have the rtf-template for xml-publisher report with excel output.
There is the table there. I need format the table according appointed requirements (in output excel file). For example, width of the columns of the table must be fixed width. How I can define width of the columns with xsl language in rtf-template?
[email protected]
Best regardsUP
There is positive progress there.
For example, I can change height of the heading row of the table by this way:
<xsl:attribute name = "height" xdofo:ctx="block-container">40mm</xsl:attribute>.
These xsl tags I put it in the text field of the rtf template between <?split-column-header:GROUP?> and <?VALUE?> tags (There are dinamic columns in the table).
But <xsl:attribute name = "width" xdofo:ctx="block-container">40mm</xsl:attribute> tags work incorrect, not as I need (Some cells is spanned in the height and division of the text is by the word).
May be I need some others tags? Or I need different object or property?
I want to note that xml-publisher's tags <?split-column-width:@width?> and <?split-column-width:width?> are not working in excel output (or I use it incorrect).
I am really need your help. How I can define exact width of dinamic columns?
Thanks. -
XML Report Excel Output Numeric & Character value left aligned
Hi,
I want the XML Report Excel ouput both numberic and character values to be left aligned in the report ouput. Currently my report excel ouput prints the number value right aligned and character value left aligned.
I have tried to concat a space to the value to make that as a character value, but this gives a extra space in the report output, which shld not happen..
Please could anyone help me with a solution.
ThanksHi Uday,
You are making number as a string, by adding a character :) , so it will be displayed as string with space and not as number. -
XML Report - Excel output automatic cell expand
Hi,
I created a XML report with Excel output. It works fine but I have 35 columns in that report.
When I open the excel file - columns are not expanded, user needs to expand it manually.
But It should automatically expanded when the user opens the report. How can i do that?
Thanks in advance.You need to create the rtf template with enough width for each column to render the output fully expanded when viewed from BI Publisher Desktop, which will look the same when run as a concurrent request. If you used the table wizard to create your excel layout, you can widen the columns in Word and paste/enter some spaces before or after each header field in the top row which will force the html rendering that XML Plublisher utilizes to widen the columns when creating Excel output. The fundamental disconnect here is XML Publisher is not rendering .xls or .csv output, but rather html that opens in Excel minus most Excel formatting. You might need to use a 22 inch landscape layout to fit all 35 columns after they are widened.
-
Space between DIV with image and DIV with image background
I have just about finalized the new design on my website. The only issue I am having now is on the gallery page. There is a thin space between a DIV with an image and DIV with an image background. I am using these DIV's to give the illusion of a blue border. If you look at any of the other main pages on the site the space is not there. Any ideas?
http://liquidfirefishing.com/index.php
http://liquidfirefishing.com/gallery/main.php
Here are a couple of screenshots to show exactly what I mean.Hello,
both my "IE8" and my "FF 7.01" show the blue boundary lines. Here my screenshots, left side IE8, right side FF:
Header 1
Header 2
Hans-Günter -
Problems embedding HTML into XML with CVIXMLSetElementValue - unwanted < and >
I'm using the CVI XML functions. When I try to insert some pre-exsting HTML as the element value with CVIXMLSetElementValue, it dutifuly converts all the HTMLangle brackets into < and >, which is NOT what I want.
(I can protect the XML integrity by wrapping it in [CDATA[ ....]] but that does not solve the conversion issue here.)
Any suggestions?
Thanks,
Ian
Solved!
Go to Solution.To explain a bit further, below is a code snippet and the unwanted result that I see. Does this behavior - even with CDATA - make good design sense?
From my perspective CVIXMLSetElementValue should respect CDATA elements. Am I right? Or just biased?
stat = CVIXMLSetElementValue (test1_element, "Hello");
stat = CVIXMLSetElementValue (test2_element, "<p>Hello</p>");
stat = CVIXMLSetElementValue (test3_element, "<! [CDATA[<p>Hello</p>]] >");
// Problematic Output:
// <?xml version="1.0"?>
// <root>
// <test1>Hello</test1>
// <test2><p>Hello</p></test1>
// <test3><! [CDATA[<p>Hello</p>]] ></test1>
// </root> -
XML Report Excel Output exponential value issue
Hello All,
While working on XML Report we need to show output in excel format. One of the out put value is “00110E001”. but when displaying in excel is shows "1.00E+0" and default behavior of MS Excel is if the any number data contains “E” then excel will convert those records in exponential format. But our client required those data which are present in database i.e. “00110E001”.
Kindly share your valuable inputs.
Thanks in advance
Thanks,
PushpalHi Uday,
You are making number as a string, by adding a character :) , so it will be displayed as string with space and not as number. -
Converting Standard Oracle Report to XML for excel output
I have gone through the steps of copying a concurrent program for a standard report to a new program, changed the output format to xml, ran the new concurrent job, saved the output as a .xml, then using the xml publisher template builder for word (Oracle Patch 5887917) tried to modify record information so each record will be on the same line in an Excel format. I tried de-normalising the hierarchy using the ../.. syntax to traverse up the hierarchy but only the data at the lowest level displays. Has anyone else run into this issue or have any ideas on how I can fix it.
Here is the xml when I insert a table and convert the table to text just so you can see the hierarchy I'm trying to de-normalise; these are all the fields but not in the order I would want them displayed...
Source
List G Location Id
for-each G_SOURCE SOURCE
G Location Id
for-each LIST_G_LOCATION_ID
List G Exp Receipts
Location Code1
for-each G_LOCATION_ID
G Exp Receipts
for-each LIST_G_EXP_RECEIPTS
Number Release Line
List G Exp Lines
for-each G_EXP_RECEIPTS NUMBER_RELEASE_LINE
G Exp Lines
for-each LIST_G_EXP_LINES
Unit
Product Number
Item Description
Quantity Received
Quantity Billed
Ordered
Due
P Date
List G Exp Shipments
C Flex Item Disp
for-each G_EXP_LINES UNIT
PRODUCT_NUMBER
ITEM_DESCRIPTION
QUANTITY_RECEIVED
QUANTITY_BILLED
ORDERED
DUE
P_DATE
G Exp Shipments
for-each LIST_G_EXP_SHIPMENTS
Invoice Num
Invoice Amount
Invoice Date
for-each G_EXP_SHIPMENTS INVOICE_NUM
INVOICE_AMOUNT
INVOICE_DATE end G_EXP_SHIPMENTS
end LIST_G_EXP_SHIPMENTS
C_FLEX_ITEM_DISP end G_EXP_LINES
end LIST_G_EXP_LINES
end G_EXP_RECEIPTS
end LIST_G_EXP_RECEIPTS
LOCATION_CODE1 end G_LOCATION_ID
end LIST_G_LOCATION_ID
end G_SOURCE
Here is the text from Word before I convert it into a table when I try to de-normalise it...
for-each G_EXP_SHIPMENTS ../../ P_DATE
../../../../../../../../ SOURCE
../../../../ NUMBER_RELEASE_LINE
../C_FLEX_ITEM_DISP
../../PRODUCT_NUMBER
../../ITEM_DESCRIPTION
../../UNIT
../../ORDERED
../../QUANTITY_RECEIVED
../../QUANTITY_BILLED
../../DUE
INVOICE_NUM
INVOICE_DATE
INVOICE_AMOUNT
../../../../../../LOCATION_CODE1 end G_EXP_SHIPMENTSOK, figured it out... when you double click on the field to add the ../, you actually need to click on Add Help Text and add the ../ here
-
I have a new latest apple tv. I was asked do I want a software upgrade, when I said yes, after 5 minutes the screen locked with an image of a connector cable with music.
I pulled the power, the hdmi and reconnected and it went back to the image on the screen. the white light is flashing fast - does anyone know what to do?The update was interuppted. You will need to grab a micro usb cable and restore via iTunes
http://support.apple.com/kb/HT4367 -
Problem loading Image through XML!
Hi,
I am Akshay and am beginner in this forum. I am trying to load images using flickr API and having problem.
I am doing it in following fashion:
1) I am calling the Httpservice to get the xml through flickr API as
<s:HTTPService id="photoService" url="http://api.flickr.com/services/feeds/....FullAPI" resultFormat="e4x" result="photoResultHandler(event);" fault="photoFaultHandler(event);"/>
2) In photoResultHandler I am retrieving the XML
private function photoResultHandler(re:ResultEvent):void
photoXml= re.result as XML;
However, I am struggeling to retireve elements from photoXML and then use it to display image in :
<mx:Image id="img0" x="151" y="98" width="520" height="291"/>
The XML structure is as below:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<feed">
<entry>
<author> </author>
<link rel="enclosure" type="image/jpeg" href="http://farm5.static.flickr.com/4484460580_04bbced2d8_o.jpg"/>
</entry>
<entry>
</entry>
I need to load the href value of link which can be found in feed-->entry-->link in the above xml.
Please help!
-AkshayHello Dave,
Thanks for your prompt reply. Here's the mxml code :
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" creationComplete="photoService.send()" minHeight="600">
<fx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.events.FlexEvent;
import mx.events.MoveEvent;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
[Bindable]
public var photoXml:XML;
private function photoResultHandler(re:ResultEvent):void
photoXml= re.result as XML;
//var src :int = "{photoXml.feed.entry.updated}" as int;
img0.source= String(photoXml.entry[0].link[1].@href);
private function photoFaultHandler(fe:FaultEvent):void
Alert.show(fe.fault.message);
]]>
</fx:Script>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
<s:HTTPService id="photoService" url="http://api.flickr.com/services/feeds/photos_public.gne?id=48951865@N07" resultFormat="e4x" result="photoResultHandler(event);" fault="photoFaultHandler(event);"/>
</fx:Declarations>
<mx:Image id="img0" x="151" y="98" width="520" height="291"/>
</s:Application>
Hope it helps you in finding out the problem...DO let me know your thouhgts
Thanks again for your replies so far......
-Akshay -
Image in excel output (Apps)
Hi All,
I’m trying to display my company logo on one of my excel output reports built using RTF template.
I followed instructions from below thread, still, the place where image has to be displayed I can see a small red cross. I’ve searched this forum regarding this issue. All of these are not solved completely.
Logo in Excel Report
Env:
Oracle Apps 12Hi;
What is your EBS and Os?
Please check below note:
Image Does Not Display In XML Publisher Excel Output [ID 736897.1]
Regard
Helios -
How to Display RTF data with images from SQL database in Crystal Report
I am using Crystal report in my WPF application, I have generate Question Paper Report, in which have Question with images. Question with images are stored in SQL Server in rtf format, I want to generate Question report with RTF Text and Images in report
Hello Sir,
I am still Facing problem in Crystal report generation with RTF Data (Text + Images),
I am storing Questions in SQL Server which are RTF Format, Questions have Text + Images..
I changed field data type then also i didn't get image in Crystal report
if i browse an image n stored that in DB then its displaying in Crystal report, but when i pasted that image in RichTextBox and saved that in DB then no data displayed in Crystal report.
My Table Structure is
Table Name: tblQuestions
field : Questions Varbinary(max)
I tried with nvarchar(max) also but its aslo not working -
Hi
I am posting Excel logo issue here 2nd time
I want Image to show on Excel output in EBS
I gone through Tim's Blog about "Excel Limitation"
as per this blog I am giving
Base image URI = http://cvd-erp-dev-01.limac.com:8011/OA_MEDIA/comp_logo.gif
and
Image file directory = /u11/orafindv/findvcomn/java/oracle/apps/media/comp_logo.gif
Is it correct?
Now please suggest me what should I write in rtf Template?
shall I take dummy Image? or something in form field?
Thanks In advance
RahulYou should put this issue on the XML Pub forum.
I remember some specific setting required for linking images off the instance top. Check the XML Pub dev guide.
--Shiv
Maybe you are looking for
-
Is there a way to reorganize bookmarks?
I have way too many Safari bookmarks including many redundancies. I need to do a wholesale reorganization of my Safari bookmarks. I recently started using Dragon Drop which brilliantly facilitates moving Finder files and folders around tremendously
-
Looking for a Workflow-Checklist (plugin)
Hello everybody, I really like LR as my primary workflow-tool. What I'm actually looking for: a "workflow-checklist-plugin". This plugin should be a plugin visible in the develop module of Lightroom. It (the plugin) should show me a list of checkboxe
-
Sizing a JFrame to screen size
HI I am trying to size a Jframe at runtime to the screen it is displyed on, whatever size that is. Any ideas?
-
The LabVIEW Documentation team needs information about how you use the LabVIEW Quick Tips, which are included in the LabVIEW Help. The most recent version of the Quick Tips are at http://zone.ni.com/reference/en-XX/help/371361A-01/TOC7.htm. The Quic
-
Adding songs to an existing playlist on an iPad
I Have an existing playlist which I created. It's not a Smart Playlist. Now that I finished the list a while ago I'd like to add more songs from my music library. There doesn't seem to be an obvious way to do anything but delete songs. Does anyone kn