Question
WellsFargo
US
Last activity: 11 Feb 2016 19:22 EST
Looking for clarity in implementing a remote list.
We have a local storage created for a data type and this needs to be delegated to the business users. Some of the columns in this local storage should be displayed as drop downs. The valid values of this dropdown should come from a different table. It appears like remote list is a solution but the implementation for this not very clear. Any suggestions?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
WellsFargo
US
Phani,
Sorry about the very delayed response, I believe the SR person would have updated you. We are going with building our own UI with Grid controls and drop downs.
Thanks
Gowri
Pegasystems Inc.
IN
Hi Gowri,
Is this different table out of PRPC database schema?
You could simply use a pxDropDown control and source it from a Data page and that Data page can fetch data from that table.
Let us know if this helps or if I am missing something here in requirements.
WellsFargo
US
hi Pankaj,
It is a table in PRPC. We used local storage as recommended by PEGA instead of data tables. PEGA provides a delegate option for the local storage that we made use of. So now from the Business Admin portal, they are able to edit the records in this table. We are reusing the OOTB "DelegatedRules" section
The problem we are facing is one of the columns in this table, is supposed to be a drop down. And I am aware that when we declare the corresponding property as "Prompt list" we can achieve this. But what we need is get these drop down values from a different table which is also a local storage. I tried defining this property with "table type" as "Remote List", but it does not seem to work
Pegasystems Inc.
IN
would it make sense/feasible to access data by choosing either of the options 'refer data page' or 'copy data from a data page' from property rule form to load drop down results?
Please share your thoughts/comments, Thank you!
psahukaru
Pegasystems Inc.
IN
- did referring to data page hasn't worked?
- would it make sense/feasible to access data by choosing either of the options 'refer data page' or 'copy data from a data page' from property rule form to load drop down results?
- would writing a custom control be a convincing option? Please share your thoughts/comments.
8<-------------------- custom control --------------------------->8
<%
try{
StringMap activityMap = new HashStringMap();
activityMap.putString("pxObjClass", "Rule-Obj-Activity");
activityMap.putString("pyClassName", tools.getParameterPage().getString("ActivityRuleInClassName"));
activityMap.putString("pyActivityName", tools.getParameterPage().getString("ActivityRuleName"));
String activityParams = tools.getParamValue("ActivityParametersList");
String[] arr = activityParams.split(";");
ParameterPage pp = tools.getParameterPage();
for(int i=0; i< arr.length;i++) {
pp.putString(arr[i].split("=")[0],arr[i].split("=")[1]);
}
tools.doActivity(activityMap, tools.getPrimaryPage(), pp);
tools.getParameterPage().put("tempPage", tools.getParamValue("CustomClipboardPage") + ".pxResults");
}catch(Exception e) {}
%>
<pega:save name="currPropertyValue" ref = "$this-value"/>
- did referring to data page hasn't worked?
- would it make sense/feasible to access data by choosing either of the options 'refer data page' or 'copy data from a data page' from property rule form to load drop down results?
- would writing a custom control be a convincing option? Please share your thoughts/comments.
8<-------------------- custom control --------------------------->8
<%
try{
StringMap activityMap = new HashStringMap();
activityMap.putString("pxObjClass", "Rule-Obj-Activity");
activityMap.putString("pyClassName", tools.getParameterPage().getString("ActivityRuleInClassName"));
activityMap.putString("pyActivityName", tools.getParameterPage().getString("ActivityRuleName"));
String activityParams = tools.getParamValue("ActivityParametersList");
String[] arr = activityParams.split(";");
ParameterPage pp = tools.getParameterPage();
for(int i=0; i< arr.length;i++) {
pp.putString(arr[i].split("=")[0],arr[i].split("=")[1]);
}
tools.doActivity(activityMap, tools.getPrimaryPage(), pp);
tools.getParameterPage().put("tempPage", tools.getParamValue("CustomClipboardPage") + ".pxResults");
}catch(Exception e) {}
%>
<pega:save name="currPropertyValue" ref = "$this-value"/>
<SELECT NAME="<p:r n="$this-name" />" value="<p:r n="$this-value" />">
<option value=""> </option>
<pega:forEach name="param.tempPage">
<pega:save name="iterPropertyValue" ref = "$this.pzInsKey"/>
<option value="<p:r n="$this.pzInsKey" />"
<pega:when test="$save(currPropertyValue) == $save(iterPropertyValue)">selected</pega:when>>
<p:r n="$this.pyLabel" /></option> </pega:forEach >
</SELECT>
8<-------------------- custom control --------------------------->8
Thank you!
psahukaru
Accepted Solution
WellsFargo
US
Phani,
Sorry about the very delayed response, I believe the SR person would have updated you. We are going with building our own UI with Grid controls and drop downs.
Thanks
Gowri
Pegasystems Inc.
US
Could you please reply with the SR number that you have for this issue so that we may track it in the Community?
Thanks!
Pegasystems Inc.
IN
Thank you Gowri for the update.
Chevron
US
Hi Gowri,
Could you please help me understand where will we have an option to delegate a Data Type defined from Data Explorer in Pega 7. Once it has been delegated will it be available from My Rules option for an operator when he has access to Delegated Rules in the application ?