Question

5
Replies
181
Views
Close popover
Pinak Kumar (PinakK62)
Estes Express Lines

Estes Express Lines
US
PinakK62 Member since 2017 4 posts
Estes Express Lines
Posted: July 16, 2018
Last activity: July 18, 2018
Closed

Create Work OOTB - Pega Hybrid App offline mode

Can anyone please let me know how to pass parameters to create work OOTB functionality which is a supported control in offline mode. I have tried all the below Java script options but none of them seem to work. Thanks in advance to anyone willing to help.

function createNewWork$<ClassName>(){
alert("Test Value");
console.log("unsched");
var prop1 = pega.u.ClientCache.find('D_DisplayCaseInfo').get('DeliveryOption').getValue();
alert(prop1);

/&nbsp; pega.u.ClientCache.find('pyWorkPage').get('Address').get('State').setvalue(prop1);
/&nbsp; var prop5 = pega.u.ClientCache.find('pyWorkPage').get('Address');
// prop5.put("State", prop1);
/&nbsp; alert(prop5);
// pega.ui.ClientCache.find("pyWorkPage").put("pyNote",prop1);
//pega.u.ClientCache.find('pyWorkPage').get('Customer').get('Name').put(prop1);

var pgName = pega.u.ClientCache.find('pyWorkPage.Customer');
pgName.put("Name", prop1);

}

***Updated by moderator: Lochan to update platform capability***

Low-Code App Development Mobile
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.