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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Any way of getting record url via SQL Query?

(0) ShareShare
ReportReport
Posted on by 1,577

Hello,

 I am building up a query on various FilteredViews. In my output I would like to include a link to each record.

Is there any way of doing this? Ideally it would be like the recordUrl available in workflows.

Thanks.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Tushar2016CRM Profile Picture
    1,130 on at

    HI ,

    Please check below link if it helps:

    www.crmug.com/.../how-to-make-urls-that-link-to-crm-2011-entities

    Thanks

  • Tim Dutcher Profile Picture
    2,100 on at

    Also, see the following for the latest details about constructing URLs for CRM records, views, etc.

    msdn.microsoft.com/.../gg328483.aspx

  • Seamus Profile Picture
    1,577 on at

    Thanks,  but how do I get the actual id of the record to link to it?

  • Verified answer
    Tim Dutcher Profile Picture
    2,100 on at

    All entities in CRM have a primary key of type uniqueidentifier (in SQL). That field name is a concatenation of the entity logical name and "id". So, that's the GUID you need to identify a record.

    Does that help or am I still not understanding your question correctly?

  • Seamus Profile Picture
    1,577 on at

    Thanks Tim - I realised that just after I posted - sorry for being stupid and thanks for your help!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans