Tuesday, November 20, 2018

Using "Set Trace Flags" does not generate trace files/logs.


Many of PeopleSoft developers know that the best way to debug an issue in PS is by generating a trace. But, what if they can’t generate trace logs?

There are many different ways of generating trace, the most common is checking the flags on the login page:





By selecting the appropriate flags in the above image, the PeopleSoft application should trigger necessary code and generate logs. But, if someone is facing an issue where the application is not generating the logs then it’s most likely because of the following settings in Application Server configuration file:





By default, TraceSql  & TracePC is set to 0 . In order to generate the trace logs, the masks should be updated with the appropriate setting/number. One of the example is TraceSqlMask=12319 & TracePCMask=4095. Once the settings are updated re-start the App Server unless “Allow Dynamic Changes” is set to Y.

For more information, please refer to the following PeopleTools Peoplebooks link





Thursday, November 15, 2018

PeopleSoft - Hide the Home Button in Fluid-Mode Components



  • The following is applicable only for PeopleTools 8.55 and after.
  • Launch App Designer in All the Environments  like PIH, HRMS, FSCM & etc
  • Open PT_HEADERPAGE page  (Note: Make a backup of this page: “PT_HEADERPAGE_BKUP”)
  • Change the PT_WORK.PT_BUTTON_HOME field (a Push Button) into an Edit Box. To do this, you'd have to delete the existing Push Button, and insert an Edit Box into the same place. Ensure in the Order tab that it's located in the same place. The purpose of adding the edit box is to not break the order.
  • Confirm the new Edit Box is pointing to the same PT_WORK.PT_BUTTON_ HOME Record Field
  • Go to the "Use" tab of the Edit Box's properties screen, and mark it as "Invisible"
  • Save

Screenshots:







Friday, November 9, 2018

Adding PeopleSoft Query (PSQUERY) to the Navigation



The output of a PeopeSoft Query can be mapped to a portal navigation in PIA (Pure Internet Architecture) which acts as an online report for the business users. This helps to reduce the work load of a developer by not creating new pages, components, menu entry and portal registration. The end user will still have an option of downloading the output report results to an Excel or CSV file format.

This can be performed by creating a PeopleSoft Generic URL entry in the‘Structure and Content’ reference in the following URL structure.
q/?ICAction=ICQryNameURL=PUBLIC.<Query Name>

When the business user navigates to the link, the PS Query is in turn gets executed and produces the output in the PIA.

Below is the screenshot of the ‘Structure and Content’  where you create the link to map to the portal navigation.



Using "Set Trace Flags" does not generate trace files/logs.

Many of PeopleSoft developers know that the best way to debug an issue in PS is by generating a trace.  But, what if they can’t generate t...