Skip to main content

Notifications

Dynamics 365 Community / Forums / Sales forum / open an account form v...
Sales forum
Suggested answer

open an account form via an alternate key

Posted on by 85

I have non D365 application which has the ability to create a link which can point to a record and provide a variable.

EG myurl.com.au?id=123456

where 123456 is the account id in in the external system

I am wanting to open the account record say below

https://orgaaaaa.crm6.dynamics.com/main.aspx?appid=bb8000ef-1e77-ec11-8d21-002248183d6f&pagetype=entityrecord&etn=account&id=8fe1d17a-0a4d-ec11-8f8e-022248159859

I have created and alternate key against a field alternateID where we are storing the external clientid (123456)

Is it possible to add the alternateID to the URL without having the record GUID

Categories:
  • Mark TVC Profile Picture
    Mark TVC 85 on at
    RE: open an account form via an alternate key

    I thought this may be the case.  I don't have the capacity in the external app to fetch the GUID.  could I point it to a "redirecting"  Html page to fetch the GUID?  I have been working with a Java script and adding it as a web resource, but still getting errors

    If so how would I do that?

    I would be thinking the "Process" I'm trying to replicate is something like this.

    - Send id to redirect HTML (eg mywebsite.com/redircet.html?id=123456)

    - redirect.html has a script to fetch the GUID

    - creates the new revised link to the D365 record

    - forwards to that url

    Any code her would be very helpful.

  • Mark TVC Profile Picture
    Mark TVC 85 on at
    RE: open an account form via an alternate key

    Hi Amit,

    Thank you for this.  Yes I would like to open the record.

  • Suggested answer
    Abdul Wahab Profile Picture
    Abdul Wahab 12,070 Moderator on at
    RE: open an account form via an alternate key

    Hi Mark TVC ,

    Before opening the record. Fetch GUID with the help of an alternate key and then open the record using the GUID.

  • Suggested answer
    Amit Katariya007 Profile Picture
    Amit Katariya007 5,801 Moderator on at
    RE: open an account form via an alternate key

    No it is not possible because GUID is unique id related with each CRM components. And to open any record we need its GUID. 

    Do you want to open record or fetch it's related data because if you want record data in your code then we don't need guid we can provide other parameters. 

    Thank you, 

    Amit Katariya

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,186 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,996 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans