Browse
Hyland Connect
Hyland Community
Help
Sign In
What's New
Platform
Content Innovation Cloud
Content Innovation Cloud Blog
Alfresco
Alfresco Forum
Alfresco Blog
Alfresco Archive
Nuxeo
Nuxeo Forum
Nuxeo Blog
Community Blog
Alfresco metadata not getting updated.
garvitj123
Champ in-the-making
Options
Mark as New
Subscribe to RSS Feed
Permalink
Print
05-22-2013
10:17 AM
Iissue is that the properties which i created are not getting set, they are created as a part of the metadata but not getting updated with the values.
below is the xml which i am sending to create the folder
String xml =
"<?xml version='1.0' encoding='utf-8'?>\n" +
"<entry xmlns='
http://www.w3.org/2005/Atom
' xmlns:cmisra='
http://docs.oasis-open.org/ns/cmis/restatom/200908/
'" +
" xmlns:my='
http://www.jordiv.com/model/content/1.0
' xmlns:cmis='
http://docs.oasis-open.org/ns/cmis/core/200908/
'>\n"+
"<title>" + folderName + "</title>\n" +
"<summary>" + folderDesc + "</summary>\n" +
*"<my
ropOne>" + "1" + "</my
ropOne>\n" +
"<my
ropTwo>" + "2" + "</my
ropTwo>\n"* +
"<cmisra
bject>\n"+
"<cmis
roperties>\n" +
"<cmis
ropertyId propertyDefinitionId='cmis
bjectTypeId'>\n" +
"<cmis:value>cmis:folder</cmis:value>\n" +
"</cmis
ropertyId>\n" +
"</cmis
roperties>\n" +
"</cmisra
bject>\n" +
"</entry>\n";
below are the folder properties -
Name: Black_Rock
Title:
Description: Repository for menataing uploaded Documents.
Creator: admin
Created Date: 22 May 2013 19:17
Modifier: admin
Modified Date: 22 May 2013 19:17
Email ID: 2011
Property 1:
Property 2:
Thanks
Labels:
Labels:
Archive
Archive
ECM Archive
All forum topics
Previous Topic
Next Topic
1 REPLY
1
nikes
Champ on-the-rise
Options
Mark as New
Subscribe to RSS Feed
Permalink
Print
06-10-2013
09:44 AM
Which type of API are you using for this operation?
Also if any exceptions are printed in log(catalina.out) file then you can share it.
Post Reply