Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Getting template category and type using CSSDK
tsatt
Hi,
Is there another way to get the list of Categories and Types for a workarea.
I see that all the methods related to getting Category and Type are depricated in CSSDK e.g.
Interface CSTemplating
CSTemplateCategory[] getTemplateCategories()
public CSTemplateType[] getTemplateTypeArray()
Thanks
TeamSite 6.7.x
Solaris 10
Find more posts tagged with
Comments
Adam Stoller
If the methods don't exist (and I don't think they do as part of the published API) you can do one of two things:
tsatt
Thanks Ghoti for your reply.
I thought about both the options as well, but was looking for more formal or cleaner approach. I am probably going to work on the first approach as that will for sure gaurantee that the results returned are accurate. In case of the second approach, though it may not happen, but someone can create a folder (cat/type) but not add that to templating.cfg: may be an illegal copy.
Appreciate your comments as always.
Thanks