Fun as always working with Dynamics 365 🙂 Kept getting this typical error on creation of a new record which had some look up values. “The requested record was not found or you do not have sufficient permissions to view it.”
In this scenario, I have a requirement where I user wants to select Account on Opportunity entity On selection of account user only wants to see those Contacts which are child records of selected account or a contact which is primary contact on selected account.
Below is a sample code which gets data from a custom entity by passing name of the record – In code below, I am triggering function ‘CheckAndSetOutcode’ on change of a field on a form (post code in this case)
Few simple steps to hide or show a ribbon button depending on the value of a field on a form. Open your solution which contains entity you need to add button to using Workbench Select Entity (in my case Task) and then expand Enable Rules Right click on Enable Rules and Add New Give […]
It was easy to get Guid Id of a record on form as it was being displayed in URL however in CRM 2013/2015 it does not. Sometimes we need an id of record from URL so below is a simple solution to get the id