03-25-2015 11:32 AM
So I am trying to obtain the current flavor name/string from 'DocumentModelList domains = coreSession.query("select * from Domain)
". Then I used the domains object and grabbed each of the document domains. (DocumentModel domain = domains.get(0))
Then I used the domain into the LocalThemeConfig and the LocalThemeHelper classes.
LocalThemeConfig config = LocalThemeHelper.getLocalThemeConfig(domain(0))
But when I printed out what config
is, it just returns null
. I looked at the getLocalThemeConfig
code and it returns null
regardless.
So how can I call the .getFlavor()
function from class LocalThemeConfig when config
returns null
and is there some other way to achieve this?
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.