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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (2,277)