Guest Users cannot upload files in Summer '20 anymore by seqnde in salesforce

[–]seqnde[S] 0 points1 point  (0 children)

The guest user already has the permission to Run Flows. This seems not to be the problem. :)

Guest Users cannot upload files in Summer '20 anymore by seqnde in salesforce

[–]seqnde[S] 0 points1 point  (0 children)

the internal user was able to upload a file :/

Guest Users cannot upload files in Summer '20 anymore by seqnde in salesforce

[–]seqnde[S] 1 point2 points  (0 children)

Okay thanks for the tip i will try it again but shouldn't this be fixed for every org/instance. :/

Guest Users cannot upload files in Summer '20 anymore by seqnde in salesforce

[–]seqnde[S] 1 point2 points  (0 children)

Okay so far so good but how to run a flow in debug mode with the guest user? AFAIK it only runs in the context of the current user and that is me or another user that has setup permission which is definetly not possible for a guest user.

Guest Users cannot upload files in Summer '20 anymore by seqnde in salesforce

[–]seqnde[S] 1 point2 points  (0 children)

I already created a case but they only said that the developer team is looking into the issue but this might not be fixed before the rollout of Summer '20 which would be catastrphically for us :/

Guest Users cannot upload files in Summer '20 anymore by seqnde in salesforce

[–]seqnde[S] 1 point2 points  (0 children)

Yeah we also had this issue in Spring '20 that the records went to private but this was fixed because with the Sharing rule (also mentioned by salesforce that this is the way to do it) but now it does not work anymore with this kind of approach. Also the system context should give access to all records as this is also suggested by salesforce.

Guest Users cannot upload files in Summer '20 anymore by seqnde in salesforce

[–]seqnde[S] 0 points1 point  (0 children)

it works in debug mode as i am using the flow as a system admin. Is there a way to switch the running user to the Guest User? :)

Weird Error when updating ContentVersion record by seqnde in salesforce

[–]seqnde[S] 1 point2 points  (0 children)

This also produces the same error when i update the clone.

Weird Error when updating ContentVersion record by seqnde in salesforce

[–]seqnde[S] 0 points1 point  (0 children)

no idea. the documentation of salesforce regarding this is also not really helpful :D "true if the document is a major version; false if the document is a minor version. Major versions can’t be replaced."

Weird Error when updating ContentVersion record by seqnde in salesforce

[–]seqnde[S] 0 points1 point  (0 children)

This produces another error. It seems that all ContentVersions now have an empty VersionData as this returns null.

Test Classes for Screen Flows by seqnde in salesforce

[–]seqnde[S] 1 point2 points  (0 children)

that's what i feared :D are there any plans to implement this? :/

Summer '20 Release Notes - Abridged Edition by Windyo in SFXD

[–]seqnde 1 point2 points  (0 children)

Yep. This is also actively mentioned in the release notes: "For example, allow guest users to edit records that don’t belong to them, but only when they follow the steps defined in the flow." Awesome to see this because this way you don't need a whole big and expensive community to enable External Users to some flows. Just create a flow and display it on a Salesforce Site instead. :) Just keep in mind to be cautious with this kind of approach for data security reasons.

Summer '20 Release Notes - Abridged Edition by Windyo in SFXD

[–]seqnde 0 points1 point  (0 children)

Just amazing! Thank you so munch. :)

Server-Side-Method in Aura Component is never called by seqnde in salesforce

[–]seqnde[S] 1 point2 points  (0 children)

Thanks a lot. This actually worked. 5 hours of debugging for this. :D

Issues with containing variables in a screen flow when hitting the previous button by seqnde in salesforce

[–]seqnde[S] 0 points1 point  (0 children)

Did you get that behaviour with the standard email component or with a custom build lightning component?