<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Getting the current flavor from a domain name? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/getting-the-current-flavor-from-a-domain-name/m-p/319490#M6491</link>
    <description>&lt;P&gt;So I am trying to obtain the current flavor name/string from '&lt;CODE&gt;DocumentModelList domains = coreSession.query("select * from Domain)&lt;/CODE&gt;". Then I used the domains object and grabbed each of the document domains. &lt;CODE&gt;(DocumentModel domain = domains.get(0))&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Then I used the domain into the LocalThemeConfig and the LocalThemeHelper classes.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;LocalThemeConfig config = LocalThemeHelper.getLocalThemeConfig(domain(0))
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But when I printed out what &lt;CODE&gt;config&lt;/CODE&gt; is, it just returns &lt;CODE&gt;null&lt;/CODE&gt;. I looked at the &lt;CODE&gt;getLocalThemeConfig&lt;/CODE&gt; code and it returns &lt;CODE&gt;null&lt;/CODE&gt; regardless.&lt;/P&gt;
&lt;P&gt;So how can I call the &lt;CODE&gt;.getFlavor()&lt;/CODE&gt; function from class LocalThemeConfig when &lt;CODE&gt;config&lt;/CODE&gt; returns &lt;CODE&gt;null&lt;/CODE&gt; and is there some other way to achieve this?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Mar 2015 15:32:57 GMT</pubDate>
    <dc:creator>MEM4FP_</dc:creator>
    <dc:date>2015-03-25T15:32:57Z</dc:date>
    <item>
      <title>Getting the current flavor from a domain name?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/getting-the-current-flavor-from-a-domain-name/m-p/319490#M6491</link>
      <description>&lt;P&gt;So I am trying to obtain the current flavor name/string from '&lt;CODE&gt;DocumentModelList domains = coreSession.query("select * from Domain)&lt;/CODE&gt;". Then I used the domains object and grabbed each of the document domains. &lt;CODE&gt;(DocumentModel domain = domains.get(0))&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Then I used the domain into the LocalThemeConfig and the LocalThemeHelper classes.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;LocalThemeConfig config = LocalThemeHelper.getLocalThemeConfig(domain(0))
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But when I printed out what &lt;CODE&gt;config&lt;/CODE&gt; is, it just returns &lt;CODE&gt;null&lt;/CODE&gt;. I looked at the &lt;CODE&gt;getLocalThemeConfig&lt;/CODE&gt; code and it returns &lt;CODE&gt;null&lt;/CODE&gt; regardless.&lt;/P&gt;
&lt;P&gt;So how can I call the &lt;CODE&gt;.getFlavor()&lt;/CODE&gt; function from class LocalThemeConfig when &lt;CODE&gt;config&lt;/CODE&gt; returns &lt;CODE&gt;null&lt;/CODE&gt; and is there some other way to achieve this?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2015 15:32:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/getting-the-current-flavor-from-a-domain-name/m-p/319490#M6491</guid>
      <dc:creator>MEM4FP_</dc:creator>
      <dc:date>2015-03-25T15:32:57Z</dc:date>
    </item>
  </channel>
</rss>

