01-05-2021 05:51 AM
Hello World,
I'm trying to create custom datalist from this example https://docs.alfresco.com/5.2/references/dev-extension-points-data-lists.html
but the model don't appear in the Data list model purpose ...
01-08-2021 09:31 AM
You may have missed to apply a mandatory amp "alfresco-share-services". Amp can be found in the distribution package.
See the steps and details here: https://docs.alfresco.com/community/tasks/alf-war-install.html
01-11-2021 12:38 AM
01-05-2021 07:09 AM
Datalist model is now moved and part of alfresco-share-services.amp module
In order for you to get the out of the box datalist model in classpath, you need to add following dependency:
<dependency> <groupId>org.alfresco</groupId> <artifactId>alfresco-share-services</artifactId> <version>${alfresco.platform.version}</version> <classifier>classes</classifier> <scope>provided</scope> </dependency>
You need to add the dependency in acs module pom.xml. It makes the datalist model available to your custom model
<!-- Import Alfresco Data List Model Definitions --> <import uri="http://www.alfresco.org/model/datalist/1.0" prefix="dl" />
01-06-2021 04:31 AM
thx,
but the what the way to do this ...
i don't understand ... does i have to download an extra package ??
do i have just to modify a file ..?
.... sorry i'm lost // just to create a datalist model ....
01-06-2021 06:46 AM
@vpan may i know where and how you are creating the datalist, are you using sdk ?
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.
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.
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: https://docs.alfresco.com/6.2/references/dev-extension-points-data-lists.html
01-06-2021 11:57 PM
I installed alfresco CE from the standard package (not dockeriser).
With the basic alfreco.war.
The list I'm trying to define
is in / tomcat / shared / alfresco / extension
...
what should I do ..?
Thank you
Explore our Alfresco products with the links below. Use labels to filter content by product module.