GetDynamicPrompt
Description
If you want a diagnostic application class to prompt users for additional information that you can use as dynamic criteria for the diagnostic, you must define a public method called GetDynamicPrompt within the class.
Before you can use the GetDynamicPrompt method, you must first use the base class SetProperty method within the constructor to set the base class Where property to True , for example:
&status = %Super.SetProperty(%This, "Where", "Boolean", True);
Note:
If the Where property
is False, Diagnostics Framework ignores the GetDynamicPrompt method.
Within the GetDynamicPrompt method, use the base class InsertQuestion method to define the questions used to prompt the users.
Example
method GetDynamicPrompt
Local boolean &status;
&status = %Super.InsertQuestion("Recs", "Enter Records to search for, beginning
with: ", "String", True);
end-method;