<?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 Custom Datalist in alfresco community 6.2.0-ga in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130807#M35327</link>
    <description>&lt;P&gt;Hello World,&lt;/P&gt;&lt;P&gt;I'm trying to create custom datalist from this example &lt;A href="https://docs.alfresco.com/5.2/references/dev-extension-points-data-lists.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/5.2/references/dev-extension-points-data-lists.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but the model don't appear in the Data list model purpose ...&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jan 2021 13:51:01 GMT</pubDate>
    <dc:creator>vpan</dc:creator>
    <dc:date>2021-01-05T13:51:01Z</dc:date>
    <item>
      <title>Custom Datalist in alfresco community 6.2.0-ga</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130807#M35327</link>
      <description>&lt;P&gt;Hello World,&lt;/P&gt;&lt;P&gt;I'm trying to create custom datalist from this example &lt;A href="https://docs.alfresco.com/5.2/references/dev-extension-points-data-lists.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/5.2/references/dev-extension-points-data-lists.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but the model don't appear in the Data list model purpose ...&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 13:51:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130807#M35327</guid>
      <dc:creator>vpan</dc:creator>
      <dc:date>2021-01-05T13:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Datalist in alfresco community 6.2.0-ga</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130808#M35328</link>
      <description>&lt;P&gt;&lt;A href="https://github.com/Alfresco/share/blob/develop/share-services/src/main/resources/alfresco/model/datalistModel.xml" target="_self" rel="nofollow noopener noreferrer"&gt;Datalist&lt;/A&gt; model is now moved and part of &lt;A href="https://github.com/Alfresco/share/tree/develop/share-services" target="_self" rel="nofollow noopener noreferrer"&gt;alfresco-share-services.amp module&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order for you to get the out of the box datalist model in classpath, you need to add following dependency:&lt;/P&gt;
&lt;PRE&gt; &amp;lt;dependency&amp;gt;
	&amp;lt;groupId&amp;gt;org.alfresco&amp;lt;/groupId&amp;gt;
	&amp;lt;artifactId&amp;gt;alfresco-share-services&amp;lt;/artifactId&amp;gt;
	&amp;lt;version&amp;gt;${alfresco.platform.version}&amp;lt;/version&amp;gt;
	&amp;lt;classifier&amp;gt;classes&amp;lt;/classifier&amp;gt;
	&amp;lt;scope&amp;gt;provided&amp;lt;/scope&amp;gt;
 &amp;lt;/dependency&amp;gt;	&lt;/PRE&gt;
&lt;P&gt;You need to add the dependency in acs module pom.xml. It makes the datalist model available to your custom model&lt;/P&gt;
&lt;PRE class="pre codeblock prettyprint prettyprinted"&gt;&lt;SPAN class="com"&gt;&amp;lt;!-- Import Alfresco Data List Model Definitions --&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class="tag"&gt;&amp;lt;import&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;uri&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"http://www.alfresco.org/model/datalist/1.0"&lt;/SPAN&gt;   &lt;SPAN class="atn"&gt;prefix&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"dl"&lt;/SPAN&gt; &lt;SPAN class="tag"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Jan 2021 15:09:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130808#M35328</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-01-05T15:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Datalist in alfresco community 6.2.0-ga</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130809#M35329</link>
      <description>&lt;P&gt;thx,&lt;/P&gt;&lt;P&gt;but the what the way to do this ...&lt;/P&gt;&lt;P&gt;i don't understand ... does i have to download an extra package ??&lt;/P&gt;&lt;P&gt;do i have just to modify a file ..?&lt;/P&gt;&lt;P&gt;.... sorry i'm lost // just to create a datalist model ....&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 12:31:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130809#M35329</guid>
      <dc:creator>vpan</dc:creator>
      <dc:date>2021-01-06T12:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Datalist in alfresco community 6.2.0-ga</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130810#M35330</link>
      <description>&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/83913"&gt;@vpan&lt;/A&gt;&amp;nbsp;may i know where and how you are creating the datalist, are you using sdk ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using sdk, you don't need to download any package manually, just add the dependency mentioned above so that you have the share services jar in classpath.&lt;/P&gt;
