Question

5
Replies
137
Views
PinakK62 Member since 2017 4 posts
Estes Express Lines
Posted: 2 years ago
Last activity: 2 years 3 months ago
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
Share this page LinkedIn