Issue: Class Embed-PropertyPromtValues name
Symptom
The prompt table values for a property rule is stored in the standard property Rule-Obj-Property.pyPromptTableList property.
This property contains the page class Embed-PropertyPromtValues. Note the incorrect spelling of the page class:
Embed-PropertyPromtValues
Prompt is missing the second P (Prompt).
You can use this property and page class to build a SmartPrompt HTML Property rule that retrieves its options from a prompt table:
{when $mode-show}
{$this-value}
{else} {* input or prompt *}
<SPAN nowrap>
{include Messages}
{WHEN $save(smartpromptclass) == ""}
{SAVE smartpromptclass = {% thisRef().fromDefinition("pyTableClass") %} }
{/WHEN}
{WHEN $save(inputsize) == ""}
{SAVE inputsize = {% thisRef().fromDefinition("pyExpectedSize") %} }
{/WHEN}
|<input name="{$this-Name}"
type="text"
value="{$this-Value}"
size="{$save(inputsize)}"
maxlength="{% thisRef().fromDefinition("pyMaxLength") %}"
ISNS_FIELDTYPE="RULEKEY"
ISNS_CLASS="Embed-PropertyPromtValues"
ISNS_POPUPTYPE="DIV"
ISNS_MYQUERY="&pyActivity=Embed-PropertyPromtValues.GetPromptList&className=FraudClaims-Data-GL-&propertyName=DAPGLAcctNo"
ISNS_DATANODE="pyLocalizedValue"
ONFOCUS="zUtil_SmartPromptFocusHandler()"
CLASS="InputIntellisenseStyle"
AUTOCOMPLETE="on">
</SPAN>
{end}
Since a misspelling exists in the class Embed-PropertyPromtValues, you need to hard-code the class name in your activity when retrieving the values of the prompt property as a list.
Solution
The typo in the Embed-PropertyPromtValues class name will not be changed, due to backward compatibility issues.