Open GoogleCodeExporter opened 9 years ago
If this cannot be done easily via CMIS then an alternative is to not record
this information as an association
Note - this content should be 'admins' not 'acknowledgements' -
acknowledgements should be a repeating first name, last name group which is not
connected to users
Original comment by ian.well...@gmail.com
on 13 May 2011 at 10:18
CMIS GET and PUT of associations
------------------------------------------
Estimate: 4h
Description: Investigate and test these CMIS calls
Change Ackknowledgements to admins and change association from study_folder ->
users to study_folder -> admins (first_name & last_name)
------------------------------------------
Estimate: 4h
Description: Create new admin aspect and associate study folder with it.
Update Share Config to show in UI
Original comment by graviton...@gmail.com
on 19 May 2011 at 2:42
1) Start testing with current acknowledgements association and see if it can be
returned and updated by using relationships in CMIS, if it does not work:
2) Then remove the acknowledgements association and replace it with an admins
field on Study that is defined as multiple.
Original comment by ian.well...@gmail.com
on 1 Jun 2011 at 2:02
Example of CMIS get:
http://46.137.82.21:8080/alfresco/service/cmis/p/Sites/children
Original comment by ian.well...@gmail.com
on 1 Jun 2011 at 2:04
Alfresco does not support relationship queries like the following:
SELECT * FROM cmis:relationship WHERE cmis:sourceId = 'noderef-of-study folder'
So instead implemented the admins as a field on study folder data and made it
multiple.
A CMIS query like:
SELECT f.*, a.* FROM wc:studyFolder AS f JOIN wc:studyFolderData AS a ON
f.cmis:objectid = a.cmis:objectid
Will now return the admins as follows:
<cmis:propertyString propertyDefinitionId="wc:admins"
displayName="Users (first name and last name) that are the creators of this study (admins)"
queryName="a.wc:admins">
<cmis:value>Martin Bergljung</cmis:value>
<cmis:value>Veronika Bergljung</cmis:value>
</cmis:propertyString>
Original comment by graviton...@gmail.com
on 5 Jun 2011 at 10:05
Check https://issues.alfresco.com/jira/browse/ALF-7538
Original comment by ian.well...@gmail.com
on 6 Jun 2011 at 1:46
Original issue reported on code.google.com by
ian.well...@gmail.com
on 12 May 2011 at 9:07