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

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (69,856)