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...