Dunning Letter XML not displaying XML version of Dunning Letter
I have changed the Output Format for "Dunning Letter Print from Dunning Letter Generate" to XML. When I run the Dunning Letter Generate process, though, the XML output in the Dunning Letter Print from Dunning Letter Generate does not display the XML of the Dunning Letter. Instead, the following XML is displayed:
<?xml version="1.0"?>
<!-- Generated by Oracle Reports version 6.0.8.27.0 -->
<ARDLP>
<LIST_G_CORRESPONDENCES>
</LIST_G_CORRESPONDENCES>
<R_INTEREST_RATE></R_INTEREST_RATE>
<R_DEFAULT_COUNTRY>NL</R_DEFAULT_COUNTRY>
<C_TRX_NUMBER>APP-00001: Unable to find message: AR_REPORTS_TRX_NUMBER</C_TRX_NUMBER>
<C_PO>APP-00001: Unable to find message: AR_REPORTS_PO</C_PO>
<C_DEBIT>APP-00001: Unable to find message: AR_REPORTS_DEBIT</C_DEBIT>
<R_DEFAULT_COUNTRY_DESC>M-3M-WM-4M-zM-6M-uM-5M-e</R_DEFAULT_COUNTRY_DESC>
</ARDLP>
Is there any specific setup required to generate the appropriate XML for the Dunning Letter?
Kit
It is definitely possible to use XML Publisher for dunning letters. I would suggest your sample run did not select anything for dunning as the XML looks correct otherwise. The problem with this approach is that it is not a single step process to get the letters. You will only ever get XML from the dunning letter print report as there is nowhere in the submission screen to tell it what template to use. Therefore you will need to modify the after report trigger to submit the XML Report Publisher concurrent program to automatically pick up the XML and create the letters.
You might want to look at the standard functionality in collections or advanced collections (not sure about collections but definitely in advanced) as there is some standard functionality in there for Dunning which uses XML Publisher templates. The setup is a bit onerous (not sure what the developers were thinking) but at least you can use XMLP as standard.
Cheers,
Dave
Similar Messages
-
Xml not displaying because of & symbol
Hi there
I have an issue with an xml file not displaying ..the reason
is the & symbol in the xml file. I created a scoreboard xml
file ..however when Texas A&M was inputted ..it does not
display any information in the xml file ..when removed ..it
displays fine.
Is there a code I can incorporate info the xsl file to over
right the & symbol so it still displays? Any help would be
greatly appreciated. Below is the working xml file ..and the xsl
file ..thanks Rob
<xsl:stylesheet version="1.0" exclude-result-prefixes="xsl
ddwrt msxsl" xmlns:ddwrt="
http://schemas.microsoft.com/WebParts/v2/DataView/runtime"
xmlns:xsl="
http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:ddwrt2="urn:frontpage:internal">
<xsl:param name="dvt_adhocmode"></xsl:param>
<xsl:param
name="dvt_adhocfiltermode">xsl</xsl:param>
<xsl:param name="dvt_fieldsort"></xsl:param>
<xsl:param name="dvt_sortfield"></xsl:param>
<xsl:param name="dvt_groupfield"></xsl:param>
<xsl:param name="dvt_groupdisplay"></xsl:param>
<xsl:param
name="dvt_sortdir">ascending</xsl:param>
<xsl:param
name="dvt_groupdir">ascending</xsl:param>
<xsl:param name="dvt_grouptype"></xsl:param>
<xsl:param name="dvt_sorttype">text</xsl:param>
<xsl:param
name="dvt_groupsorttype">text</xsl:param>
<xsl:param name="dvt_filterfield"></xsl:param>
<xsl:param name="dvt_filterval"></xsl:param>
<xsl:param name="dvt_filtertype"></xsl:param>
<xsl:param name="dvt_firstrow">1</xsl:param>
<xsl:param name="dvt_nextpagedata"></xsl:param>
<xsl:param name="dvt_apos">'</xsl:param>
<xsl:param name="filterParam"></xsl:param>
<xsl:template match="/">
<xsl:call-template name="dvt_1"/>
</xsl:template>
<xsl:template name="dvt_1">
<xsl:variable
name="StyleName">Table</xsl:variable>
<xsl:variable name="Rows" select="/channel/item"/>
<xsl:variable name="RowCount" select="count($Rows)"/>
<xsl:variable name="IsEmpty" select="$RowCount = 0"/>
<xsl:choose>
<xsl:when test="$IsEmpty">
<xsl:call-template name="dvt_1.empty"/>
</xsl:when>
<xsl:otherwise>
<table border="0" width="100%" cellpadding="2"
cellspacing="0">
<tr valign="top">
<th class="ms-vh" nowrap="nowrap" style="text-align:
left; font-family: Verdana; font-size: small; color: #FFFFFF;
width: 56px; background-color: #800000">Date</th>
<th class="ms-vh" nowrap="nowrap" style="text-align:
left; font-family: Verdana; font-size: small; color: #FFFFFF;
width: 122px; background-color: #800000">Sport</th>
<th class="ms-vh" nowrap="nowrap" style="text-align:
left; font-family: Verdana; font-size: small; color: #FFFFFF;
background-color: #800000">Final Score</th></tr>
<xsl:call-template name="dvt_1.body">
<xsl:with-param name="Rows" select="$Rows"/>
<xsl:with-param name="FirstRow" select="1"/>
<xsl:with-param name="LastRow" select="$RowCount"/>
</xsl:call-template>
</table>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="dvt_1.body">
<xsl:param name="Rows"/>
<xsl:param name="FirstRow"/>
<xsl:param name="LastRow"/>
<xsl:for-each select="$Rows">
<xsl:sort select="date" order="ascending" />
<xsl:sort select="title" order="descending" />
<xsl:variable name="KeepItemsTogether"
select="false()"/>
<xsl:variable name="HideGroupDetail"
select="false()"/>
<xsl:variable name="GroupStyle" select="'auto'"/>
<xsl:if test="true()">
<xsl:if test="not($HideGroupDetail)"
ddwrt:cf_ignore="1">
<tr style="display:{$GroupStyle}">
<td class="ms-vb" style="text-align: left; font-family:
Verdana; font-size: xx-small; width: 56px; border: 1px solid
#000000">
<xsl:value-of select="date"/>
</td>
<td class="ms-vb" style="text-align: left; font-family:
Verdana; font-size: xx-small; width: 122px; border: 1px solid
#000000">
<strong><xsl:value-of select="title"
/></strong></td>
<td class="ms-vb" style="text-align: left; font-family:
Verdana; font-size: xx-small; border: 1px solid #000000">
<strong><xsl:value-of select="description"
/></strong></td></tr>
</xsl:if>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template name="dvt_1.empty">
<xsl:variable name="ViewEmptyText">There are no items
to show in this view.</xsl:variable>
<table border="0" width="100%">
<tr>
<td class="ms-vb">
<xsl:value-of select="$ViewEmptyText"/>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>
<?xml version="1.0" encoding="iso-8859-1"?>
<channel>
<title>Sports Scores</title>
<ttl></ttl>
<link></link>
<description>Latest Scores</description>
<language></language>
<pubDate></pubDate>
<item>
<title>College Football</title>
<date>31AUG07</date>
<description>Eastern Washington 52 - Montana-Western
13</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>Carroll 17 - Black Hills State
0</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>Carroll College 17 - Black Hills St.
0</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>Eastern Washington 52 - Western
13</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>Montana 37 - S. Utah
17</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>Montana 37 - Southern Utah
17</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>MSU Northern 18 - Dickenson St.
10</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>Northern 18 - Dickinson State
10</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>Rocky 21 - Minot State
9</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>Southern Oregon 45 - Eastern Oregon 42
(OT)</description>
</item>
<item>
<title>College Football</title>
<date>01SEP07</date>
<description>Texas AM 38 - Montana St.
7</description>
</item>
</channel>A&M
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"satjack1" <[email protected]> wrote in
message
news:[email protected]...
> Hi there
>
> I have an issue with an xml file not displaying ..the
reason is the &
> symbol
> in the xml file. I created a scoreboard xml file
..however when Texas A&M
> was
> inputted ..it does not display any information in the
xml file ..when
> removed
> ..it displays fine.
>
> Is there a code I can incorporate info the xsl file to
over right the &
> symbol
> so it still displays? Any help would be greatly
appreciated. Below is
> the
> working xml file ..and the xsl file ..thanks Rob
>
> <xsl:stylesheet version="1.0"
exclude-result-prefixes="xsl ddwrt msxsl"
> xmlns:ddwrt="
http://schemas.microsoft.com/WebParts/v2/DataView/runtime"
> xmlns:xsl="
http://www.w3.org/1999/XSL/Transform"
> xmlns:msxsl="urn:schemas-microsoft-com:xslt"
> xmlns:ddwrt2="urn:frontpage:internal">
> <xsl:param name="dvt_adhocmode"></xsl:param>
> <xsl:param
name="dvt_adhocfiltermode">xsl</xsl:param>
> <xsl:param name="dvt_fieldsort"></xsl:param>
> <xsl:param name="dvt_sortfield"></xsl:param>
> <xsl:param
name="dvt_groupfield"></xsl:param>
> <xsl:param
name="dvt_groupdisplay"></xsl:param>
> <xsl:param
name="dvt_sortdir">ascending</xsl:param>
> <xsl:param
name="dvt_groupdir">ascending</xsl:param>
> <xsl:param name="dvt_grouptype"></xsl:param>
> <xsl:param
name="dvt_sorttype">text</xsl:param>
> <xsl:param
name="dvt_groupsorttype">text</xsl:param>
> <xsl:param
name="dvt_filterfield"></xsl:param>
> <xsl:param name="dvt_filterval"></xsl:param>
> <xsl:param
name="dvt_filtertype"></xsl:param>
> <xsl:param name="dvt_firstrow">1</xsl:param>
> <xsl:param
name="dvt_nextpagedata"></xsl:param>
> <xsl:param name="dvt_apos">'</xsl:param>
> <xsl:param name="filterParam"></xsl:param>
> <xsl:template match="/">
> <xsl:call-template name="dvt_1"/>
> </xsl:template>
> <xsl:template name="dvt_1">
> <xsl:variable
name="StyleName">Table</xsl:variable>
> <xsl:variable name="Rows" select="/channel/item"/>
> <xsl:variable name="RowCount"
select="count($Rows)"/>
> <xsl:variable name="IsEmpty" select="$RowCount =
0"/>
> <xsl:choose>
> <xsl:when test="$IsEmpty">
> <xsl:call-template name="dvt_1.empty"/>
> </xsl:when>
> <xsl:otherwise>
> <table border="0" width="100%" cellpadding="2"
cellspacing="0">
> <tr valign="top">
> <th class="ms-vh" nowrap="nowrap" style="text-align:
left; font-family:
> Verdana; font-size: small; color: #FFFFFF; width: 56px;
background-color:
> #800000">Date</th>
> <th class="ms-vh" nowrap="nowrap" style="text-align:
left; font-family:
> Verdana; font-size: small; color: #FFFFFF; width: 122px;
background-color:
> #800000">Sport</th>
> <th class="ms-vh" nowrap="nowrap" style="text-align:
left; font-family:
> Verdana; font-size: small; color: #FFFFFF;
background-color:
> #800000">Final
> Score</th></tr>
> <xsl:call-template name="dvt_1.body">
> <xsl:with-param name="Rows" select="$Rows"/>
> <xsl:with-param name="FirstRow" select="1"/>
> <xsl:with-param name="LastRow"
select="$RowCount"/>
> </xsl:call-template>
> </table>
> </xsl:otherwise>
> </xsl:choose>
> </xsl:template>
> <xsl:template name="dvt_1.body">
> <xsl:param name="Rows"/>
> <xsl:param name="FirstRow"/>
> <xsl:param name="LastRow"/>
> <xsl:for-each select="$Rows">
> <xsl:sort select="date" order="ascending" />
> <xsl:sort select="title" order="descending" />
> <xsl:variable name="KeepItemsTogether"
select="false()"/>
> <xsl:variable name="HideGroupDetail"
select="false()"/>
> <xsl:variable name="GroupStyle" select="'auto'"/>
> <xsl:if test="true()">
> <xsl:if test="not($HideGroupDetail)"
ddwrt:cf_ignore="1">
> <tr style="display:{$GroupStyle}">
> <td class="ms-vb" style="text-align: left;
font-family: Verdana;
> font-size: xx-small; width: 56px; border: 1px solid
#000000">
> <xsl:value-of select="date"/>
> </td>
> <td class="ms-vb" style="text-align: left;
font-family: Verdana;
> font-size: xx-small; width: 122px; border: 1px solid
#000000">
>
<xsl:value-of select="title" /></td>
> <td class="ms-vb" style="text-align: left;
font-family: Verdana;
> font-size: xx-small; border: 1px solid #000000">
>
<xsl:value-of select="description"
/></td></tr>
> </xsl:if>
> </xsl:if>
> </xsl:for-each>
> </xsl:template>
> <xsl:template name="dvt_1.empty">
> <xsl:variable name="ViewEmptyText">There are no
items to show in this
> view.</xsl:variable>
> <table border="0" width="100%">
> <tr>
> <td class="ms-vb">
> <xsl:value-of select="$ViewEmptyText"/>
> </td>
> </tr>
> </table>
> </xsl:template>
> </xsl:stylesheet>
>
>
>
> <?xml version="1.0" encoding="iso-8859-1"?>
> <channel>
> <title>Sports Scores</title>
> <ttl></ttl>
> <link></link>
> <description>Latest Scores</description>
> <language></language>
> <pubDate></pubDate>
> <item>
> <title>College Football</title>
> <date>31AUG07</date>
> <description>Eastern Washington 52 -
Montana-Western
> 13</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>Carroll 17 - Black Hills State
0</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>Carroll College 17 - Black Hills St.
0</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>Eastern Washington 52 - Western
13</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>Montana 37 - S. Utah
17</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>Montana 37 - Southern Utah
17</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>MSU Northern 18 - Dickenson St.
10</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>Northern 18 - Dickinson State
10</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>Rocky 21 - Minot State
9</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>Southern Oregon 45 - Eastern Oregon
42
> (OT)</description>
> </item>
> <item>
> <title>College Football</title>
> <date>01SEP07</date>
> <description>Texas AM 38 - Montana St.
7</description>
> </item>
> </channel>
>
>
>
> -
DataGrid does not display XML data
Hello, and thanks for reading this...
I am having a problem displaying XMLList data in a DataGrid.
The data is coming from a Tree control, which is receiving it
from a database using HTTPService.
The data is a list of "Job Orders" from a MySQL database,
being formatted as XML by a PHP page.
If it would be helpful to see the actual XML, a sample is
here:
http://www.anaheimwib.com/_login/get_all_orders_test2.php
All is going well until I get to the DataGrid, which doesn't
display the data, although I know it is there as I can see it in
debug mode. I've checked the dataField property of the appropriate
DataGrid column, and it appears correct.
Following is a summary of the relevant code.
...An HTTPService named "get_all_job_orders" retrieves
records from a MySQL database via PHP...
...Results are formatted as E4X:
HTTPService resultFormat="e4x"
...An XMLListCollection's source property is set to the
returned E4X XML results:
...The "order" node is what is being used as the top-level of
the XML data.
<mx:XMLListCollection id="jobOrdersReviewXMLList"
source="{get_all_job_orders.lastResult.order}"/>
...The "jobOrdersReviewXMLList" collection is assigned to be
the dataProvider property of a Tree list, using the @name syntax to
display the nodes correctly, and a change event function is defined
to add the records to a DataGrid on a separate Component for
viewing the XML records:
<mx:Tree dataProvider="{jobOrdersReviewXMLList}"
labelField="@name"
change="jobPosForm.addTreePositionsToDG(event)"/>
...Here is the relevant "jobPosForm" code (the Job Positions
Form, a separate Component based on a Form) :
...A variable is declared:
[Bindable]
public var positionsArray:XMLList;
...The variable is initialized on CreationComplete event of
the Form:
positionsArray = new XMLList;
...The Tree's change event function is defined within the
"jobPosForm" Component.
...Clicking on a Tree node fires the Change event.
...This passes an event object to the function.
...This event object contains the XML from the selected Tree
node.
...The Tree node's XML data is passed into the positionsArray
XMLList.
...This array is the dataProvider for the DataGrid, as you
will see in the following block.
public function addTreePositionsToDG(event:Event):void{
this.positionsArray = selectedNode.positions.position;
...A datagrid has its dataProvider is bound to
positionsArray.
...(I will only show one column defined here for brevity.)
...This column has its dataField property set to "POS_TITLE",
a field in the returned XML record:
<mx:DataGrid width="100%" variableRowHeight="true"
height="75%" id="dgPositions"
dataProvider="{positionsArray}" editable="false">
<mx:columns>
<mx:DataGridColumn width="25" headerText="Position Title"
dataField="POS_TITLE"/>
</mx:columns>
</mx:DataGrid>
In debug mode, I can examine the datagrid's dataProvider
property, and see that the correct XML data from the Tree control
is present. However, The datagrid does not display the data in any
of its 6 columns.
Does anyone have any advice?
Thanks for your time.Hello again,
I came up with a method of populating the DataGrid from the
selected Item of a Tree Control which displays complex XML data and
XML attributes. After the user clicks on a Tree branch, I call this
function:
public function addTreePositionsToDG(event:Event):void{
//Retrieve all "position" nodes from tree.
//Loop thru each Position.
//Add Position data to the positionsArray Array Collection.
//The DataGrid dataprovider is bound to this array, and will
be updated.
positionsArray = new ArrayCollection();
var selectedNode:Object=event.target.selectedItem;//Contains
entire branch.
for each (var position:XML in
selectedNode.positions.position){
var posArray:Array = new Array();
posArray.PK_POSITIONID = position.@PK_POSITIONID;
posArray.FK_ORDERID = position.@FK_ORDERID;
posArray.POS_TITLE = position.@POS_TITLE;
posArray.NUM_YOUTH = position.@NUM_YOUTH;
posArray.AGE_1617 = position.@AGE_1617;
posArray.AGE_1821 = position.@AGE_1821;
posArray.HOURS_WK = position.@HOURS_WK;
posArray.WAGE_RANGE_FROM = position.@WAGE_RANGE_FROM;
posArray.WAGE_RANGE_TO = position.@WAGE_RANGE_TO;
posArray.JOB_DESCR = position.@JOB_DESCR;
posArray.DES_SKILLS = position.@DES_SKILLS;
positionsArray.addItem(posArray);
So, I just had to manually go through the selected Tree node,
copy each XML attribute into a simple Array, then ADD this Array to
an ArrayCollection being used as the DataProvider for the DataGrid.
It's not elegant, but it works and I don't have to use a Label
Function, which was getting way too complicated. I still think that
Flex should have an easier way of doing this. There probably is an
easier way, but the Flex documentation doesn't provide an easy path
to it.
I want to thank you, Tracy, for the all the help. I checked
out the examples you have at www.cflex.net and they are very
helpful. I bookmarked the site and will be using it as a resource
from now on. -
XML not displaying correctly when larger
Hi,
When my XML dataset exceeds 2350 lines, SpryDOMUtils.js seems to ad a <tab> to the XML string and it's not displayed correctly in it's container.
I included 2 screenshots to show what's happening. Tnx a lot!!Sorry for the delay, I have spent some time trying to find the culprit. Finally I decided to start afresh with the following markup, which works quite well in all browsers.
<!doctype html>
<htm>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<link href="SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="Accordion1" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">Label 1</div>
<div class="AccordionPanelContent">
<div id="div1">
<table align="top" cellpadding="5">
<tr id="tr1">
<td valign="top">{datum}</td>
<td valign="top"><a href="{link}">{inhoud}</a></td>
</tr>
</table>
</div>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Label 2</div>
<div class="AccordionPanelContent">Content 2</div>
</div>
</div>
<script src="SpryAssets/SpryAccordion.js"></script>
<script src="SpryAssets/SpryData.js"></script>
<script src="SpryAssets/SpryDOMUtils.js"></script>
<script src="SpryAssets/SpryTooltip.js"></script>
<script src="design_template_info12.js"></script>
<script type="text/javascript">
var Accordion1 = new Spry.Widget.Accordion("Accordion1");
</script>
</body>
</html>
May I suggest that you copy and paste the markup into a new document to then start adding your own stuff, making sure that you test in IE7 or IE8 at each step.
Note that I have left xpath.js out of the markup. I think it will work either way. Just keep an eye on it.
PS
I did reformat the XML to delete all of the empty lines. Not sure if this helped or not. You can do this within DW as follows
Message was edited by: Altruistic Gramps -
XML not displaying in Safari when using a XSL.
Hi, has anyone encountered this issue where Safari, and all Mac browsers for that matter, don't display XML when using an XSL? When I use a XML file with an XSL stylesheet I get a "Document is Empty" error. It displays correctly when a CSS is used and also works just fine on a PC.
My goof. In the Safari preferences area I turned on Developer mode out of curiosity and then by accident turned off pictures. All is well now.
-
I customized a WebHelp Pro skin using the Omega skin as the basis. Everything works fine except the Print button, which I added using the same Action as shown in the BeautifulVista skin's Print button.
Local Version (C: drive)
When I generate my help project and view it locally from my C: drive after I accept the warning about viewing locally, I see the Print button.
However, it does NOT work. I've attached a graphic that shows the local version and the skin dialog where I set up the action for the Print button.
RH Server 8 version
When I view the same project after I publish it to the server, the Print button does NOT display.
QUESTIONS ARE:
How do I get the Print button to function properly (active printer dialog)?
If it can't work until it is published that fine but then how do I get it display when I view from server?Hi there
Have you tried editing your Window Definition?
Click View > Pods > Project Setup
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks -
Built in viewer not displaying XML report
we are working on a test system that was originally developed elsewhere, using TestStand 4.0. It is generating XML report files, but not using the default NI schema, instead using both it's own 'custom' schema and reportgen sequence file for the report formatting. When it was running in TS 4.0, it all appeared to operate correctly, i.e. once the execution had come to an end, the built in TS viewer showed the XML file formatted correctly as defined in the XSL file.
For a variety of reasons, we have needed to upgrade to TS 4.2.1, and as a result, the built in report viewer no longer displays the XML report at teh end of an execution. Instead, it shows an error ...
'The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
XML document must have a top level element. Error processing resource 'file:///C:/<file_path>/TempReport.xml'
Looking in the <file_path>, there is a TempReport.xml file, which is empty, hence the error message, but there is also the correct xml file, with data in. Clicking on the 'Viewer' button in the built in report viewer kicks off IE, which correctly shows the saved report file, complete with the formatting as defined in the xsl file, so it would appear that the custom reportgen sequence is still doing it's job correctly, just that the built in viewer has a problem... (Incidentally, if you try to refresh the viewer, as suggested in the error message, it brings back the same error, but repetatively creates a new TempReport file, with a number appended...)
I've traced through the sequence model (this is the default model) and the tempReport file is only created when the sequence model finishes, (In fact checking the value of the Locals.ReportFilePath variable right at the end of the sequence model shows the correct filename...) suggesting that it is not a sequence problem, but rather something built into TS? (I saw some comment on another forum entry suggesting that a temp file is created when using IE as an external viewer, to prevent a memory leak)
Realistically this is not a major problem, but it has got to the level of annoying now, having to open an external viewer even though the built in one is loaded by default... I'm guessing that the built in viewer is just a simple browser? if so, why is it being passed the wrong file/creating an empty xml file. If I set the report back to standard xml, I see the report ok, but without the formatting.
It seems odd that this breaks in TS 4.2.1 but works fine in 4.0, when TS is meant to be backwardsly compatible
Any ideas would be gratefully received...Thanks for the suggestion Anand... As it turns out, you were very nearly right. It turned out that it wasn't actually the stylesheet path that was causing the error, but instead the original developers had over-ridden the use of the standard NI xml report handler sequence to use one of their own, by setting the ReportOptions.format to a different name from xml. In the Setup Reports Display sequence call (uses a sequence in the modelsupport.seq file) there was a pre-condition on the format name, and as it no longer contained just xml, the precondition failed, and the sequence call that sets up temporary paths etc. never ran. I added an additional precondition state, to check for either xml, or the format used in this case, and everything sprung back into action. I'm not sure whether something similar was done previously in TS 4.0...
Is there a list of these known problems in TS 4.2.1? I did look around the NI site a bit before posting the initial question, and didn't see anything that seemed to detail this...
Once again, thanks for your assistance -
Menubar from dynamic xml not displaying
I can't get a Menubar to display the submenu items. The list
displays properly without any reference to the "menubar" class so I
think I must have something off in the area. I have searched the
examples, api, and forum but I haven't been able to find anything
to help me fix it. I have worked on this for a couple of hours so I
am turning to everyone for help. Here is my code.
<div spry:region="dsSubCat dsRefine dsRefineValue"
class="SpryHiddenRegion">
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="#" class="MenuBarItemSubmenu">Sub
Category</a>
<ul>
<li spry:repeat="dsSubCat"><a href="#"
onclick="loadSubCatData('{dsSubCat::Value}');">{dsSubCat::Title}</a> ({dsSubCat::NumberOf Products})</li>
</ul>
</li>
<li spry:repeat="dsRefine"><a href="#"
class="MenuBarItemSubmenu">{dsRefine::@name}</a>
<ul>
<li spry:repeat="dsRefineValue"><a href="#"
onclick="loadRefineData('{dsRefineValue::Value}');">{dsRefineValue::Title}</a> ({dsRefine Value::NumberOfProducts})</li>
</ul>
</li>
</ul>
</div>
<script type="text/javascript"><var MenuBar1 = new
Spry.Widget.MenuBar("MenuBar1",
{imgDown:"../../images/SpryMenuBarDownHover.gif"})</script>Hey N,
When dynamically creating widgets with Spry data, the
constructor script tag needs to be within the spry:region.
This allows it to fire off after the markup has been
generated.
Let us know if this solves it.
Don -
Attributes does not display in version details
When i click on the versions icon for an item
it does not show the item attributes like the create date or expire date etc..
It does show the properties icon but this properties window does not show all the
attributes!(example it does not show the create date)
Is there a way to show these attributes in the item version display page?
Is this going to be taken care of in 308?
Any help will be highly appreciated
ThanksThanks for the reply.
We are running ver 3.0.6.6.5
I am talking about the page which pops up
when u click on the versions icon associated the item.
In the version i am running i get a two column display.
1st column is empty
2nd column is the link the respective file version(and the property icon)
null -
IMovie '11 will not display edited versions of photos from iphoto
After editing some photos in iPhoto, iMovie displays in the preview window the edited photo, but once placed on the timeline, it reverts back to the unedited original version. Any ideas what's going on?
Ultimately, after creating a slideshow of photos in iMovie, i realized some photos need editing. But after going back to iPhoto to edit them, it appears as though there is no way for iMovie to update the slideshow with the edited photos that i still want to use. Even if i place them a second time on the timeline to replace the old photo, i lose the ken burns pan/zoom options i already set. i'm afraid i'll have to start all over again with my edited photos. Any suggestions are greatly appreciated!in light of that response, i tried something that worked a little better. since their is no 'edited' photo, after making my edits in iphoto, i exported the photo out of iphoto by dragging it to the desktop, which seems to create a fully edited and changed file. this photo i immediately dragged right back into iphoto, and upon import, iphoto treats it like a new 'original' file (and the edits are maintained). this photo i could import into my existing imovie project and it shows up correctly. it's still some work to do this, but it prevents me from having to start all over again.
i guess until there is an update to address this the bottom line is this; make for certain as best you can that your photos are all edited in iphoto BEFORE you begin your imovie project, since making edits to photos after the fact will cause you some runaround exporting and reimporting with iphoto, and then replacing those photos in the imovie timeline... -
Videos, no matter type of player, Flash or otherwise, do not display in Version 12
No matter what the source, or the type of player a video plays in, since I installed FireFox v12.0, no videos show. The screen goes black, that's it. RealPlayer doesn't work, etc. Help please!
You have the Shockwave Flash 11.3 r300 beta version.
Try to uninstall that version and install the regular Firefox 11.2 version.
See Uninstallation:
* http://labs.adobe.com/downloads/flashplayer11-3.html -
any one else had to deal with this issue ??
From the article:
Note: Downloading of previously purchased movies is available in the United States only. -
XML Publisher Report not displaying Chart/Graph in Excel Output
Hi All,
We are currently on Oracle EBS 11.5.10.2
I am facing an issue with XML Publisher based report when i try to fetch the output in Excel.
We have created an RTF in which i have embedded a graph. While viewing the output in PDF everything seems to work fine.
however when i try to run the report with output as Excel the Graph is not displayed.
Can you please let me know if i missed anything.
Also it would be very helpful if someone can tell me how to get the output of Excel in .XLSX format.
I have seen in various forums that you need to select the output type as Excel 2007, but i am not getting any such option while submitting the report.
I am on EBS version 11.5.10.2 do we need to install any patch to get the output option.
Regards,
SandeepHi,
Check this links that might help you..
https://forums.oracle.com/thread/1018488
http://docs.oracle.com/cd/E10091_01/doc/bip.1013/e05000/toc.htm
Here the Exact solution from Oracle
In the XML PUBLISHER ADMINISTRATOR Resp..
Click the administration..
then Click HTML Output
Then in the Base Image URI Give the url of your application for example
http://Test.Test.com:8000/OA_MEDIA/
And then
Image File Directory give this as per your application setup
/u01/app/oracle/apps/apps_st/comn/java/classes/oracle/apps/media/
Thanks & Regards
Srikkanth.M -
Display xml- tags with NULL - value
Hello
is there a way to display a tag while the value is null in this matter :
select
xmlforest(AFRAGNR_1, AFRAGNR_2 , AFRAGNR_3 ,AFRAGNR_4 )
AS XML
FROM VIEW_ABC WHERE x = v1 and y = v2
-- result: :AFRAGNR_3 and AFRAGNR_4 is null and not displayed:
XML
<AFRAGNR_1>J</AFRAGNR_1><AFRAGNR_2>J</AFRAGNR_2>
-- by using this, its not the result I want to get,
select
xmlelement( "AFRAGNR_1" , AFRAGNR_1 ) AFRAGNR_1
,xmlelement( "AFRAGNR_2" , AFRAGNR_2 ) AFRAGNR_2
,xmlelement( "AFRAGNR_3" , AFRAGNR_3 ) AFRAGNR_3
,xmlelement( "AFRAGNR_4" , AFRAGNR_4 ) AFRAGNR_4
FROM VIEW_ABC WHERE x = v1 and y = v2
another way ?
regards Norbert
Edited by: astramare on Nov 20, 2008 12:32 PMI have the same problem:
- I need to generate XML in format <element id="1" />
- I need to pass some null values:
SELECT XMLElement ( "ShipToAddress"
, XMLAttributes ( customer_id as "CustomerNo"
, '' as "Code"
, substr(name,1,30) as "Name"
, '' as "Name2"
, substr(street||' '||house_nr,1,30) as "Address"
, '' as "Address2"
, city as "City"
, last_name ||' '|| first_name as "Contact"
, phone as "PhoneNo"
, '' as "CountryCode"
, fax as "FaxNo"
, zip_cd||' '||postal_code_extention as "PostCode"
, '' as "County"
, email as "EMail"
, website as "HomePage")) customer
FROM customers;
result should be:
<ShipToAddress CustomerNo="100001004" Code="3" Name="4C
Cons" Name2="" Address="Metrologielaan" Address2="" City="BRUSSEL" Contact="" PhoneNo="" CountryCode="BE" FaxNo="" PostCode="1130" County="" EMail="" HomePage="" />
and NOT (this is my result at the moment):
<ShipToAddress CustomerNo="100001004" Code="3" Name="4C
Cons" Address="Metrologielaan" City="BRUSSEL" CountryCode="BE" PostCode="1130"></ShipToAddress>;
Can someone help me with this please?
Edited by: willeha on Mar 5, 2009 7:18 AM -
Pages Not Displaying In Older Versions Of Safari
Several people have told me that my new site does not display in versions 1 or 2 of Safari. It works in Window IE and Firefox and Firefox on the Mac. The Home page will display if they click anywhere on the blank page. Is this an iWeb or .Mac problem and can it be fixed or what do you see?
www.rochestermntours.com
As a small business site, this must work, what should I do?
Thank You for your feedback.Your site looks great to me. I'd suggest that you try a variety of browsers. I had one of my pages (a blog home page) list about 18 recent stories. This caused people with IE7 to have their systems seem to crash. I reduced the number to 5 then it worked.
You'll want to play around with the different themes and see which one(s) work best for the widest number of browsers. I choose to use Modern because it seems to load the quickest.
You can read more in my comprehensive iWeb review here:
http://web.mac.com/resourcesforlife/journal/writings/Entries/2007/8/19iWebReview.html
Maybe you are looking for
-
Using PB G4 15 in. Trackpad froze and then machine auto shut down. Restart failed. V boot failed. Pram boots all failed. Has reached apple screen once but froze and auto shut down again. Please help. Ps note sure which OS as can't power up to check.
-
Mostly tables in process or scheduled for a longer period of time
Hi Folks, I am a newbie to SLT. Sorry if I ask some basic stuff. I am using HANA and SLT and can see below list of tables are in state or 'In Process' or 'Scheduled' for couple of days. For one of my Ztable its says 'scheduled' in HANA and trigger st
-
My Ipod nano 3rd generation will not connect to my laptop or restart and all it has is a blank screen with a red cross in a circle. It says to go to the support website, but i have found no useful information. Can anyone help?
-
JTable with ImageIcons does not react to even handling
Hi. I have a populated JTable with ONLY ImageIcons in it. I need to generate event responses on mouseClicks. However, any event listener I associate with this, nothing seems to be happening. (Somehow, I'm guess the ImageIcons - which are rendered on
-
I have been messaging a friend, no problems. But today it will not send and it switches to text messaging, which I have blocked on my phone. Neither of us have changed any settings, and I can still message other people, and he is receiving messages