When editing a record, with metadata option to set the value on save, I can set the contact that edited the record. How can the same be done when deleting a record? Doesn't seem to be an option for it, since I need to check via plugin who's doing so.
I need to be able to validate whether the contact deleting a record has permission to do so via plugin.
Solved! Go to Solution.
@T1ago this is probably what you are looking for: http://oliverrodrigues365.com/2022/05/04/power-apps-portals-identify-portal-user-via-plug-in/
Power Apps Portals Super User
Hi T1ago,
You could set workflow for contact when 'Record is deleted'. While the plugin ask belongs to Dynamics CRM Customization part. I would recommend to migrate the post in CRM Community: https://community.dynamics.com/crm
https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/workflow-proce...
Rather than deleting directly, either
Hi @Johnnyg ,
Can the contact from Portals be retrieved in the workflow? I can't find a way to get to it
Hi @Fubar ,
The problem here is the delete control can no longer be on the list.
Always have to open the record and edit it, and in this case the only interaction is adding or removing that record, so editing it and set a flag to delete will be a bit lame. But it seems like the only alternative I have.
@T1ago this is probably what you are looking for: http://oliverrodrigues365.com/2022/05/04/power-apps-portals-identify-portal-user-via-plug-in/
Power Apps Portals Super User
Great, this is the way to do it.
I ended up adding a string field (since it doesn't work directly with the record) to keep the contact guid and pass it when updating the record with a flag like @Fubar had suggested.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.