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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Use a Dynamic Table Na...
Power Automate
Answered

Use a Dynamic Table Name in 'Update a Row' Dataverse Action

(1) ShareShare
ReportReport
Posted on by 304

I am trying to use a dynamic table name in the Update a Row Dataverse action and am hitting a syntax challenge.

The images below show what the peek code output is if I did it the normal way and when I try to use a dynamic table name.

Update a row 2 fails with "The request entity's media type 'text/plain' is not supported for this resource."

Is it even possible to do what I am trying to do? 

Thanks

 
dynamic-update-a-row.png

 

 

Categories:
I have the same question (0)
  • Verified answer
    Brian_The_Tran Profile Picture
    10 on at

    Have you found a solution for this?  I see your post and I am able to figure out the solution for what I am trying to do.  "Row Item" value must be in the JSON format i.e. {"firstname":"test", "lastname":"testtest"}.  For your scenario, it would be {"item/activatestageid@odata.bind":"processstages(@{variables('Activate Stage ID')})"}. This will get assigned to "parameters" by the flow at run time as you can see from the output you have shown.

  • donalmc Profile Picture
    304 on at

    Yes - and thanks for reminding me, as I had intented to update this post.

    I solved it exactly as you describe - the JSON format is the key.

     

    {
    "activestageid@odata.bind": "/processstages(@{variables('Active Stage ID')})"
    }

     

    donalmc_0-1662712408094.png

     

  • Mattw112b Profile Picture
    1,088 on at

    I have this exact scenario but the "Row Item" I want to update is a Option Set.  What would I use for the JSON for that?  I've tried several things, so hoping someone knows.

  • Mattw112b Profile Picture
    1,088 on at

    nvm, looks like I was overthinking it I just did this and it worked:

     

     

    {
     "new_practice": 100000015
    }

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard