Error during search on custom records management metadata
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2013 09:19 AM
Hello -
I am trying to create a custom search in Workdesk using custom metadata from my Alfresco respository. I made sure to add the Aspect Retriever lines to my bootstrap file, but I keep getting this error
Property P:rmc:rmarecordCustomProperties.rmc:CONTRACT is neither defined in object class cmis:document nor in the applied Alfresco aspects
Anyone encountered this?
I am trying to create a custom search in Workdesk using custom metadata from my Alfresco respository. I made sure to add the Aspect Retriever lines to my bootstrap file, but I keep getting this error
Property P:rmc:rmarecordCustomProperties.rmc:CONTRACT is neither defined in object class cmis:document nor in the applied Alfresco aspects
Anyone encountered this?
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2013 10:22 AM
Hi Melanie,
first you should verify that the Aspect property is really named as you specified it in the search template.
Then you should check your <subclasses> node in the search template. Are you searching for cmis:document only? Do have objects from this type in your Alfresco repo that have the defined Aspect property attached?
Regards,
Dennis
first you should verify that the Aspect property is really named as you specified it in the search template.
Then you should check your <subclasses> node in the search template. Are you searching for cmis:document only? Do have objects from this type in your Alfresco repo that have the defined Aspect property attached?
Regards,
Dennis
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2013 11:50 AM
Hi Dennis -
I believe the aspect property is named correctly… I queried for the document using CMIS and i see the aspect type that was applied <alf:appliedAspects>P:rmc:rmarecordCustomProperties</alf:appliedAspects>
and then I see its value
<cmisropertyString propertyDefinitionId="rmc:CONTRACT" displayName="CONTRACT" queryName="rmc:CONTRACT"/><cmis:value>DOC45PAPT117000</cmis:value></cmisropertyString>
I am struggling with how to make sure that aspect is applied with workdesk and in my search so I can create searches against that attribute.
I believe the aspect property is named correctly… I queried for the document using CMIS and i see the aspect type that was applied <alf:appliedAspects>P:rmc:rmarecordCustomProperties</alf:appliedAspects>
and then I see its value
<cmisropertyString propertyDefinitionId="rmc:CONTRACT" displayName="CONTRACT" queryName="rmc:CONTRACT"/><cmis:value>DOC45PAPT117000</cmis:value></cmisropertyString>
I am struggling with how to make sure that aspect is applied with workdesk and in my search so I can create searches against that attribute.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2013 05:30 AM
Hi,
basically Workdesk is creating a corresponding JOIN if the search definition contains any aspect properties in WHERE or SELECT clause.
<blockquote>
I am struggling with how to make sure that aspect is applied with workdesk
</blockquote>
By default you cannot see that, Aspects are not part of the CMIS 1.0 spec and therefore are used/handled through specific extensions. In CMIS 1.1 there will be a possibility to handle/see Aspects "nativly".
I know that with the older version of Workdesk and alfresco 4.x there was a problem in communication, please try the latest release of Workdesk 4.1.1 where many problems were solved using the Apache Chemistry OpenCMIS framework.
Regards,
D.evil
basically Workdesk is creating a corresponding JOIN if the search definition contains any aspect properties in WHERE or SELECT clause.
<blockquote>
I am struggling with how to make sure that aspect is applied with workdesk
</blockquote>
By default you cannot see that, Aspects are not part of the CMIS 1.0 spec and therefore are used/handled through specific extensions. In CMIS 1.1 there will be a possibility to handle/see Aspects "nativly".
I know that with the older version of Workdesk and alfresco 4.x there was a problem in communication, please try the latest release of Workdesk 4.1.1 where many problems were solved using the Apache Chemistry OpenCMIS framework.
Regards,
D.evil