0
Siyeza created
I have two linked entities 'Policy Holder' which can have multiple 'Policies'. I have generated both entities using the power tools (added PolicyHolder as one of the navigations for Policy). I want to open the 'Create Policy' from the 'Policy Holder' Grid see below pic
how do I pass the PolicyHolderId to this dialog?
text: 'Add - Policy',
visible: function () {
return _permissions.create;
},
action: function (data) {
debugger
_createOrEditPolicyModal.open({ id: data.record.policyHolder.id });
}
this above doesnt seem to work