I needed to fix an issue with a customised button in the ribbon in my Dynamics CRM environment. It is for copy functionality and is running through a javascript.
The functionality is failing for a lookup field in the entity, which was recently added. From my last question's response, I understood that lookup fields need to be handled in a different way because they are actually combination of three separate values.
But, unfortunately this didn't seem to work, when I added this code in the existing script, may be I did something wrong, I'm not sure. But when I added the script, the button became unresponsive. Is there any other way I can fix this? I had one more small question: Xrm.Page.data.entity.attributes.get("to").getValue()- does the "to" part needs to be replaced with schema name of the field?
Well, I tried it, but that didn't work either. Just needed some clarification on that as well.
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.