Skip to main content

#Upload Files5 人正在讨论

Hi everyone, 

 

I'm looking for help regarding uploading files with the file uploader component into a digital experience site (which is connected to a screen flow) that has been accessed via URL in a mobile phone. When accesing the site in desktop, I'm able to select a file from my computer, which is followed by a pop-up window with the upload progress bar. When the upload is complete, the user has to click on "Done" to confirm the upload.  

 

When doing the exact same process on mobile in a browser (tested both safari and chorme, as well as IOS and Android), the user can select a file or a photo from its own device, but after that no such pop-up window or any other window appears in order to confirm the upload. I'm sure that the files don't get uploaded to the file uploader component correctly, because when I click on "next" to proceed with the next screen of the flow, I stay on the same screen because it is mandatory to upload the files (we have a validation structure configured in our flow to not let users advance if they have not uploaded the files yet). 

 

I read in a Salesforce blog that " The file upload component isn’t supported on mobile app or browser when used with flows that are accessed through URLs ", however I haven't been able to come up with a workaround for this case. 

 

I would really appreciate any help! 

 

Regards, 

Bernardo 

 

#Flow  #Upload Files  #Lightning File Uploader

2 个回答
  1. 8月10日 17:23

    Hi @Deepika Khanna, thank you for your fast response. My team and I are working towards finding a solution considering the fact that this limitation exists. We are hoping to solve this problem using any workaround the community could come up with. 

0/9000

Hi everyone,

I'm facing an issue with an OmniScript File Upload on an Experience Cloud site.

The file uploads successfully and a ContentVersion record is created. However, the Experience Site (guest/external) user is unable to retrieve or access the returned ContentVersion Id (vId) after the upload completes. In some cases, the upload appears successful, but the vId is blank or unavailable for subsequent steps in the OmniScript.

Our goal is to use the returned ContentVersion/ContentDocument information later in the flow to associate the uploaded document with a Case record.

Has anyone encountered this issue with OmniStudio File Upload components on Experience Sites? Are there any known limitations, sharing settings, guest user restrictions, or permissions required for external users to access the generated ContentVersion Id after upload?

Any guidance would be greatly appreciated.

Thanks! 

 

#Omnistudio  #Upload Files  #Experience Cloud  #Guest User

7 个回答
0/9000

Static resources breaks in Visual Force Page rendered as PDF after changing a file inside the zip and re-uploading

 

I downloaded a working Static Resource used by a VF page and change an image, compressed the folder and re-upload again and ended-up with a not working VF page. None of the images were loading and the css not being applied.

 

I compared with other static resources and noticed a difference in the MIME type of file uploaded file.

The type of my re-uploaded zip file shows as "application/zip" vs the others showing as "application/x-zip-compressed". After many, but many posts reading, I realised this is not the root of the problem

 

Solution: When compressing the file, the individual folders inside the zip needs to be selected and compressed; whereas compressing the whole folder adds an extra folder to the path, breaking the link to the static resource from the VF page, eg.:

  • "myStaticResources.zip/myStaticResources/styles/style.css" instead of
  • "myStaticResources.zip/styles/style.css"

So the formula in the VF page: "{!URLFOR($Resource.myStaticResources, '/styles/style.css')}" won't work

 

Static resources breaks in Visual Force Page rendered as PDF after changing a file inside the zip and re-uploading I downloaded a working Static Resource used by a VF page and change an image, compres

 

Screenshot 2024-04-03 at 08.38.59.png

 

#VfPage  #Host Static Resource  #Upload Files  #Download Pdf  #Visualforce  #VisualForce Page  #Zip File

1 条评论
  1. 2025年7月5日 19:31

    OMG.  THANK YOU. 

    After hours of troubleshooting this, finally found your tip.  I was zipping up the folder also, and getting 404, pulling my hair out.  lol.  finally fixed.

0/9000

I am designing a Screen Flow called Candidate Application where the guest user uploads a file and I want to change the filename within the flow. How do I do that when running the flow as a guest user? The method I am currently using which is getting the Content Document or Content Version and then editing that doesn't work because of a INSUFFICIENT_ACCESS_OR_READONLY error. Is there a way for me to edit the filename of the uploaded file within the flow when running it as a guest user, a way that wont get me that error?

 

@Salesforce Flow Automation 

1 个回答
0/9000

We need the hability to restrict or prevent users from uploading files from their local machine. Instead, they should upload files to Sharepoint and then add files from the sharepoint instance to Salesforce through Files Connect.

We already have Files Connect configured and working. However, when users try to upload files using "Files" standar Related List, the main button displayed is "upload Files" (see Files_Related_list.jpg) which uses local files. We need to hide os disable that button and force users to use 'Add Files' button.