&lt;P&gt;The amp is anyway mandatory for alfresco.war so you would have to apply that if you have setup your server using distribution package. With docker based deployment the module is by default applied. Any custom modules with your custom datalist should work fine.&lt;/P&gt;
&lt;P&gt;If you can't see your custom model, make sure you correctly bootstrap it. Cross check all the steps and review logs to see if you can find any errors:&amp;nbsp;&lt;A href="https://docs.alfresco.com/6.2/references/dev-extension-points-data-lists.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/6.2/references/dev-extension-points-data-lists.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 14:46:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130810#M35330</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-01-06T14:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Datalist in alfresco community 6.2.0-ga</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130811#M35331</link>
      <description>&lt;DIV class="QmZWSe"&gt;&lt;DIV class="DHcWmd"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="oSioSc"&gt;&lt;DIV&gt;&lt;DIV class="g9WsWb"&gt;&lt;DIV class="tw-ta-container hide-focus-ring tw-nfl"&gt;&lt;P&gt;I installed alfresco CE from the standard package (not dockeriser).&lt;BR /&gt;With the basic alfreco.war.&lt;BR /&gt;The list I'm trying to define&lt;BR /&gt;is in / tomcat / shared / alfresco / extension&lt;BR /&gt;...&lt;BR /&gt;what should I do ..?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Jan 2021 07:57:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130811#M35331</guid>
      <dc:creator>vpan</dc:creator>
      <dc:date>2021-01-07T07:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Datalist in alfresco community 6.2.0-ga</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130812#M35332</link>
      <description>&lt;P&gt;I notice that the path for extension seems to be wrong, &lt;STRONG&gt;it should be "/ tomcat / shared / classes/ alfresco / extension"&lt;/STRONG&gt;&amp;nbsp;NOT&amp;nbsp;&lt;STRIKE&gt;/ tomcat / shared / alfresco / extension.&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I requested you to check the log and report any errors. It is always helpful to provide the details such as logs when you expect any help from community.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I hope you followed all the steps while setting up the services using distribution package. you can also find the steps here:&amp;nbsp;&lt;A href="https://javaworld-abhinav.blogspot.com/2020/12/setup-acs62-ga-and-ass14-distribution-stepbystep.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://javaworld-abhinav.blogspot.com/2020/12/setup-acs62-ga-and-ass14-distribution-stepbystep.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;One of the important steps when using distribution package for installation is that you need to apply the amps which also includes alfresco-share-servies.amp. This amp can be found in amps folder in the distribution package.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the details here:&amp;nbsp;&lt;A href="https://docs.alfresco.com/community/tasks/alf-war-install.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/community/tasks/alf-war-install.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you have already installed the amp, you should be able to use/import ootb dataList model. Follow the steps as given here:&amp;nbsp;&lt;A href="https://docs.alfresco.com/community/references/dev-extension-points-data-lists.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/community/references/dev-extension-points-data-lists.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Copy the content model in $ALF_INSTALL/tomcat/shared/classes/alfresco/extension directory and also copy the context file under same directory with correct path to your custom datalist model. You can find how to deploy a model here:&amp;nbsp;&lt;A href="https://docs.alfresco.com/community/tasks/deploy-bootstrap.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/community/tasks/deploy-bootstrap.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;e.g. i created this datalist model named &lt;EM&gt;&lt;STRONG&gt;myCustomDLmodel.xml&lt;/STRONG&gt;&lt;/EM&gt;:&lt;/P&gt;

&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;model name="xyzdl:datalistModel" xmlns="http://www.alfresco.org/model/dictionary/1.0"&amp;gt;
    &amp;lt;description&amp;gt;XYZ Data List Content model&amp;lt;/description&amp;gt;
    &amp;lt;author&amp;gt;xyz&amp;lt;/author&amp;gt;
    &amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;
    &amp;lt;imports&amp;gt;
        &amp;lt;import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/&amp;gt;
        &amp;lt;import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/&amp;gt;
        &amp;lt;import uri="http://www.alfresco.org/model/datalist/1.0"   prefix="dl" /&amp;gt;
    &amp;lt;/imports&amp;gt;
    &amp;lt;namespaces&amp;gt;
        &amp;lt;namespace uri="http://www.xyz.com/model/datalist/1.0" prefix="xyzdl"/&amp;gt;
    &amp;lt;/namespaces&amp;gt;
    &amp;lt;types&amp;gt;
        &amp;lt;type name="xyzdl:myListItem"&amp;gt;
            &amp;lt;title&amp;gt;My List Item&amp;lt;/title&amp;gt;
            &amp;lt;parent&amp;gt;dl:dataListItem&amp;lt;/parent&amp;gt;
            &amp;lt;properties&amp;gt;
                &amp;lt;property name="xyzdl:name"&amp;gt;
                    &amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;
                    &amp;lt;mandatory&amp;gt;true&amp;lt;/mandatory&amp;gt;
                &amp;lt;/property&amp;gt;
        &amp;lt;/type&amp;gt;
    &amp;lt;/types&amp;gt;
