Contentversion files download






















Previous Post Self-register for the community in Salesforce. Connect with. I allow to create an account. When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings.

We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account. Disagree Agree. Notify of. Newest Oldest Most Voted. Inline Feedbacks. Got a solution that worked!! Thanks, Piotr. View Replies 1. Hello I am not able to access ContentDistribution object in my org?

Any ideas? ScottHarrison I wrote up an example that runs on my computer. Give this a try and let me know. Thank you for following up. Unfortunately, no go. ScottHarrison Sounds like you've got the wrong file. Even if it were base64 encoded, a kb base64 file would be about kb, not kb.

Try opening the file in a hex editor or IDE, see what the contents looks like. If not, you might have the wrong file. I stuck the output. Show 5 more comments. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Users hated it.

I hated it. Where our users nor I almost never go as the Contract relatedList is more convenient. Notes: servlet. Hope this helps. Kindly mark this as solved if the reply was helpful so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.

Learn more. Asked 3 years, 11 months ago. Active 1 year, 2 months ago. Viewed 18k times. UPD: Added option with multiple files download as a zip provided by cropredy. Improve this question. Yury Bondarau. Yury Bondarau Yury Bondarau 1, 1 1 gold badge 13 13 silver badges 28 28 bronze badges.

I would love to know if we can force inline behavior vs download, for pdfs I want it to open in browser window but it seems to just download the document and then the user has to click the download to open it. Though the hardcoded URL method works, it isn't officially supported.



0コメント

  • 1000 / 1000