Stackoverflow Com Questions 30649722 Alfresco Custom Data Lico
Stackoverflow Com Questions 30649722 Alfresco Custom Data Lico
I have created a custom data list in Alfresco, and have populated its model with the desired
data columns. However, when I view the list in Alfresco share, the order is completely off, and
1 there are elements that I have not defined in the model.
I have searched extensively as to how to fix this, and have not been successful. From what I
understand, I need to define the layout in the share-config-custom.xml, which I have attempted
below (snippet of only what I added):
Content model:
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
<?xml version="1.0" encoding="UTF-8"?>
<!-- Definition of new Model -->
<model name="orpdl:orpDataListModel" xmlns="http://www.alfresco.org/model/dic
<constraints>
<constraint name="orpdl:contractTypeList" type="LIST">
<parameter name="allowedValues">
<list>
<value>T&M</value>
<value>FFP</value>
<value>CPFF</value>
<value>CPIF</value>
</list>
</parameter>
The goal of this code is to have only the programName text box appear. But this is what I'm
seeing:
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
What am I missing?
Share Improve this question Follow edited Jun 4, 2015 at 18:35 asked Jun 4, 2015 at 16:50
Alan
508 9 24
Please add content model(Where you have defined datalist) as well – Krutik Jayswal Jun 4 2015 at 18:15
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
Please add content model(Where you have defined datalist) as well. Krutik Jayswal Jun 4, 2015 at 18:15
Add a comment
Sorted by:
1 Answer Highest score (default)
Share Improve this answer Follow edited Jun 5, 2015 at 5:43 answered Jun 4, 2015 at 18:24
Krutik Jayswal
3,155 1 15 38
Thanks for your help, however, that was just a typo on my end. I updated the example code to reflect my
current code, with the type and config names being updated to "orpList". I'm still seeing unwanted elements
in my data list. – Alan Jun 4, 2015 at 18:36
Please see the image.I have deployed code which is in pastebin.com/LVWhLEBd link – Krutik Jayswal Jun
5, 2015 at 5:43
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
can you upload your all file somewhere? – Krutik Jayswal Jun 5, 2015 at 12:44
Let us continue this discussion in chat. – Krutik Jayswal Jun 5, 2015 at 12:47
Add a comment
Not the answer you're looking for? Browse other questions tagged layout alfresco datalist alfresco-share
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com