cancel
Showing results for 
Search instead for 
Did you mean: 

section.properties

mizage
Champ in-the-making
Champ in-the-making
From an ftl file if I execute the following code:

<#assign keys = section.properties?keys>
<#list keys as key>
   ${key} <br />
</#list>

I get:

cm:description
cm:title
cmis:name
cmisSmiley SurprisedbjectId
ws:excludeFromNavigation
ws:sectionConfig

I have created a custom aspect for section called wsSmiley TongueageSize. This shows up fine in share and in the alfresco node browser. Why
is not available as part of section.properties? Are these values hard coded from SectionFactoryCmisImpl?
3 REPLIES 3

bremmington
Champ on-the-rise
Champ on-the-rise
This is due to WQS using CMIS when retrieving sections, and CMIS not being able to return arbitrary, "unknown" properties via a query. In 4.0 this is resolved so that all properties of sections are returned (much the same as for assets).

Apologies for any inconvenience this causes.

mizage
Champ in-the-making
Champ in-the-making
Ok, so would I have to change the query in SectionFactoryCmisImpl for it to work? Any word on when 4.0 is out?

cheers,
etienne

bremmington
Champ on-the-rise
Champ on-the-rise
Yes, you would basically need to replace the query and the buildSection method. I've just looked at that class and I've noticed that we haven't done a very good job at making it extendable which is unfortunate. Again, apologies for not making life a touch easier for you.

4.0 is out in community form already. I believe the planned date for the Enterprise release is early January.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.