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);
/ pega.u.ClientCache.find('pyWorkPage').get('Address').get('State').setvalue(prop1);
/ var prop5 = pega.u.ClientCache.find('pyWorkPage').get('Address');
// prop5.put("State", prop1);
/ 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***