My Oracle Support Banner

How To Access Application Level PropertySet In PM/PR (Doc ID 2393456.1)

Last updated on MAY 01, 2018

Applies to:

Siebel CRM - Version 8.1.1.14.14 [IP2014] and later
Information in this document applies to any platform.

Symptoms

Problem Summary
---------------------------------------------------
Trying to access Application level PropertySet in PM/PR files.

Repro steps
---------------------------------------------------
Defined a global Property Set at the Application level. So on Application_Start event, defined a Property Set as below:
var globalPS = TheApplication().NewPropertySet();

Using SetProperty and GetProperty to write and read values from this Property Set in applet and BC server scripts as needed.
Example below:
TheApplication().globalPS.SetProperty("prevServContactFirstName", this.BusComp().GetFieldValue("TDS Contact First Name"));
if(TheApplication().globalPS.GetProperty("prevServContactFirstName") == "")

This has been working fine but now want to access the global PS value in our PM/PR and not able to do it.
Both the below options in PR are failing:
SiebelApp.S_App.globalPS.GetProperty("prevAddlLN")
TheApplication.globalPS.GetProperty("prevAddlFN")

Basically SiebelApp.S_App.globalPS is returning 'undefined'.


Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.