cancel
Showing results for 
Search instead for 
Did you mean: 

Repository table view properties

tsafarog
Champ on-the-rise
Champ on-the-rise
Hello,

I have created a custom model and deployed it into my repository.
Now i want some of the aspect properties to be displayed in the table view.

I managed to configure some of those in  share-documentlibrary-config.xml but i would like to change the way some of these properties are shown.



<view-renderer id="table" iconClass="table" label="button.view.table" index="50" widget="Alfresco.DocumentListTableViewRenderer">
               <dependencies>
                  <js src="components/documentlibrary/documentlist-view-detailed.js" />
                  <js src="components/documentlibrary/documentlist-view-table.js" />
                  <css src="components/documentlibrary/documentlist-view-table.css" />
               </dependencies>
               <json-config>
                  {
                     "actions": {
                        "show": "true"
                     },
                     "indicators": {
                        "show": "false"
                     },
                     "selector": {
                        "show": "true"
                     },
                     "thumbnail": {
                        "show": "false"
                     },
                     "propertyColumns": [
                         {
                           "property": "jv:protocolnumberJV",
                           "label": "JV Protocol Number"                          
                        },
                  {
                           "property": "name",
                           "label": "label.name"
                        },
                        {
                           "property": "cm:title",
                           "label": "label.title"
                        },
                        {
                           "property": "cm:author",
                           "label": "Author"
                        },
                  {
                           "property": "jv:protocolnumergose",
                           "label": "ERGOSE Protocol Number"
                        },
                  {
                           "property": "cm:taggable",
                           "label": "Tags"
                        },
                  {
                           "property": "cm:categories",
                           "label": "Categories"
                        },
                        {
                           "property": "jv:submissiondate",
                           "label": "Submission Date"
                        }
                     ]
                  }
               </json-config>
            </view-renderer>


In table view and under the tags property shows the number of tags assigned to the document. Is it possible to display all the tags and not the SUM of them?

Same in categories… instead of displaying the category names that are assigned to the document it displays the number of categories!
for example 4 categories are assigned. Is it possible to display those categories in the table view?

Thank you in advanced
1 REPLY 1

tsafarog
Champ on-the-rise
Champ on-the-rise
The change below did the view type i hoped for


{
                           "property": "tags",
                           "label": "label.tags"
                        },
                  {
                           "property": "categories",
                           "label": "label.categories"
                        }