Monday 14 October 2019

Getting a D365 Record ID via Bookmark

This is a nifty trick for getting the ID of a record in D365:

1. Create a new bookmark with the following as the page:

javascript: if (window.prompt("CRM Record GUID is :", $("iframe").filter(function () { return ($(this).css("visibility") == "visible") })[0].contentWindow.Xrm.Page.data.entity.getId().slice(1, -1))) { }

2. Navigate to the record you require in D365.

3. Hit the bookmark.

No comments:

Post a Comment