PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Retrieve Trace File Name During On-Line Session

edited Aug 2, 2017 5:00AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 1 commentAnswered

I am developing a page that allows a user to browse, download or delete their online trace file. (System administrators don't like to give users direct delete access to the LOGS folder).

I am using PeopleTools 8.51 against SQL Server 2008 R2. I built a work record that contains the following RowInit PeopleCode. The purpose of the code is to discover the name of the trace file:

Local ApiObject &api_session;

Local String &str;

/** Get Session ApiObject **/

&api_session = %Session;

&str = &api_session.TraceSettings.TraceFile;

MessageBox(0, "", 0, 0, "Trace File: " | &str);

The MessageBox returns an empty value. Can anyone help?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center