D365 Ribbon Button shortcut to open a Document in SharePoint Online

I’ve come across a request where someone wanted quick access to a policy document which is commonly used by all CRM users. Documents like – a Policy Document, Terms Of Service, or absolutely a common User Guide!

Users find it tedious to remember and navigate to SharePoint to get hold of the same document frequently. So I thought, why not have a simple button to open the document in a new tab? Pretty easy. Here’s how we do it.

Ribbon Workbench

So, we use Ribbon Workbench to add a shortcut button to an entity’s form where if users feel they should look at the document while they’re working on the record, they can easily do so by just clicking it.

  1. Create a button on, say, Account entity form.
    createButton
  2. Use URL Action in Command to enter the SharePoint link to the document.
    ribbonAction
  3. Ensure what type of access you want for the document. Presumed that only people within the Organization should be able to use it.
    docAccess
  4. Use Copy Link feature to get rid of the % from the direct link and use the link in the URL Action and publish changes
    copyLinkButton
  5. Copy the link.
    copyTheLink
  6. And paste it in the URL Action property of the button
    pasteLink
  7. Make sure you select the Command you created and add it to the button as shown below, and maybe also a nice icon too!
    commandButtonJoin
  8. Finally, Publish changes.

Accessing the Document

Now, since you have published the button, we are ready to test.

  1. Go to Account for and click the button.
    clickButton
  2. It will take you to the document whose link you put it in the new tab (or whatever preference you had set for opening the link).
    openDocument

Pretty simple use case. 😊

 

Advertisement

3 thoughts on “D365 Ribbon Button shortcut to open a Document in SharePoint Online

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.