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
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
2 Answer(s)
-
0
Can the modal be opened normally? Is the parameter not passed correctly?
Please share the code of the corresponding controller.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Let me redo this proper first, I will come back
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)