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 ...
You may have missed to apply a mandatory amp "alfresco-share-services". Amp can be found in the distribution package.
https://download.alfresco.com/cloudfront/release/community/201911-GA-build-368/alfresco-content-services-community-distribution-6.2.0-ga.zip
See the steps and details here: https://docs.alfresco.com/community/tasks/alf-war-install.html
Right,
It's all good now thx a lot for your time
regards,
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" />
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 ....
@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
I installed alfresco CE from the standard package (not dockeriser).With the basic alfreco.war.The list I'm trying to defineis in / tomcat / shared / alfresco / extension...what should I do ..?
Thank you