web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Dynamically build URL on Grid and show as a button

(0) ShareShare
ReportReport
Posted on by 6

We need to link from CRM to other systems in a grid, and I'd like to do this via a button.  We have an Entity that contains our customer accounts with a second entity with account types which contains a URL mask for other systems.  Like https://system123.com/acctid=@id .  I'd like to create a grid based on the customer account entity which references the secondary Account Type entity (it's a lookup field on the customer account entity) and build the URL from an account id that's on the customer accounts entity and make the button a hyperlink.

Example:

Customer Account Entity

accountid - 123

accountname - Company ABC

accounttype - 4790648E-D1BF-4EA0-97D7-8672E4CA673E

Account Type Entity 

accounttypeid - 4790648E-D1BF-4EA0-97D7-8672E4CA673E

accounttypename - Bookstore

accounturl - https://system123.com/acctid=@id

In the Grid I need it to show something like this:

Link Account Name Account Number Account Type
{img} Company ABC 123 Bookstore

And clicking the Img button it would link to https://system123.com/acctid=123

This seems easily enough to do, but how can I do this ???  For the life of me I can't find any way.  I'd really rather not have to add a URL field to the Customer Account Entity with the URL's since all the details are there to built dynamically easily enough, and if it changes I"d have to update every one of them.  Surely as modern of a system as MS CRM 365 is there's some way to do this.  

This is CRM 365 (v8) On Prem.

Thanks for any advise...

*This post is locked for comments

I have the same question (0)

Under review

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans