section.properties
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-28-2011 10:47 AM
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
cmis
bjectId
ws:excludeFromNavigation
ws:sectionConfig
I have created a custom aspect for section called ws
ageSize. 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?
<#assign keys = section.properties?keys>
<#list keys as key>
${key} <br />
</#list>
I get:
cm:description
cm:title
cmis:name
cmis

ws:excludeFromNavigation
ws:sectionConfig
I have created a custom aspect for section called ws

is not available as part of section.properties? Are these values hard coded from SectionFactoryCmisImpl?
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-29-2011 01:43 PM
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.
Apologies for any inconvenience this causes.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2011 08:22 AM
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
cheers,
etienne

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2011 08:52 AM
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.
4.0 is out in community form already. I believe the planned date for the Enterprise release is early January.
