
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Create a Report Using XML Publisher &#8211; PeopleSoft	</title>
	<atom:link href="https://www.dbtutor.com/2016/06/02/create-report-using-xml-publisher-peoplesoft/feed" rel="self" type="application/rss+xml" />
	<link>https://www.dbtutor.com/2016/06/02/create-report-using-xml-publisher-peoplesoft</link>
	<description>Tips for Those Who Want to Learn</description>
	<lastBuildDate>Tue, 04 Apr 2017 05:33:54 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>
	<item>
		<title>
		By: Siva Musuluri		</title>
		<link>https://www.dbtutor.com/2016/06/02/create-report-using-xml-publisher-peoplesoft#comment-573</link>

		<dc:creator><![CDATA[Siva Musuluri]]></dc:creator>
		<pubDate>Tue, 04 Apr 2017 05:33:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbtutor.com/?p=1583#comment-573</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.dbtutor.com/2016/06/02/create-report-using-xml-publisher-peoplesoft#comment-572&quot;&gt;Nayan&lt;/a&gt;.

Yes, Nayan.. It&#039;ll work, in my case it&#039;s working fine now.

There&#039;s some app package code issues and we figured it out :)

Regards,
Siva]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.dbtutor.com/2016/06/02/create-report-using-xml-publisher-peoplesoft#comment-572">Nayan</a>.</p>
<p>Yes, Nayan.. It&#8217;ll work, in my case it&#8217;s working fine now.</p>
<p>There&#8217;s some app package code issues and we figured it out 🙂</p>
<p>Regards,<br />
Siva</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nayan		</title>
		<link>https://www.dbtutor.com/2016/06/02/create-report-using-xml-publisher-peoplesoft#comment-572</link>

		<dc:creator><![CDATA[Nayan]]></dc:creator>
		<pubDate>Mon, 03 Apr 2017 15:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbtutor.com/?p=1583#comment-572</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.dbtutor.com/2016/06/02/create-report-using-xml-publisher-peoplesoft#comment-571&quot;&gt;Siva Musuluri&lt;/a&gt;.

Hi Siva,
 Does unix systems can identify the &quot;cmd.exe&quot; code ?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.dbtutor.com/2016/06/02/create-report-using-xml-publisher-peoplesoft#comment-571">Siva Musuluri</a>.</p>
<p>Hi Siva,<br />
 Does unix systems can identify the &#8220;cmd.exe&#8221; code ?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Siva Musuluri		</title>
		<link>https://www.dbtutor.com/2016/06/02/create-report-using-xml-publisher-peoplesoft#comment-571</link>

		<dc:creator><![CDATA[Siva Musuluri]]></dc:creator>
		<pubDate>Mon, 03 Apr 2017 07:08:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbtutor.com/?p=1583#comment-571</guid>

					<description><![CDATA[Hi Milan,

We are successfully able to create .xls report into specific folder, but we are facing one issue with files move from one location to another location (like we want to copy all .xls files from RPTINST folder and move to other folder, at this point out of 63 files only 58 files are moving to new location.)

We have verified with the Report scheduler and all 63 files are generating.

We are using below unix code to move files from one location to another loc.

&#038;rptinst = &quot;\\psprcs02\PS-SHARE\output\SubVendor\Temp\&quot; &#124; CCI_XML_AET.PROCESS_INSTANCE.Value &#124; &quot;\*.xls&quot;;

MessageBox(0, &quot;&quot;, 0, 0, &quot;&#038;rptinst = &quot; &#124; &#038;rptinst);

&#038;dest1 = &quot;\\psprcs02\PS-SHARE\output\SubVendor\Report\&quot;;


&#038;cmd1 = &quot;cmd.exe /c move &quot; &#124; &#038;rptinst &#124; &quot; &quot; &#124; &#038;dest1;
WriteToLog(%ApplicationLogFence_Level1, &quot;&#038;cmd: &quot; &#124; &#038;cmd1);

Or is there any possibility to avoid creating subfolders under RPTINST folder for each Burst-value ?

Thanks in Advance,
Siva]]></description>
			<content:encoded><![CDATA[<p>Hi Milan,</p>
<p>We are successfully able to create .xls report into specific folder, but we are facing one issue with files move from one location to another location (like we want to copy all .xls files from RPTINST folder and move to other folder, at this point out of 63 files only 58 files are moving to new location.)</p>
<p>We have verified with the Report scheduler and all 63 files are generating.</p>
<p>We are using below unix code to move files from one location to another loc.</p>
<p>&amp;rptinst = &#8220;\\psprcs02\PS-SHARE\output\SubVendor\Temp\&#8221; | CCI_XML_AET.PROCESS_INSTANCE.Value | &#8220;\*.xls&#8221;;</p>
<p>MessageBox(0, &#8220;&#8221;, 0, 0, &#8220;&amp;rptinst = &#8221; | &amp;rptinst);</p>
<p>&amp;dest1 = &#8220;\\psprcs02\PS-SHARE\output\SubVendor\Report\&#8221;;</p>
<p>&amp;cmd1 = &#8220;cmd.exe /c move &#8221; | &amp;rptinst | &#8221; &#8221; | &amp;dest1;<br />
WriteToLog(%ApplicationLogFence_Level1, &#8220;&amp;cmd: &#8221; | &amp;cmd1);</p>
<p>Or is there any possibility to avoid creating subfolders under RPTINST folder for each Burst-value ?</p>
<p>Thanks in Advance,<br />
Siva</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ramkumar		</title>
		<link>https://www.dbtutor.com/2016/06/02/create-report-using-xml-publisher-peoplesoft#comment-566</link>

		<dc:creator><![CDATA[Ramkumar]]></dc:creator>
		<pubDate>Tue, 29 Nov 2016 21:53:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbtutor.com/?p=1583#comment-566</guid>

					<description><![CDATA[Hi 
       Using  the  Publish ( ) Method  . I am  able to  see  the  report output on the window. Data source is  Connected  Query.   
Is there a way  using  the peoplecode to send the  report to report manager as  well as to a specific  email Id  or to a  set of  users come  under a specific  Role.
Thanks
Ramkumar]]></description>
			<content:encoded><![CDATA[<p>Hi<br />
       Using  the  Publish ( ) Method  . I am  able to  see  the  report output on the window. Data source is  Connected  Query.<br />
Is there a way  using  the peoplecode to send the  report to report manager as  well as to a specific  email Id  or to a  set of  users come  under a specific  Role.<br />
Thanks<br />
Ramkumar</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nayan		</title>
		<link>https://www.dbtutor.com/2016/06/02/create-report-using-xml-publisher-peoplesoft#comment-565</link>

		<dc:creator><![CDATA[Nayan]]></dc:creator>
		<pubDate>Sun, 27 Nov 2016 15:09:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbtutor.com/?p=1583#comment-565</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.dbtutor.com/2016/06/02/create-report-using-xml-publisher-peoplesoft#comment-564&quot;&gt;Saket&lt;/a&gt;.

Hi Saket,

 You can use app engine with using if else block. If data found then process the report else generate log file saying that no data available.

Thanks,
Nayan]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.dbtutor.com/2016/06/02/create-report-using-xml-publisher-peoplesoft#comment-564">Saket</a>.</p>
<p>Hi Saket,</p>
<p> You can use app engine with using if else block. If data found then process the report else generate log file saying that no data available.</p>
<p>Thanks,<br />
Nayan</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Saket		</title>
		<link>https://www.dbtutor.com/2016/06/02/create-report-using-xml-publisher-peoplesoft#comment-564</link>

		<dc:creator><![CDATA[Saket]]></dc:creator>
		<pubDate>Wed, 23 Nov 2016 14:01:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbtutor.com/?p=1583#comment-564</guid>

					<description><![CDATA[I have one query about publishing report. 

I want process to publish report only if there is any data returned by the query. If there is no data then report should not be delivered. 

Is it possible]]></description>
			<content:encoded><![CDATA[<p>I have one query about publishing report. </p>
<p>I want process to publish report only if there is any data returned by the query. If there is no data then report should not be delivered. </p>
<p>Is it possible</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nayan		</title>
		<link>https://www.dbtutor.com/2016/06/02/create-report-using-xml-publisher-peoplesoft#comment-543</link>

		<dc:creator><![CDATA[Nayan]]></dc:creator>
		<pubDate>Fri, 10 Jun 2016 06:59:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbtutor.com/?p=1583#comment-543</guid>

					<description><![CDATA[Hi Milan,
 It would be great if you please clarify few things.
 What will happen ?
 1. If no data return by your PSQuery will BI Publisher generate blank report or Error ?
 2. If it will return blank report that fine but if not how to generate blank so that user can easily understand that based on my input value no data found on systems hence report got blank.

Nayan,]]></description>
			<content:encoded><![CDATA[<p>Hi Milan,<br />
 It would be great if you please clarify few things.<br />
 What will happen ?<br />
 1. If no data return by your PSQuery will BI Publisher generate blank report or Error ?<br />
 2. If it will return blank report that fine but if not how to generate blank so that user can easily understand that based on my input value no data found on systems hence report got blank.</p>
<p>Nayan,</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nayan		</title>
		<link>https://www.dbtutor.com/2016/06/02/create-report-using-xml-publisher-peoplesoft#comment-541</link>

		<dc:creator><![CDATA[Nayan]]></dc:creator>
		<pubDate>Fri, 10 Jun 2016 06:35:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbtutor.com/?p=1583#comment-541</guid>

					<description><![CDATA[Hi ,

Here is another example of using BI Publisher with Connected Query.
Few things you have to remember before using Connected Query &#038; BI Publisher.

1. Please make sure that your Parent Connected Query Should Returns any data otherwise You will get an Error Message, so for checking data you can use SQL Select statements like say &quot;SELECT COUNT(1) FROM YOU TABEL&quot;
2. Using Connected Query generate XML file and design your templates accordingly. 
3. In BI Publisher create data source as XML not Connected Query. please remember that.
4. This code is usefull to generate report through process scheduler where i believe that you have state record, App engine etc.
5. Last, It needless to say Connected Query used to build parent child relationship.

&lt;code&gt;
/** Import Connected Query Packages */
import PT_CONQRS:CONQRSMGR;
import PT_CONQRS:QUERYITEMPROMPT;
/** Import XMLP Packages */
import PSXP_RPTDEFNMANAGER:*;

Local string &#038;reportDefinition, &#038;connQueryName, &#038;connQueryXMLString, &#038;sDirSep, &#038;sWorkDir, &#038;sOutPutPath;
Local PSXP_RPTDEFNMANAGER:ReportDefn &#038;reportDefnObject;
Local Record &#038;connQueryPromptRec;
Local PT_CONQRS:CONQRSMGR &#038;connQueryObject;
Local array of PT_CONQRS:QUERYITEMPROMPT &#038;connQueryPromptsArray;
Local number &#038;nCounter;
Local File &#038;connQueryXMLFile;

Declare Function DeleteLocalDirectory PeopleCode PSXPFUNCLIB.FUNCLIB FieldFormula;
Declare Function GetDirSeparator PeopleCode PSXPFUNCLIB.FUNCLIB FieldFormula;

&#038;sDirSep = GetDirSeparator();
&#038;sWorkDir = GetEnv(&quot;PS_SERVDIR&quot;) &#124; &#038;sDirSep &#124; &quot;files&quot; &#124; &#038;sDirSep &#124; &quot;XMLP&quot; &#124; &#038;sDirSep &#124; WWPC0002_WW_AET.PROCESS_INSTANCE.Value &#124; &quot;_&quot; &#124; WWPC0002_WW_AET.EMPLID.Value;
CreateDirectory(&#038;sWorkDir, %FilePath_Absolute);

/** Define Report Defn &#038; Connected Query Name **/
&#038;reportDefinition = &quot;WWPC0002&quot;;
&#038;connQueryName = &quot;WWPC0002&quot;;

try
   
   /** Start by creating the Connected Query Object **/
   &#038;connQueryObject = create PT_CONQRS:CONQRSMGR(&quot;&quot;, &#038;connQueryName);
   /** If it can&#039;t be opened, throw an error **/
   If Not (&#038;connQueryObject.Open( False)) Then
      Error (&quot;Failed to open Connected Query.&quot;);
   End-If;
   /** Validate that all PSQueries within the Connected Query Exist **/
   If Not (&#038;connQueryObject.Validate()) Then
      Error (&quot;Unable to validate Connected Query.&quot;);
   End-If;
   
   /** Return an Array of Records with the prompts for each Query within the Connected Query **/
   &#038;connQueryPromptsArray = &#038;connQueryObject.QueriesPromptsArray;
   /** Loop through the Connected Queries and fill in each query&#039;s prompts as needed **/
   For &#038;nCounter = 1 To &#038;connQueryPromptsArray.Len
      &#038;connQueryPromptRec = &#038;connQueryPromptsArray [&#038;nCounter].QueryPromptRecord;
      &#038;connQueryPromptRec.EMPLID.Value = WWPC0002_WW_AET.EMPLID.Value;
      If &#038;connQueryPromptsArray [&#038;nCounter].QueryName = &quot;WWPC0029&quot; Or
            &#038;connQueryPromptsArray [&#038;nCounter].QueryName = &quot;WWPC0035&quot; Then
         &#038;connQueryPromptRec.PAY_END_DT.Value = WWPC0002_WW_AET.PAY_END_DT.Value;
      Else
         &#038;connQueryPromptRec.EFFDT.Value = WWPC0002_WW_AET.PAY_END_DT.Value;
      End-If;
   End-For;
   
   /** Use the RunToXMLFormattedString method to immediately execute the Connected Query to a String object **/
   &#038;connQueryXMLString = &#038;connQueryObject.RunToXMLFormattedString(&#038;connQueryPromptsArray);
   
   /** However, since it is &quot;formatted&quot; XML Publisher will insert Carriage Return and Line Feeds in the report. **/
   &#038;connQueryXMLString = Substitute(&#038;connQueryXMLString, &quot;&#062;&quot; &#124; Char(13) &#124; &quot;~&quot;, &quot;&#062;&quot;);
   &#038;connQueryXMLString = Substitute(&#038;connQueryXMLString, &quot;&#062;&quot; &#124; Char(10) &#124; &quot;~&quot;, &quot;&#062;&quot;);
   
   /** Now that the string is without formatting, write it out to an XML file. **/
   &#038;connQueryXMLFile = GetFile(&#038;sWorkDir &#124; &#038;sDirSep &#124; &quot;WWPC0002.xml&quot;, &quot;W&quot;, %FilePath_Absolute);
   &#038;connQueryXMLFile.WriteLine(&#038;connQueryXMLString);
   &#038;connQueryXMLFile.Close();
   
   /** Create the Report Definition Object and Get() the report **/
   &#038;reportDefnObject = create PSXP_RPTDEFNMANAGER:ReportDefn(&#038;reportDefinition);
   &#038;reportDefnObject.Get();
   
   /** Since the Report Definition&#039;s Data Source is an XML file, we can pass in the file we created at runtime **/
   &#038;reportDefnObject.SetRuntimeDataXMLFile(&#038;sWorkDir &#124; &#038;sDirSep &#124; &quot;WWPC0002.xml&quot;);
   
   /** get output directory path **/
   SQLExec(&quot;SELECT PRCSOUTPUTDIR FROM PS_CDM_LIST WHERE PRCSINSTANCE = :1&quot;, WWPC0002_WW_AET.PROCESS_INSTANCE, &#038;sOutPutPath);
   &#038;reportDefnObject.OutDestination = &#038;sOutPutPath;
   
   /** Process the report, thus running XML Publisher against the XML file that was created from the Connected Query **/
   &#038;reportDefnObject.ProcessReport(&quot;&quot;, &quot;ENG&quot;, %Date, &quot;PDF&quot;);
   
   /** Rename the Report File Name Based on Employee Id **/
   &#038;reportDefnObject.ReportFileName = WWPC0002_WW_AET.EMPLID.Value;
   
   /** publish report **/
   &#038;reportDefnObject.Publish(&quot;&quot;, &quot;&quot;, &quot;&quot;, WWPC0002_WW_AET.PROCESS_INSTANCE.Value);
   
catch Exception &#038;Ex
   Error (&#038;Ex.ToString());
end-try;

/** Cleaning the Files **/
try
   DeleteLocalDirectory(&#038;sWorkDir, %FilePath_Absolute + %Remove_Subtree);
catch Exception &#038;Exp
   Error (&#038;Exp.ToString());
end-try;
&lt;/code&gt;

Hope this help]]></description>
			<content:encoded><![CDATA[<p>Hi ,</p>
<p>Here is another example of using BI Publisher with Connected Query.<br />
Few things you have to remember before using Connected Query &amp; BI Publisher.</p>
<p>1. Please make sure that your Parent Connected Query Should Returns any data otherwise You will get an Error Message, so for checking data you can use SQL Select statements like say &#8220;SELECT COUNT(1) FROM YOU TABEL&#8221;<br />
2. Using Connected Query generate XML file and design your templates accordingly.<br />
3. In BI Publisher create data source as XML not Connected Query. please remember that.<br />
4. This code is usefull to generate report through process scheduler where i believe that you have state record, App engine etc.<br />
5. Last, It needless to say Connected Query used to build parent child relationship.</p>
<p><code><br />
/** Import Connected Query Packages */<br />
import PT_CONQRS:CONQRSMGR;<br />
import PT_CONQRS:QUERYITEMPROMPT;<br />
/** Import XMLP Packages */<br />
import PSXP_RPTDEFNMANAGER:*;</p>
<p>Local string &amp;reportDefinition, &amp;connQueryName, &amp;connQueryXMLString, &amp;sDirSep, &amp;sWorkDir, &amp;sOutPutPath;<br />
Local PSXP_RPTDEFNMANAGER:ReportDefn &amp;reportDefnObject;<br />
Local Record &amp;connQueryPromptRec;<br />
Local PT_CONQRS:CONQRSMGR &amp;connQueryObject;<br />
Local array of PT_CONQRS:QUERYITEMPROMPT &amp;connQueryPromptsArray;<br />
Local number &amp;nCounter;<br />
Local File &amp;connQueryXMLFile;</p>
<p>Declare Function DeleteLocalDirectory PeopleCode PSXPFUNCLIB.FUNCLIB FieldFormula;<br />
Declare Function GetDirSeparator PeopleCode PSXPFUNCLIB.FUNCLIB FieldFormula;</p>
<p>&amp;sDirSep = GetDirSeparator();<br />
&amp;sWorkDir = GetEnv("PS_SERVDIR") | &amp;sDirSep | "files" | &amp;sDirSep | "XMLP" | &amp;sDirSep | WWPC0002_WW_AET.PROCESS_INSTANCE.Value | "_" | WWPC0002_WW_AET.EMPLID.Value;<br />
CreateDirectory(&amp;sWorkDir, %FilePath_Absolute);</p>
<p>/** Define Report Defn &amp; Connected Query Name **/<br />
&amp;reportDefinition = "WWPC0002";<br />
&amp;connQueryName = "WWPC0002";</p>
<p>try</p>
<p>   /** Start by creating the Connected Query Object **/<br />
   &amp;connQueryObject = create PT_CONQRS:CONQRSMGR("", &amp;connQueryName);<br />
   /** If it can't be opened, throw an error **/<br />
   If Not (&amp;connQueryObject.Open( False)) Then<br />
      Error ("Failed to open Connected Query.");<br />
   End-If;<br />
   /** Validate that all PSQueries within the Connected Query Exist **/<br />
   If Not (&amp;connQueryObject.Validate()) Then<br />
      Error ("Unable to validate Connected Query.");<br />
   End-If;</p>
<p>   /** Return an Array of Records with the prompts for each Query within the Connected Query **/<br />
   &amp;connQueryPromptsArray = &amp;connQueryObject.QueriesPromptsArray;<br />
   /** Loop through the Connected Queries and fill in each query's prompts as needed **/<br />
   For &amp;nCounter = 1 To &amp;connQueryPromptsArray.Len<br />
      &amp;connQueryPromptRec = &amp;connQueryPromptsArray [&amp;nCounter].QueryPromptRecord;<br />
      &amp;connQueryPromptRec.EMPLID.Value = WWPC0002_WW_AET.EMPLID.Value;<br />
      If &amp;connQueryPromptsArray [&amp;nCounter].QueryName = "WWPC0029" Or<br />
            &amp;connQueryPromptsArray [&amp;nCounter].QueryName = "WWPC0035" Then<br />
         &amp;connQueryPromptRec.PAY_END_DT.Value = WWPC0002_WW_AET.PAY_END_DT.Value;<br />
      Else<br />
         &amp;connQueryPromptRec.EFFDT.Value = WWPC0002_WW_AET.PAY_END_DT.Value;<br />
      End-If;<br />
   End-For;</p>
<p>   /** Use the RunToXMLFormattedString method to immediately execute the Connected Query to a String object **/<br />
   &amp;connQueryXMLString = &amp;connQueryObject.RunToXMLFormattedString(&amp;connQueryPromptsArray);</p>
<p>   /** However, since it is "formatted" XML Publisher will insert Carriage Return and Line Feeds in the report. **/<br />
   &amp;connQueryXMLString = Substitute(&amp;connQueryXMLString, "&gt;" | Char(13) | "~", "&gt;");<br />
   &amp;connQueryXMLString = Substitute(&amp;connQueryXMLString, "&gt;" | Char(10) | "~", "&gt;");</p>
<p>   /** Now that the string is without formatting, write it out to an XML file. **/<br />
   &amp;connQueryXMLFile = GetFile(&amp;sWorkDir | &amp;sDirSep | "WWPC0002.xml", "W", %FilePath_Absolute);<br />
   &amp;connQueryXMLFile.WriteLine(&amp;connQueryXMLString);<br />
   &amp;connQueryXMLFile.Close();</p>
<p>   /** Create the Report Definition Object and Get() the report **/<br />
   &amp;reportDefnObject = create PSXP_RPTDEFNMANAGER:ReportDefn(&amp;reportDefinition);<br />
   &amp;reportDefnObject.Get();</p>
<p>   /** Since the Report Definition's Data Source is an XML file, we can pass in the file we created at runtime **/<br />
   &amp;reportDefnObject.SetRuntimeDataXMLFile(&amp;sWorkDir | &amp;sDirSep | "WWPC0002.xml");</p>
<p>   /** get output directory path **/<br />
   SQLExec("SELECT PRCSOUTPUTDIR FROM PS_CDM_LIST WHERE PRCSINSTANCE = :1", WWPC0002_WW_AET.PROCESS_INSTANCE, &amp;sOutPutPath);<br />
   &amp;reportDefnObject.OutDestination = &amp;sOutPutPath;</p>
<p>   /** Process the report, thus running XML Publisher against the XML file that was created from the Connected Query **/<br />
   &amp;reportDefnObject.ProcessReport("", "ENG", %Date, "PDF");</p>
<p>   /** Rename the Report File Name Based on Employee Id **/<br />
   &amp;reportDefnObject.ReportFileName = WWPC0002_WW_AET.EMPLID.Value;</p>
<p>   /** publish report **/<br />
   &amp;reportDefnObject.Publish("", "", "", WWPC0002_WW_AET.PROCESS_INSTANCE.Value);</p>
<p>catch Exception &amp;Ex<br />
   Error (&amp;Ex.ToString());<br />
end-try;</p>
<p>/** Cleaning the Files **/<br />
try<br />
   DeleteLocalDirectory(&amp;sWorkDir, %FilePath_Absolute + %Remove_Subtree);<br />
catch Exception &amp;Exp<br />
   Error (&amp;Exp.ToString());<br />
end-try;<br />
</code></p>
<p>Hope this help</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi		</title>
		<link>https://www.dbtutor.com/2016/06/02/create-report-using-xml-publisher-peoplesoft#comment-540</link>

		<dc:creator><![CDATA[Ravi]]></dc:creator>
		<pubDate>Wed, 08 Jun 2016 16:08:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbtutor.com/?p=1583#comment-540</guid>

					<description><![CDATA[Hi,

Is it possible to share any examples on rowset based or other data source like XML  related xml publishers??

Thanks]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>Is it possible to share any examples on rowset based or other data source like XML  related xml publishers??</p>
<p>Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi		</title>
		<link>https://www.dbtutor.com/2016/06/02/create-report-using-xml-publisher-peoplesoft#comment-539</link>

		<dc:creator><![CDATA[Ravi]]></dc:creator>
		<pubDate>Wed, 08 Jun 2016 16:03:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbtutor.com/?p=1583#comment-539</guid>

					<description><![CDATA[Hi Milan,

I found the issue and its working fine now.

Thanks for your details explanation in the article.

Regards
Ravi]]></description>
			<content:encoded><![CDATA[<p>Hi Milan,</p>
<p>I found the issue and its working fine now.</p>
<p>Thanks for your details explanation in the article.</p>
<p>Regards<br />
Ravi</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
