How to extend datalist when using the repo-amp archetype
See original GitHub issueIssue Description
I’m testing the 2.2.0 version of the SDK, and this project has some custom datalist types. The problem is how to import the datalist content model if the content model has been moved to share-services?
What exactly should I use as a dependency?
<dependency>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-share-services</artifactId>
<version>5.1.g</version>
<type>amp</type>
</dependency>
or
<dependency>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-share-services</artifactId>
<version>5.1.g</version>
<classifier>classes</classifier>
</dependency>
What is the right way of doing this? I’ve tried both, but none of them worked.
The alfresco-platform version for this project is the 5.2.a-EA.
Some of the error messages when I execute the project:
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 06060001 Could not import bootstrap model 'alfresco/module/custom-core-repo/model/content-model.xml'
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 06060000 Failed to compile model 'custom:customcontrol'
Caused by: org.alfresco.service.namespace.NamespaceException: URI http://www.alfresco.org/model/datalist/1.0 cannot be imported as it is not defined (with prefix dl
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
<datalist>: The HTML Data List element - MDN Web Docs
To bind the <datalist> element to the control, we give it a unique identifier in the id attribute, and then add the list...
Read more >datalist option width smaller than input width when px more ...
Hi all I'm using flask WTForm form ...
Read more >Alfresco One Developer Guide | PDF | Computer File | Metadata
This task shows how you can use the Repo AMP archetype of the Alfresco SDK to generate a repository extension module containing a...
Read more >(PDF) Alfresco Content Services 5.2 Developer Guide - activiti ...
Therefore, extension points aredeveloped using JVM-based scripting languages ... The Alfresco Repository (Repo) AMP Archetype generates a sample project for ...
Read more >2m-subdomains.txt - Index of /
... win-client mathjax explorer extension CHANGELOG 6 angular dashboard train ... dubbo-cluster Static gpxe adempiere ux purchase baidu archetypes war-core ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I need to extend the repository with one webscript very similar to the existing one that is in the alfresco-share-services AMP.
I have to take a look into the Java code and probably I’ll reuse some of the existing artifacts.
I prefer to use the following approach:
This is the solution I am using right now… using the classes classifier does the trick, even with the new 4.0 version