Forum Discussion
mfeltscher
Expert
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?
VarunGrazitti
10 years agoBoss
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.
Related Content
- 4 years agoInactive User
- 5 months ago