Forum Discussion
Indeed, as nathan described in detail, if you have a requirement to reuse components on the Lithium community and on other websites (for example, a support portal landing page that showcases community content), then the recommended approach is to leverage the Studio Endpoints. I would personally use a JSON endpoint that can be then called from either a Lithium standard component, or externally. The data can be packaged up in the format that is most suitable for handling in the client.
It is also possible to call the REST API directly (especially if using Lithium SSO), however if you need multiple calls then the endpoint saves you from making multiple HTTP calls and it is definitely better performance-wise.
Thanks,
Hi nathan,
hi PaoloT,
I havn't worked with endpoints so far but it sounds like i have to try this out. I will give you feedback on how this is going to work or if I stuck in the middle ;) ...
Thanks a lot,
Michael
- nathan11 years agoExecutive
Good luck.
A good place to start is here:
http://community.lithium.com/t5/Components-endpoints-and-the/About-endpoints/ta-p/108971
Related Content
- 16 years ago
- 12 months ago
- 4 years ago