How to download lightning file salesforce






















Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 4 years, 6 months ago. Active 4 years, 6 months ago. Viewed 5k times. I am using content files to drive documentation about products in a lightning community.

Has someone implemented something similar? Improve this question. TemporaryFix TemporaryFix 2, 4 4 gold badges 32 32 silver badges 71 71 bronze badges. Have you tried lightning:openFiles , as demonstrated in this answer? Is that what you're looking for? I'm going to look into this feature. Thanks sfdcfox — TemporaryFix. See this question for details — TemporaryFix.

Add a comment. Active Oldest Votes. Improve this answer. Doubtful since it's the same servlet to download files in classic — marc. Just a heads up, you'll have to manipulate the base url a bit. This almost works except it requires a new login — Scott Morrison. Actually it does work just didn't quite get it right : — Scott Morrison.

Santanu Halder 5, 2 2 gold badges 17 17 silver badges 36 36 bronze badges. I haven't tried this yet though. Thanks Santanu Halder. I have returned base url as string to lightning component. How to achieve this, I am not familiar with events..

Can you update the question with your relevant code of fetching URL as string, I can edit that. Thanks Santanu Halder, i added piece of component code , controller. Add a comment. Active Oldest Votes. Improve this answer. Santanu Halder Santanu Halder 5, 2 2 gold badges 17 17 silver badges 36 36 bronze badges. Glad I could help! Since the answer has helped you, please accept this as answer and close this thread so that system doesn't treat it as unanswered one. The Overflow Blog. Podcast what if you could invest in your favorite developer?

Who owns this outage? Building intelligent escalation chains for modern SRE. Featured on Meta. Now live: A fully responsive profile. Reducing the weight of our footer. Related 4. Hot Network Questions. Question feed.

Salesforce Stack Exchange works best with JavaScript enabled.



0コメント

  • 1000 / 1000