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

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 blog
Power 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 blog
Power 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 blog
Power Automate Video Tutorials

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 blog
Power Automate Video Tutorials

Helpful resources

Announcements
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.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (3,530)