Our Community is in read-only mode until April 8th, learn more here. You can still search existing threads or get help via Dropbox Support, the Dropbox Help Center, or Learn.
Forum Discussion
rostyslavpopov
1 year agoExplorer | Level 4
Missing parameter: client_id for lwc
Im working on a lwc where id like to embed a signing process in iframe, I was able to successfully retrieve sign URL, but when I try to use it on iframe I got following error, at which step do I need...
rostyslavpopov
1 year agoExplorer | Level 4
Yes, using apex approach i needed to modify URL by placing client id as first or last URL argument. But I switched to JS SKD approach and its easier in there and provides better user experience
eappsiadvancenow123
1 year agoNew member | Level 1
rostyslavpopovThank you so much for your help here! I was able to get the sign url successfully.
Probably one last question, how are you opening embedded window on your site? When I'm trying to open it in incognito window by appending client_id in url, it gives me this error(attached screenshot).
I have provided "my.salesforce-sites.com" under Domain in my App.
Your help in this is very much appreciated!
- rostyslavpopov1 year agoExplorer | Level 4
can you provide more details on what are you trying to achieve please?
- eappsiadvancenow1231 year agoNew member | Level 1
I have created a site in salesforce and i want to open embedded signature window on my site. I tried to import JS file available on github in my LWC component but that doesn't work so I'm trying to use iframe and under the iframe, my URL is (sign URL + client_id + skip_domain_verification=1) but its not working.
It gives me invalid URL when i open in iframe but same URL works in incognito window or any other window.
Your help is very much appreciated!
- rostyslavpopov1 year agoExplorer | Level 4
okay so for this you need to do the js lib part.
Go to https://www.jsdelivr.com/package/npm/hellosign-embedded , there will be an URL in source, go to that URL, copy its content and create a JS file. Upload this file(one file only, no folders) as public Static resource with a name DropboxSign. Then import and load it in your JS file:import dropboxSign from '@salesforce/resourceUrl/DropboxSign'; loadScript(this, dropboxSign) .then(() => { // console.log('dropbox sign loaded'); }) .catch(error => { console.error('Error loading dropbox sign:' , error) })Loading can be put into connected callback. Then when its time for a sign you need to do a following:
const client = new HelloSign({ clientId: this.clientId, }); client.open(result, { skipDomainVerification: true })
About Dropbox Sign API
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!