cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dauren08
Helper II
Helper II

HTTP POST request to sharepoint

Hello, 

 

I'm building a flow now, which creates list with fields in Sharepoint. 

My issue is, that the flow creates all of fields which I need, but view can't be added. It throws an exception: View is not valid.

I tried to fix it long time, but it doesn't work...maybe had already someone the same problem and it would be great if you could help me.

 

Regards

Dauren 

 

 

 

 

 

Снимок экрана 2021-03-17 в 12.39.43.pngСнимок экрана 2021-03-17 в 12.38.47.pngСнимок экрана 2021-03-17 в 12.39.19.png

1 ACCEPTED SOLUTION

Accepted Solutions
annajhaveri
Super User
Super User

@Dauren08 you need to change Uri as follows

_api/web/lists/Getbytitle('test contacts')/views/Getbytitle('All Items')/viewfields/addviewfield('Name')

 

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.

View solution in original post

2 REPLIES 2
annajhaveri
Super User
Super User

@Dauren08 you need to change Uri as follows

_api/web/lists/Getbytitle('test contacts')/views/Getbytitle('All Items')/viewfields/addviewfield('Name')

 

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.

View solution in original post

Hello @annajhaveri ,

 

I can't understand what is the different between your version and my?😁 only low register?

 

Regards

Dauren

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

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,918)