cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
elaaadani
Helper IV
Helper IV

When create an item in list add information in the columns of a list

Hello, good evening.
I have a list with 2 columns : year and country
I'd like to know how when I create an item in a list by means of a HTTP query to sharepoint I can add information about the year and the country.

 

For now I have this body working. I don't know where I can add the country and the year

elaaadani_1-1608158373091.png

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
abm
Super User
Super User

Hi @elaaadani 

 

What's the data type for Year and Country? Why not using Create Item action instead of HTTP?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

Hi @elaaadani 

 

Thanks for your reply. Try the below extending your form values. Make sure use the right column names.

 

"formValues":[
{
"FieldName":"Title",
"FieldValue":"Hello"
},
{
"FieldName":"Year",
"FieldValue":"2021"
},
{
"FieldName":"Country",
"FieldValue":"UK"
}
]

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

3 REPLIES 3
abm
Super User
Super User

Hi @elaaadani 

 

What's the data type for Year and Country? Why not using Create Item action instead of HTTP?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

Hello @abm ! both are lines of text. I am using http because I need to create an item inside a sharepoint folder. Create Item does not have the field to put the Path and specify where I want to create the item.
Thanks for replying

Hi @elaaadani 

 

Thanks for your reply. Try the below extending your form values. Make sure use the right column names.

 

"formValues":[
{
"FieldName":"Title",
"FieldValue":"Hello"
},
{
"FieldName":"Year",
"FieldValue":"2021"
},
{
"FieldName":"Country",
"FieldValue":"UK"
}
]

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,932)