&amp;lt;/model&amp;gt;&lt;/PRE&gt;

&lt;P&gt;I would copy "&lt;EM&gt;&lt;STRONG&gt;myCustomDLmodel.xml&lt;/STRONG&gt;&lt;/EM&gt;" to "&lt;EM&gt;&lt;STRONG&gt;$ALF_INSTALL/tomcat/shared/classes/alfresco/extension&lt;/STRONG&gt;&lt;/EM&gt;" directory. I would also create a spring context xml file named "&lt;STRONG&gt;custom-model-context.xml&lt;/STRONG&gt;" e.g. (see the model name highlighed and the path):&lt;/P&gt;
&lt;PRE&gt;&amp;lt;bean id="cutomModel.dictionaryBootstrap"
          parent="dictionaryModelBootstrap"
          depends-on="dictionaryBootstrap"&amp;gt;
        &amp;lt;property name="models"&amp;gt;
            &amp;lt;list&amp;gt;
                &amp;lt;!-- Bootstrap Data List Model --&amp;gt;
                &amp;lt;value&amp;gt;alfresco/extension/&lt;EM&gt;&lt;STRONG&gt;myCustomDLmodel&lt;/STRONG&gt;&lt;/EM&gt;&lt;EM&gt;&lt;STRONG&gt;.xml&lt;/STRONG&gt;&lt;/EM&gt;&amp;lt;/value&amp;gt;
            &amp;lt;/list&amp;gt;
        &amp;lt;/property&amp;gt;
    &amp;lt;/bean&amp;gt;&lt;/PRE&gt;
&lt;P&gt;I would also copy&amp;nbsp;&lt;STRONG&gt;custom-model-context.xml &lt;/STRONG&gt;to&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;$ALF_INSTALL/tomcat/shared/classes/alfresco/extension &lt;/STRONG&gt;&lt;/EM&gt;directory and restart the services.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Similar steps are explained here :&amp;nbsp;&lt;A href="https://docs.alfresco.com/community/references/dev-extension-points-data-lists.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/community/references/dev-extension-points-data-lists.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 18:07:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130812#M35332</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-01-07T18:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Datalist in alfresco community 6.2.0-ga</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130813#M35333</link>
      <description>&lt;P&gt;thank's a lot&lt;/P&gt;&lt;P&gt;No i'm facing with this error :&lt;/P&gt;&lt;P&gt;org.alfresco.service.namespace.NamespaceException: URI &lt;A href="http://www.alfresco.org/model/datalist/1.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/datalist/1.0&lt;/A&gt; cannot be imported as it is not defined (with prefix dl ...&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 10:44:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130813#M35333</guid>
      <dc:creator>vpan</dc:creator>
      <dc:date>2021-01-08T10:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Datalist in alfresco community 6.2.0-ga</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130814#M35334</link>
      <description>&lt;P&gt;You may have missed to apply a mandatory amp "alfresco-share-services".&amp;nbsp; Amp can be found in the distribution package.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://download.alfresco.com/cloudfront/release/community/201911-GA-build-368/alfresco-content-services-community-distribution-6.2.0-ga.zip" target="_blank" rel="noopener nofollow noreferrer"&gt;https://download.alfresco.com/cloudfront/release/community/201911-GA-build-368/alfresco-content-services-community-distribution-6.2.0-ga.zip&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;See the steps and details here: &lt;A href="https://docs.alfresco.com/community/tasks/alf-war-install.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/community/tasks/alf-war-install.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 17:31:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130814#M35334</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-01-08T17:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Datalist in alfresco community 6.2.0-ga</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130815#M35335</link>
      <description>&lt;P&gt;Right,&lt;/P&gt;&lt;P&gt;It's all good now thx a lot for your time&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 08:38:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130815#M35335</guid>
      <dc:creator>vpan</dc:creator>
      <dc:date>2021-01-11T08:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Datalist in alfresco community 6.2.0-ga</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130816#M35336</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/83913"&gt;@vpan&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad you got it sorted and thanks for reporting back - useful to other users.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 09:56:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130816#M35336</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2021-01-11T09:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Datalist in alfresco community 6.2.0-ga</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130817#M35337</link>
      <description>&lt;P&gt;Good luck&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/83913"&gt;@vpan&lt;/A&gt;&amp;nbsp;, glad you are able to solve your issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 14:13:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-datalist-in-alfresco-community-6-2-0-ga/m-p/130817#M35337</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-01-11T14:13:14Z</dc:date>
    </item>
  </channel>
</rss>

