cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MWeinel
Regular Visitor

Get GUID with List Rows

Hi there,

 

i want to do an initial load of e.g. all Companies from Dataverse into a SharePoint list with a manual trigger flow.

I only get the AccountID field in the dynamic content.

 

How can i retreive the GUID of each record? Is there an expression availabe?

 

Thx and regards

Martin

1 ACCEPTED SOLUTION

Accepted Solutions

@MWeinel

You should be able to find property called account or use expression items('apply_to_each')?[accountid'] 

 

Mira_Ghaly_0-1620177181521.png

 

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

View solution in original post

11 REPLIES 11
Mira_Ghaly
Multi Super User
Multi Super User

@MWeinel

Are you using fetchxml while using the List Rows action?

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

Hi Mira, Not sure what you mean with  fetchxml. Can  you share some details please? I‘m using the standard Dataverse connector with „List rows“.

 

Thx Martin 

Mira_Ghaly
Multi Super User
Multi Super User

@MWeinel

What I mean is that you are not using Fetchxml Query to limit the returned rows and I guess you aren't using it, to get the columns you want you need to use Select Columns and add a comma and add comma separated list of the fields you want to get values from.

Screenshot_20210502_100317.jpg

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here
MWeinel
Regular Visitor

@Mira_Ghaly thx! From my initial question: can you share an example on how to also get the GUID value for each row?

@MWeinel

Are you using it in an apply to each loop, it should be account field from dynamic content.

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

 @Mira_Ghaly yes, i'm using an apply to each loop. But additionally to the accountnumber, which i can get via the dynamic content, i want to have the GUID (e.g. 3b292359-a5ae-e911-a975-000d3a38c9b5). That's what i'm looking for.

@MWeinel

You should be able to find property called account or use expression items('apply_to_each')?[accountid'] 

 

Mira_Ghaly_0-1620177181521.png

 

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here
MWeinel
Regular Visitor

@Mira_Ghaly : as mentioned i need the GUID, not the accountid!
BR Martin

@MWeinel 

Have you tried it ? accountid will return the GUID you have requested.

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here
MuraliParvatha
Regular Visitor

It may be late, but my helps for someone who is having this issue.

When we are looping through with data verse items example list row. inside the loop, you can find the a column with same as table / entity name along with other columns. You should notice just below to the column as this is unique identifier ....... So this is the row id or GUID of the current item. I learn this with some effort. hope this helps.

 

This worked for me.

in my tabel NetElement calling NetElement.NetElement gives me the GUID (uniquer id number )for this record.

Thanks, saved my day

Helpful resources

Announcements

Hear what's next for the Power Up Program

Hear from Principal Program Manager, Dimpi Gandhi, to discover the latest enhancements to the Microsoft #PowerUpProgram, including a new accelerated video-based curriculum crafted with the expertise of Microsoft MVPs, Rory Neary and Charlie Phipps-Bennett. If you’d like to hear what’s coming next, click the link below to sign up today! https://aka.ms/PowerUp  

Check out the Copilot Studio Cookbook today!

We are excited to announce our new Copilot Cookbook Gallery in the Copilot Studio Community. We can't wait for you to share your expertise and your experience!    Join us for an amazing opportunity where you'll be one of the first to contribute to the Copilot Cookbook—your ultimate guide to mastering Microsoft Copilot. Whether you're seeking inspiration or grappling with a challenge while crafting apps, you probably already know that Copilot Cookbook is your reliable assistant, offering a wealth of tips and tricks at your fingertips--and we want you to add your expertise. What can you "cook" up?   Click this link to get started: https://aka.ms/CS_Copilot_Cookbook_Gallery   Don't miss out on this exclusive opportunity to be one of the first in the Community to share your app creation journey with Copilot. We'll be announcing a Cookbook Challenge very soon and want to make sure you one of the first "cooks" in the kitchen.   Don't miss your moment--start submitting in the Copilot Cookbook Gallery today!     Thank you,  Engagement Team

Tuesday Tip | How to Report Spam in Our Community

It's time for another TUESDAY TIPS, your weekly connection with the most insightful tips and tricks that empower both newcomers and veterans in the Power Platform Community! Every Tuesday, we bring you a curated selection of the finest advice, distilled from the resources and tools in the Community. Whether you’re a seasoned member or just getting started, Tuesday Tips are the perfect compass guiding you across the dynamic landscape of the Power Platform Community.   As our community family expands each week, we revisit our essential tools, tips, and tricks to ensure you’re well-versed in the community’s pulse. Keep an eye on the News & Announcements for your weekly Tuesday Tips—you never know what you may learn!   Today's Tip: How to Report Spam in Our Community We strive to maintain a professional and helpful community, and part of that effort involves keeping our platform free of spam. If you encounter a post that you believe is spam, please follow these steps to report it: Locate the Post: Find the post in question within the community.Kebab Menu: Click on the "Kebab" menu | 3 Dots, on the top right of the post.Report Inappropriate Content: Select "Report Inappropriate Content" from the menu.Submit Report: Fill out any necessary details on the form and submit your report.   Our community team will review the report and take appropriate action to ensure our community remains a valuable resource for everyone.   Thank you for helping us keep the community clean and useful!

Top Kudoed Authors
Users online (2,673)