This project has moved. For the latest updates, please go here.

Add link to the new entity record

Oct 10, 2016 at 12:31 PM
Edited Oct 10, 2016 at 12:33 PM
Hello, I have a code that creates the opportunity.

I call that code from action, and I use Notify.js to set the notification that would lead to this new opportunity.

I have a question how to add a url to the new entity record? I just need some sample how to set link to go to some web address.
Dec 9, 2016 at 8:03 PM
In the Notify.add function there are buttons you can specify, with custom functions to execute when the button is clicked. So you can easily add a button with a function that calls or Xrm.Utility.openEntityForm to redirect to the new record, provided you have the ID from however you're creating it.

Check out the documentation for more info:

Marked as answer by Liger on 2/26/2017 at 1:20 PM