The pyPrimaryPageName parameter passed in a URL can reference only a top-level clipboard page. Any sub-page reference is stripped off.
tools.findPage("Support").putString("WorkObjectXML",tools.findPage("WorkTicket").getXML());
tools.findPage("Support").putString("ErrMsg",tools.findPage("WorkTicket").getMessagesAll());
return inActivity.getStepPage().getProperty(strReference).hasAttrError();
ClipboardPage thePage = tools.getPrimaryPage();
tools.getActive().getPageValue().getString("pyLabel");
@Pega-RULES:Utilities.callActivity(pyWorkPage,testtam, tools.getParameterPage());
ParameterPage pp = tools.getParameterPage();
ClipboardProperty portalList = myStepPage.getProperty("pyUserPortals");
ClipboardPage newPortalPage = tools.createPage("Embed-PortalLayout","");
Run the activity:
PublicAPI tools = null;
PRThread thisThread = (PRThread)ThreadContainer.get();
if (thisThread != null)
tools = thisThread.getPublicAPI();
else
throw new PRAppRuntimeException("Pega-RULES", 0, "Unable to obtain current thread");
HashStringMap params = new HashStringMap();
params.putString("pxObjClass", "Rule-Obj-Activity");
params.putString("pyClassName", primaryPage.getClassName());
params.putString("pyActivityName", activityName);
tools.doActivity(params, primaryPage, paramPage);*/
return false;
Here is the java code to populate a value list from comma seperated numbers!
ReplyDeleteClipboardPage ClipPage = tools.getStepPage();
String fieldvalues = tools.getParamValue("parameterThatHasCommaSeparatedNumbers");
String str="";
java.util.StringTokenizer stk = new java.util.StringTokenizer(parameterThatHasCommaSeparatedNumbers,",");
ClipboardProperty ValueListProp = ClipPage.getProperty(".nameOfValueList");
while(stk.hasMoreTokens())
{
ValueListProp.add( stk.nextToken());
}
-------------------
Vinod
Hello There,
ReplyDeleteGreat info! I recently came across your blog and have been reading along.
I thought I would leave my first comment. I don’t know what to say except that I have
Everytime this happens the user is faced with some "web service not available" kind of error messages. But there is no particular pattern here, i.e., each time a different web service is told as not available. Also strangely,this happens only for one user and not for others.
Upon our suggestion, the user has tried clearing his browser cache and restarting the browser. Also he has tried using 5 different desktops to see if that solves the issue. Still the issue continues to happen.
We are not sure how to proceed further on this. It will be very helpful if anybody can point us to what could be possibly causing this and how to fix it.
Great effort, I wish I saw it earlier. Would have saved my day :)
,Merci
Radhey
Hi There,
ReplyDeleteHip Hip Hooray! I was always told that slightly slow in the head, a slow learner. Not anymore! It’s like you have my back. I can’t tell you how much I’ve learnt here and how easily! Thank you for blessing me with this effortlessly ingestible digestible content.
I'm looking to find complete PEGA application covers all or most of the CSSA topics, the application is for self-study propose.
what I'm looking forward is a complete designing steps for end-end application, same as the exercises but as complete unit .
please accept my appreciation in advance
Very useful article, if I run into challenges along the way, I will share them here.
Thank you,
Irene Hynes
Hi There,
ReplyDeleteGratitude for putting up this prolific article! You truly make everything a cake walk. Genuinely good stuff, saving time and energy.
We have created BIX extract of Pega 7.1.5 work table to Data Hub via .xml. The field names in .xml do not match up clearly for our data Analytics team to decipher the information for their reporting. Is there an easy way to generate a data dictionary from the out of the box Pega Work Table? Or match UI field name/property to the back end blob data?
But great job man, do keep posted with the new updates.
Regards,
Pavan
Well explained .Keep updating
ReplyDeletepega online training bangalore