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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to Pass the ObjectID for Update Record operation from logic app

(0) ShareShare
ReportReport
Posted on by

HI,

I'm trying update the product detail using logic app dynamic operation update record action.

/datasets/@{encodeURIComponent(encodeURIComponent('ax url'))}/tables/@{encodeURIComponent(encodeURIComponent('DistinctProducts'))}/items/@{encodeURIComponent(encodeURIComponent('10025,sb'))}"
},

im still getting below error : "message": "Only 2 of 1 keys provided for lookup, provide keys for ProuctNumber.

could you please let me know how to pass the object id for update record.

Thanks
kannan

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Managed to find the solution and answer is to pass the company code, accoutnumer ex ( sb,10005)

  • Suggested answer
    Moiza Profile Picture
    21 on at

    Hi,

    Get the Entity's Key(s) on VS and put the same order(on LogicApps D365) or whatever order on HTTP Patch.

    Don't forget to always put DataAreaId field value and cross-company=true at the end (HTTP Pacth only)

    HTTP Pact-> ....data/Entity(dataAreId='1002',AccountCode='000300_054',etc)?cross-company=true

    LogicApps D365 FO -> Object id field: 1002,000300_054

    Example_5F00_Patch.PNG

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans