Create XML Files with the PeopleCode XMLDoc Object

Опубликовано: 29 Сентябрь 2024
на канале: PeopleTools Tech Tips
1,783
18

Create XML Files using the XMLDoc Object in PeopleCode.


All objects and instructions are available at PeopleToolsTechTips.com
https://peopletoolstechtips.com/creat...

Several tools in PeopleSoft use and XML file as a data source.
Prominent among these is the BI Publisher reporting tool.
We can use PeopleTools to quickly generate the data, enrich and shape it before sending it on to the receiving utility.

This video discusses the XMLDoc method of creating an XML File using PeopleTools and PeopleCode.

The process in brief:
1. Create and load a rowset
2. Enrich the data in that rowset
3. Instantiate the XMLDoc object
4. Load the XMLDoc with the rowset data
5. Extract the XML Using XMLDoc's GenFormattedXmlString() method
6. Write the file

Production Notes:
A PT3 Production
Presenter: Randall Groncki
Camera Kid: Anjelica Groncki

Music: Vlad Gluschenko — Overseas
License: CC BY 3.0: https://creativecommons.org/licenses/...
   / @vladgluschenkomusic