Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Pass alternate key to lookup alternate key

(0) ShareShare
ReportReport
Posted on by 410

We recently moved to CRM online, and trying to limit number of application interactions have been setting up a number of alternate keys. 

On one of our entities the alternate key fields are lookups to another entity. Example below.

  • Entity 1
    • Fields
      •    Entity1id {pk}
      •    Entity1altkey {string}
    •    AlternateKey
      • {Entity1altkey}
  • Entity 2
    • Fields 
      •    Entity2id {pk}
      •    Entity2altkey {string}
    • AlternateKey
      • {Entity2altkey}
  • Entity 3
    • Fields 
      •    Entity3id {pk}
      •    Entity3_Entity1id
      •    Entity3_Entity2id
    • AlternateKey
      • {Entity3_Entity1id, Entity3_Entity2id}

I have been successful calling an update passing /entity3s(_entity3_entity1id_value=1231234-1234-1234-1234-123412341234,_entity3_entity2id_value=1231234-1234-1234-1234-123412341234), but what I want to do to prevent having to prescan Dynamics is /entity3s(_entity3_entity1id_value=/entity1s(entity1altkey='string1'), _entity3_entity2id_value=/entity2s(entity2altkey='string2'))

Has anyone been successful doing this? Is it possible?

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 149 Super User 2025 Season 1

#2
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 53 Super User 2025 Season 1

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 32 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans