<?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 How can I create a new vocabulary? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-create-a-new-vocabulary/m-p/326531#M13532</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt; /&amp;gt;
According to Nuxeo documentation: "Administrators and power users can only modify or delete vocabularies. They cannot create a new vocabulary from the user interface."&lt;BR /&gt; /&amp;gt;
Link: &lt;A href="http://doc.nuxeo.com/display/USERDOC/Managing+Vocabularies"&gt;http://doc.nuxeo.com/display/USERDOC/Managing+Vocabularies&lt;/A&gt;&lt;BR /&gt; /&amp;gt;
Does anyone have an idea how to create a new vocabulary since it's not possible using the user interface?&lt;/P&gt;
&lt;P&gt;And thanks in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Nov 2014 10:48:32 GMT</pubDate>
    <dc:creator>nidhalhaddad_</dc:creator>
    <dc:date>2014-11-06T10:48:32Z</dc:date>
    <item>
      <title>How can I create a new vocabulary?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-create-a-new-vocabulary/m-p/326531#M13532</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt; /&amp;gt;
According to Nuxeo documentation: "Administrators and power users can only modify or delete vocabularies. They cannot create a new vocabulary from the user interface."&lt;BR /&gt; /&amp;gt;
Link: &lt;A href="http://doc.nuxeo.com/display/USERDOC/Managing+Vocabularies"&gt;http://doc.nuxeo.com/display/USERDOC/Managing+Vocabularies&lt;/A&gt;&lt;BR /&gt; /&amp;gt;
Does anyone have an idea how to create a new vocabulary since it's not possible using the user interface?&lt;/P&gt;
&lt;P&gt;And thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2014 10:48:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-create-a-new-vocabulary/m-p/326531#M13532</guid>
      <dc:creator>nidhalhaddad_</dc:creator>
      <dc:date>2014-11-06T10:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a new vocabulary?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-create-a-new-vocabulary/m-p/326532#M13533</link>
      <description>&lt;P&gt;You have to provide an XML contribution for a new one.&lt;/P&gt;
&lt;P&gt;See for instance the definition for the standard ones in the platform: &lt;A href="http://explorer.nuxeo.org/nuxeo/site/distribution/current/viewContribution/org.nuxeo.ecm.directories--directories" target="test_blank"&gt;http://explorer.nuxeo.org/nuxeo/site/distribution/current/viewContribution/org.nuxeo.ecm.directories--directories&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2014 11:31:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-create-a-new-vocabulary/m-p/326532#M13533</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2014-11-06T11:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a new vocabulary?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-create-a-new-vocabulary/m-p/326533#M13534</link>
      <description>&lt;P&gt;Create a csv file with the values that you want to keep. Place that file in **directories **folder of &lt;STRONG&gt;resources&lt;/STRONG&gt;. Create an extension, for example, directories-contrib.xml with following,&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;directory name="Your_Schema"&amp;gt;
  &amp;lt;schema&amp;gt;Schema_name&amp;lt;/schema&amp;gt;
  &amp;lt;dataSource&amp;gt;java:/nxsqldirectory&amp;lt;/dataSource&amp;gt;
  &amp;lt;cacheTimeout&amp;gt;3600&amp;lt;/cacheTimeout&amp;gt;
  &amp;lt;cacheMaxSize&amp;gt;1000&amp;lt;/cacheMaxSize&amp;gt;
  &amp;lt;table&amp;gt;table_name&amp;lt;/table&amp;gt;
  &amp;lt;idField&amp;gt;id&amp;lt;/idField&amp;gt;
  &amp;lt;autoincrementIdField&amp;gt;false&amp;lt;/autoincrementIdField&amp;gt;
  &amp;lt;dataFile&amp;gt;directories/your_csv_file.csv&amp;lt;/dataFile&amp;gt;
  &amp;lt;createTablePolicy&amp;gt;always&amp;lt;/createTablePolicy&amp;gt;
  &amp;lt;/directory&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Now create &lt;STRONG&gt;Your_Schema.xsd&lt;/STRONG&gt; as below.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt; &amp;lt;xs:element name="id" type="xs:string"/&amp;gt;
 &amp;lt;xs:element name="label_en" type="xs:string"/&amp;gt;
    &amp;lt;xs:element name="obsolete" type="xs:integer" default="0"/&amp;gt;
    &amp;lt;xs:element name="ordering" type="xs:integer" default="10000000"/&amp;gt;
    
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Don't forget to declare **Schema_name **as below in core-types-contrib.xml&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;schema name="Schema_name" prefix="sn" src="schema/Your_Schema.xsd" /&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Make sure that your schema gets stored in database with the values given in csv file. That table serves as &lt;STRONG&gt;vocabulary&lt;/STRONG&gt; for you. Hope this helps you. Kindly revert for more clarifications.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 13:01:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-create-a-new-vocabulary/m-p/326533#M13534</guid>
      <dc:creator>Pradeep_Bhat</dc:creator>
      <dc:date>2015-11-04T13:01:12Z</dc:date>
    </item>
  </channel>
</rss>

