How to make promise wait in Dynamics CRM while retrieving user details from Xrm.WebApi.online.retrieveRecord?
I am working on a Dynamics 365 project where I need to compare the logged-in user’s Azure AD ID with a value from a form field and display an icon based on the comparison result. My code attempts to perform this comparison but is not working as expected.
How to make promise wait in Dynamics CRM while retrieving user details from Xrm.WebApi.online.retrieveRecord?
I am working on a Dynamics 365 project where I need to compare the logged-in user’s Azure AD ID with a value from a form field and display an icon based on the comparison result. My code attempts to perform this comparison but is not working as expected.