Lightning removes the URL parameters from the record detail page if they are not passed in a specific format. This creates an issue when we do Authentication with a third-party service.
Check how we can solve this with Named credentials and do Authentication with Google drive and upload files.
We will also cover the below points:
1. Pass record id in Screen Flow from the Lightning record detail page.
2. Use Named credentials to do authentication to Google API.
3. Make a multipart request to Google Drive API and pass file metadata.
4. Reset collection variable in flow.
Upload File to Google Drive Using Flow and Named Credentials
2 件のコメント
@Tushar Sharma that is very cool. If folks are looking to upload files to Google Drive it might be worth checking out Drive Connect. We recently launched it and have a free plan: https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMlVWUA1