cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
majorfriend
Level: Powered On

Uploading images to a shared OneDrive folder and not individuals OneDrive accounts

Hello All,

I have an app that saves data (including images) from a form to an excel spreadsheet, multiple users are using this app and I have shared the excel spreadsheet and the images folder from one drive with them.

 

The issue I have is that the images uploaded in the app are only visible to the person who uploaded them.

 

It seems that the uploaded images are being saved to each user's OneDrive instead of the shared folder.

 

I have made sure my the column heading in excel is using the [image] tag, I've double checked that my sharing permissions are set to can edit, I'm kind of at a loss. Any advice?

 

Thanks in advance

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
cwebb365
Level 10

Re: Uploading images to a shared OneDrive folder and not individuals OneDrive accounts

This is because your onedrive connector prompts the user when they run the app, and it connects on their behalf to OneDrive. I haven't tried this, but I would use the SharePoint list connector but feed it the OneDrive URL, since ONeDrive is SharePoint don't see why this wouldn't work. Also make sure users are explicitly added to the Files in the onedrive since using the sharing links will not work. You can tell based on the URL accessing the content will be the URL with the folder structure and filename in the URL, not just a random GUI so https://tenant-my.sharepoint.com/personal/username_domain_org/Documents/Desktop/Teams%20Tips.pptx...... and not 

 

https://tenant-my.sharepoint.com/Smiley Tongue:/g/personal/username_domain_com1/Ea1RM11aXW1Cm00pWnkkvlUB87x99mkbB...

 

Just a hunch that might work since you are going to have the connector access a specific location and not onedrive with a folder path. 

7 REPLIES 7
cwebb365
Level 10

Re: Uploading images to a shared OneDrive folder and not individuals OneDrive accounts

This is because your onedrive connector prompts the user when they run the app, and it connects on their behalf to OneDrive. I haven't tried this, but I would use the SharePoint list connector but feed it the OneDrive URL, since ONeDrive is SharePoint don't see why this wouldn't work. Also make sure users are explicitly added to the Files in the onedrive since using the sharing links will not work. You can tell based on the URL accessing the content will be the URL with the folder structure and filename in the URL, not just a random GUI so https://tenant-my.sharepoint.com/personal/username_domain_org/Documents/Desktop/Teams%20Tips.pptx...... and not 

 

https://tenant-my.sharepoint.com/Smiley Tongue:/g/personal/username_domain_com1/Ea1RM11aXW1Cm00pWnkkvlUB87x99mkbB...

 

Just a hunch that might work since you are going to have the connector access a specific location and not onedrive with a folder path. 

majorfriend
Level: Powered On

Re: Uploading images to a shared OneDrive folder and not individuals OneDrive accounts

This didn't work, but it did force me to learn Sharepoint lists and I think I'll just update the app to run off a list.

Thanks

cwebb365
Level 10

Re: Uploading images to a shared OneDrive folder and not individuals OneDrive accounts

Yeah, putting it on SharePoint was going to be my backup suggestion Smiley Happy

majorfriend
Level: Powered On

Re: Uploading images to a shared OneDrive folder and not individuals OneDrive accounts

So putting it Sharepoint didn't work because I need users to be able to select a photo from their computer and upload, the sharepoint picture column doesn't work and changing the format to a hyperlink doesn't work because the image is on the computer not on the web so no URL to copy in.

cwebb365
Level 10

Re: Uploading images to a shared OneDrive folder and not individuals OneDrive accounts

would this work? use a doc library instead of list if you are: https://www.youtube.com/watch?v=ZXWyDgDEHPo

majorfriend
Level: Powered On

Re: Uploading images to a shared OneDrive folder and not individuals OneDrive accounts

I don't think so, but I might look at it. I think I might be able to solve the issue by having the other users move the shared folder over to their individual OneDrives. Unfortunately, I won't be able to test this until Monday.

cwebb365
Level 10

Re: Uploading images to a shared OneDrive folder and not individuals OneDrive accounts

I mean it'll work but you won't have centralized access to the data they upload to it. Assuming that is a goal. 

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 353 members 5,352 guests
Please welcome our newest community members: