Invoke A PeopleSoft Query Containing A Prompt Through PIA


This article describes you to implement the component to invoke PeopleSoft Query using with a Prompt on PIA

This example is of PeopleCode implemented on Component PeopleCode:

Local string &url;
Local Rowset &RST;

&url = GenerateQueryContentURL(%Portal, %LocalNode, "QueryName", True, True);

&url = &url | "&BIND11=" | "Param1" | "&BIND2=" | PERSON.EMPLID.Value;

&MYRST = GetLevel0();
&MYRST.GetRow(1).GetRecord(Record.MYBASIC_WRK).GetField(Field.URL_1).Value = &url;