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
Dual Super User
Dual 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
Dual Super User
Dual 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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,444)