Table of Contents

How to identify the class and name of a locate page

Summary

A developer asks:

I inherited responsibility for an activity that uses a page named promptMyPage.  My understanding is that if this page doesn't already exist on the clipboard, it will be created as needed. I believe that an activity is used to create this page. 

How can I discover the class and name of the activity that creates this page? 

Suggested Approach

APrompt pages (also called indirect pages) appear in the parameter list of the activity when it is called from another activity.  When the activity is called, the system searches the clipbaord; if no page matching the name after the prefix prompt is present, the activity throws an exception.

It appears that you are thinking of locatable pages, a different facility for page names that start with the locate prefix.  At run time, if such a page name is present in the clipboard when needed, its content is validated using a supplied in the Pages & Classes definition.  If the content is wrong or the page is not in the clipboard, an activity is called to load the page. 

The class of the activity may be explicitly specified on the Pages & Classes tab (using the normal format class.activity), or it defaults to the Applies To key part of the activity.  At runtime, the system uses rule resolution to find the activity.

Locatable pages are supported by the When form, but not by the Activity form.


100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.