cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gjeh
Resolver III
Resolver III

Move File to subfolder

Hello All,

 

To set the context. I have a powerapp in which users can ''add sp libraries to their libraries'' -- these are stored in a SP list containing each users saved document libraries.

This is done because a user wants to send documents anywhere he needs them in SharePoint. This works all and well until users want to move a file to a folder within a document library.

 

Taking the hyperlink from the folder results in a url such as:

https://domain.sharepoint.com/:f:/s/Subsite/ErGzvIetnuNCuEQi63wy1DQB10fqGPszm_E22J4usPhX0g?e=dGcvvu

 

doesn't work. It will result in an error in the flow when copying the file ( checking existance of target location on https://domain.sharepoint.com/:f:/s/SUBSITENAME/EseqovjN7sVAqh8YuOsuBZsBq8Rm1xwvbzND12J59OOcRw?e=5zX... has failed because of error: The system cannot find the file specified. )    (Yes these links are different and were taken from different flow runs, however don't bug me about it just trust me i was too lazy to find the 2 right links after editing this a million times)

 

If i simply let the user enter the url:

https://domain.sharepoint.com/sites/subsitename/foldername  sharepoint will translate is into a same link with :f/s  -> resulting in the same error

 

Then i read about %2f so I tried https://domain.sharepoint.com/sites/subsitename%2ffoldername but also no result.   
the error produced is the same however the url is formatted as such in the error: https://domain.sharepoint.com/sites/subsite/foldername 

 

 

The most annoying part about all of this is, i can take ANY of the url's from the error's and i can navigate towards them... why can't flow ?

1 REPLY 1
gjeh
Resolver III
Resolver III

gjeh_0-1613399558410.png

I hope this drawing helps out a bit. it visualizes a bit what im trying to say.
1. the window where users enter details of their personal libraries

2. the list containing libraries

3. dropdown menu where a library is selected, loaded from before mentioned list

4. interactions the user has.

 

Now my only question is, what can I enter in the 'Bibliotheek URL' to send documents via this process to (sub)folders in document libraries?

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

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

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (38,948)