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 III
Super User III

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

abm
Super User III
Super User III

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 III
Super User III

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

abm
Super User III
Super User III

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (25,079)