<?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 Re: How to create custom property without Studio in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-create-custom-property-without-studio/m-p/317586#M4587</link>
    <description>&lt;P&gt;At first you have to make your &lt;EM&gt;mycupcaketypes-contrib.xml&lt;/EM&gt; valid XML file. There should be:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;/extension&amp;gt;
&amp;lt;extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;instead of this line:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;/extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;File &lt;EM&gt;mycupcaketypes-contrib.xml&lt;/EM&gt; should be in &lt;EM&gt;OSGI-INF&lt;/EM&gt; folder, &lt;EM&gt;mycupcakeschema.xsd&lt;/EM&gt; in &lt;EM&gt;schemas&lt;/EM&gt; folder and &lt;EM&gt;MANIFEST.MF&lt;/EM&gt;
in &lt;EM&gt;META-INF&lt;/EM&gt; folder - but it seems that you already have it like this.&lt;/P&gt;
&lt;P&gt;Then pack the whole structure with all those files and copy the result JAR file into &lt;EM&gt;nxserver/bundles&lt;/EM&gt; folder in your Nuxeo installation. Restart Nuxeo server and new document type should be there. You can watch the Nuxeo console and if there is any problem with your extension the error message will appear there.&lt;/P&gt;
&lt;P&gt;There is nothing special to do to have a new document type available via the REST API. It will be available automatically.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Apr 2019 06:16:39 GMT</pubDate>
    <dc:creator>Lukáš_Machácek</dc:creator>
    <dc:date>2019-04-05T06:16:39Z</dc:date>
    <item>
      <title>How to create custom property without Studio</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-create-custom-property-without-studio/m-p/317585#M4586</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;
&lt;P&gt;We are trying to create a custom document type with additional custom properties, without the use of Studio. We are trying to add properties such as EmailAddress and PhoneNumber to the standard File properties.&lt;/P&gt;
&lt;P&gt;Based on the information available, we have created the contrib.xml, schema.xsd and manifest.mf files - attached.&lt;/P&gt;
&lt;P&gt;We believe that all we need to do at this point is place these files in the correct location on the nuxeo server in order to create the new document type. However, we are not sure where to put them.&lt;/P&gt;
&lt;P&gt;Can anyone help us with the following:
1.) Where do we put these files?
2.) Is there any additional configuration required to bring this new document type into Nuxeo so it is available via the REST API, etc.&lt;/P&gt;
&lt;P&gt;We are using the Nuxeo VM image from their website with the following software platform:
Debian Linux
Tomcat
Mongodb
Nuxeo 10.10&lt;/P&gt;
&lt;P&gt;Thanks and looking forward to your inputs!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 13:58:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-create-custom-property-without-studio/m-p/317585#M4586</guid>
      <dc:creator>Michael_Prytz</dc:creator>
      <dc:date>2019-04-02T13:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to create custom property without Studio</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-create-custom-property-without-studio/m-p/317586#M4587</link>
      <description>&lt;P&gt;At first you have to make your &lt;EM&gt;mycupcaketypes-contrib.xml&lt;/EM&gt; valid XML file. There should be:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;/extension&amp;gt;
&amp;lt;extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;instead of this line:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;/extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;File &lt;EM&gt;mycupcaketypes-contrib.xml&lt;/EM&gt; should be in &lt;EM&gt;OSGI-INF&lt;/EM&gt; folder, &lt;EM&gt;mycupcakeschema.xsd&lt;/EM&gt; in &lt;EM&gt;schemas&lt;/EM&gt; folder and &lt;EM&gt;MANIFEST.MF&lt;/EM&gt;
in &lt;EM&gt;META-INF&lt;/EM&gt; folder - but it seems that you already have it like this.&lt;/P&gt;
&lt;P&gt;Then pack the whole structure with all those files and copy the result JAR file into &lt;EM&gt;nxserver/bundles&lt;/EM&gt; folder in your Nuxeo installation. Restart Nuxeo server and new document type should be there. You can watch the Nuxeo console and if there is any problem with your extension the error message will appear there.&lt;/P&gt;
&lt;P&gt;There is nothing special to do to have a new document type available via the REST API. It will be available automatically.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 06:16:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-create-custom-property-without-studio/m-p/317586#M4587</guid>
      <dc:creator>Lukáš_Machácek</dc:creator>
      <dc:date>2019-04-05T06:16:39Z</dc:date>
    </item>
  </channel>
</rss>

