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

Uri trouble changing view fields in a Sharepoint document library

Hello everyone, 

 

I would like to make some already created columns visible inside my document library. I have successfully done this before with lists using a http request, but I can't seem to get it to work for my library. Which seems strange to me, because I though a library basically also was a list. Do any of you have an idea how I might approach it? 

 

Will post a few pictures below to visualize my issue. 

Any help would be greatly appreciated. 

 

View I would like to change:Screenshot default view.JPG

Functioning List uri: 

Functioning http request for changing view within a list.JPG

 

Not functioning library URI:
Not functioning library Uri.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
fchopo
Super User II
Super User II

Hello @ToFj 

I did a test on my side and it worked!

all.png

 

Please, use "All Documents" as the name of the view, instead of "All Items".

Hope it helps!

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

View solution in original post

4 REPLIES 4
fchopo
Super User II
Super User II

Hello @ToFj 

Could you try using the internal name of the "version" column, which is "_UIVersionString" ?

Have a look at the internal names of the columns here: List of Internal Names for SharePoint Fields | SoftArtisans

Hope it helps!

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!
ToFj
Helper II
Helper II

Hello and thanks for the reply @fchopo 

That is a really nice tip. I wasn't aware of these internal names as I have previously only made columns I have created myself visible. 

 

Unfortunately, my flow still returns the error: "Specific view is invalid"

fchopo
Super User II
Super User II

Hello @ToFj 

I did a test on my side and it worked!

all.png

 

Please, use "All Documents" as the name of the view, instead of "All Items".

Hope it helps!

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

View solution in original post

ToFj
Helper II
Helper II

Thank you very much @fchopo!

The internal names had me a bit confused, but it is all working now. 

 

Tord

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.

Top Solution Authors
Top Kudoed Authors
Users online (105,779)