PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Does anyone know details about "%metadata"?

edited Jan 28, 2020 11:17AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 11 commentsAnswered

App Pkg PTS_SEARCH.Utilities

REM Get %Metadata:ComponentDefn:ComponentDefn;

method GetCurrentComponentDefn

   /+ Returns %Metadata:ComponentDefn:ComponentDefn +/

   Local %metadata:ComponentDefn:ComponentDefn_Manager &m_mgrComponent;

   Local %metadata:ComponentDefn:ComponentDefn &defn;

  

   /* Create the manager object */

   &m_mgrComponent = create %metadata:ComponentDefn:ComponentDefn_Manager();

  

   /* Build the key */

   Local %metadata:Key &key = create %metadata:Key(key:Class_PanelGroup, %PanelGroup, key:Class_Market, %Market);

  

   /* Make sure it exists */

   If &m_mgrComponent.DefnExists(&key) Then

          &defn = &m_mgrComponent.GetDefn(&key);   <------ THIS CODE GETS AN EXCEPTION "Caught Exception: You do not have access to objects of type COMPONENT. (78,7) (2,-1) PTS_SEARCH.Utilities.OnExecute  Name:GetCurrentComponentDefn  PCPC:411  Statement:9"

   End-If;

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