cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MShelnutt
Helper V
Helper V

Difference between Field Name and Field Name Value?

Hi,

I am building some of my first flows and am wondering with Dynamic Content- what is the difference between [Field Name] and [Field Name Value]?  When should I use one over the other?

 

MShelnutt_0-1611233621324.png

 

 

Thanks,

1 ACCEPTED SOLUTION

Accepted Solutions

If Name is a dropdown (Choice) field in SharePoint then Name will return a record something like this {Index: 1, Value: "Choice 1"}.  But Name Value will return just the Value property from the object "Choice 1". So if you are trying to do a comparison it works much better when you use Name Value.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

5 REPLIES 5
annajhaveri
Community Champion
Community Champion

@MShelnutt The Product Group seems to be lookup column. Product Group Value will give you the display value of the column and Product Group will give you the combined lookup value with ID and Display Value of your lookup column

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.
Pstork1
Dual Super User
Dual Super User

Product Group is a complex object that includes multiple properties.  product Group Value is the string for the Text property of the object.  As @annajhaveri says it is probably a lookup column.  For comparisons you should use the Product Group Value field.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
MShelnutt
Helper V
Helper V

@annajhaveri @Pstork1 I should have included more information about that particular field in my SharePoint list.  It is a dropdown with several choices.  I apologize, I do not grasp your explanation of the difference between NAME and NAME VALUE.  Can you explain it like I am 16?

 

Thanks again.

jdoss
Resolver III
Resolver III

A good way to check is to test the flow and look at the outputs that come out of "A new customer complaint" 

Or you could use "Initialize a variable" as a string and set it equal to NAME and do another for NAME VALUE. Then when you run the flow you can see exactly what comes out of it.

If Name is a dropdown (Choice) field in SharePoint then Name will return a record something like this {Index: 1, Value: "Choice 1"}.  But Name Value will return just the Value property from the object "Choice 1". So if you are trying to do a comparison it works much better when you use Name Value.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (4,214)