RE: When i am trying to get the status of the record from lookup using the below script on form load i am facng an issue. Please help me what i can do to resolve the issue.
There seems to be an issue with the function "displaynotification". The error message "ReferenceError: Web resource method does not exist: displaynotification" suggests that the function might not be defined or registered correctly as a web resource in Dynamics.
To troubleshoot this issue, you can try the following:
1. Make sure that the function "displaynotification" is defined in the web resource and that it is being called correctly.
2. Check if the web resource is registered correctly in Dynamics. Make sure that the web resource is properly added to the form or the component where it is being used.
3. If you are using the "Xrm.WebApi" object to make a web API request, make sure that you have the correct syntax and that the required parameters are being passed correctly.
4. If the issue persists, you can try debugging the function by adding a "debugger;" statement at the beginning of the function and then use the browser's developer console to inspect the variables and see what might be causing the error.