Forum Discussion
VarunGrazitti Thank you for your fast reply.
First of all I wanted to ask, how I can find all available template names.
The thing is, that we want to use this outside the context you described (for example inside a custom REST endpoint). Is this somehow possible?
To know the names of the components, you'd need to switch to the XML view in studio page tab. It'll show you the names of all the components on that page.
As long as you use that custom REST endpoint in the context of the page, rather on the same page where the default component is being used, you should be fine. E.g. if you use a blog page component on home page, you'll get an exception.
- mfeltscher10 years agoExpert
Thanks for the hint with the XML view!
The custom REST endpoint is getting used outside of the Lithium application itself, so I guess this would mean it doesn't work?
- VarunGrazitti10 years agoBossYou can make a completely custom component rather than having to depend on a core component. You can then use it out side the community as well.
- mfeltscher10 years agoExpert
So that's the only solution? This is exactely what I wanted to avoid..
Related Content
- 4 years agoInactive User