Other possible solution to prevent the use of "Upload files" is to show a confirmation message when the user is trying to upload files from their local machine. How can we do this?

Please find attached documents explaining this more graphically.

Is this possible somehow? 

 

#Export Files To Sharepoint  #Upload Files

1 个回答
0/9000

Hi. We are using a screen flow to upload files and have added a custom field for a specific requirement that gets entered as part of the screen flow. The issue is currently you are unable to configure the Files Related list view. So unable to add my custom field to the list view. I have tried to get information on this and it seems many people are requesting this. Just wondering what have people done to resolve such a requirement? To be clear I am talking about the ContentVersion Object.

 

#Upload Files

1 个回答
  1. Eric Burté (DEVOTEAM) Forum Ambassador
    2024年2月16日 13:57
    Hello @Iqbal Rawat , the columns of the Files related list cannot be modified in layout configuration. Eric
0/9000

I'm trying to upload a signature to Files and I don't understand why I'm getting a "List has no rows for assignment to sObject" error. What row am I assigning to what object?

 

I am trying to upload a users signature from this Experience Builder form. The Experience Builder form uses a flow called Candidate Application, which is the flow that contains this Signature component. The Signature component is an Aura component, and the Experience Builder page is an Aura framework, so I don't think there is a problem there. And when I run the flow directly (as the administrator of the form and not as a guest user), the signature uploads fine. It just doesn't upload when I run the flow as a guest user. So I don't understand why.

File upload failing

https://forcepanda.wordpress.com/2019/12/10/signature-capture-component-for-flows/

This is the package I downloaded to get the Signature component I'm talking about

 

#Upload Files

1 个回答
0/9000

[▶️]🔴🔥🎬  How To Display Uploaded File Names in Salesforce Flow

Discover the hidden feature in Salesforce Flow that allows you to easily display uploaded file names! Elevate your Flow capabilities with this simple tip and make the most out of your Salesforce experience. Watch now to learn how to incorporate this timesaving feature into your workflow.

https://youtu.be/HWjbLYYhY6k

 

@The Blog Group[▶️]🔴🔥🎬 How To Display Uploaded File Names in Salesforce FlowDiscover the hidden feature in Salesforce Flow that allows you to easily display uploaded file names! Elevate your Flow capabilities wit

 

#Salesforce Developer #Salesforce Developers #Platform Developer II #Salesforce Admin #Flow #Screen Flow #Flownatics #Salesforce Flow #Upload Files

0/9000

Hi All,

 

I am trying to create a screen flow triggered from an action on a custom object that will open up a screen allowing users to attach 1 or more file/video with an title and description called 'Issue title' and 'Issue description'. when saved it will attache the files to the record and if the users checks the file deatils the information from Issue Tiele and Issue Description are there. I have already created the 2 text fields on the content version object.

 

Thanks

@Salesforce Flow Automation

#Screen Flow #Upload Files

1 个回答
0/9000

We are trying to add a customer file sharing area to our community. The objective is to have our customers develop shareable pieces of code that they upload to the community, we review for quality and security, then post back on the community so that other customers can download them. I've run into a lot of roadblocks trying to build this. Here's what I've tried:

 

1. Create an externally accessible Library to give customers the ability to upload files to that library. We ran into a licensing problem there. Because we didn't purchase Community Cloud Plus, we were looking at around $100k to upgrade 40k Customer Community Login licenses to Customer Community Login Plus licenses. This was not an acceptable option so I started to research alternatives.

 

2. Build a Flow and add it to the community as a lightning component. I spent hours on this but couldn't get it to work. Even after completing the Trailhead course on Flows, they still don't make sense.

 

3. Look to the AppExchange for a solution. I found nothing close to what I was looking for.

 

Does anyone have any ideas/suggestions?

3 条评论
  1. 2019年4月23日 06:42
    Hi @Reed Hayes

    . As a big fan of Chatter, I can only be saddened that you did not find it useful.

    If you reshare pieces of code after review, I would assume that you want the initial files, posted by customers, to not be visible by others, correct? It seems a very straightforward scenario to me, using only native community features (Chatter related):

    1) unlisted groups: if that makes sense, create one unlisted group per customer (company), add to this group all the users (employees of this company), and let them post files to you using native Chatter posts in the group. With a "Notify on every post", groups managers could be notified every time someone posts a file. You can also setup moderation rules to prevent automatic posting in the groups, and thus eliminate what is not a file upload.

    2) custom object: same kind of idea as the 1, but using custom objects instead of groups. Create a custom object, like "File Sharing", then one record per customer, make sure by permission settings that these are private. Either let users post files using Chatter publisher, or have the Files related list exposed which features an "Add Files" button. You can have a trigger that notifies on file upload.

    Again, I may have not understand your issue, so please feel free to discuss more if needed.

0/9000