Id; system. Best Regards Visu. Improve this question. 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. Advertising Cookies Advertising Cookies.
Back Button Back Vendor Search. Filter Button. Consent Leg. View Third Party Cookies. Clear checkbox label label. Apply Cancel. Save Settings Accept All Cookies. Show Component Tree Quick Find. Lightning Web Components Components lightning. There are various solutions available to generate PDF from javascript. Generate PDF within Lightning Experience with Salesforce Data This simple solution entails adding a custom action to an object and embedding the button within object view.
Unknown May 14, at AM. Anshul Verma November 14, at AM. Trudev July 2, at AM. Jorge Pasco. September 25, at PM. People on here just want to regurtitate the same stuff rather than get creative and try things. I'm attempting to use pageReference from a LWC to see if you can use the same. I'll report back. Brian Waugh For reference, i'm looking into doing the following in an apex class: Key takeways: Get a pagereference from a LWC component page in a community which will have information passed to it in order to populate a PDF.
I haven't tested the below code but here's an example of what i'm using for my test. I'm unsure if pageReference will be able to pull content from a community page let alone a LWC component but i'll give it a shot. Dane Junkin 9 How did it go? To Salesforce: It's really frustrating to be pushed into new dev approaches but never get full feature parity.
0コメント