cancel
Showing results for 
Search instead for 
Did you mean: 

getSectionByPath

lemmy
Champ in-the-making
Champ in-the-making
Hi,

I'm trying to get a section object for a given path (folder/subfolder) within GenericTemplateAsset. How can I do this?

Thanks,
Lemmy
1 REPLY 1

bremmington
Champ on-the-rise
Champ on-the-rise
Do you mean GenericTemplateAssetController? If so, you'll need to do something like:

WebSite website = (WebSite) requestContext.getValue("webSite");      
Section theSection = website.getSectionByPath("/the/path/that/you/are/interested/in/");
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.