cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco metadata not getting updated.

garvitj123
Champ in-the-making
Champ in-the-making
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" +
                     *"<mySmiley TongueropOne>" + "1" + "</mySmiley TongueropOne>\n" +
                     "<mySmiley TongueropTwo>" + "2" + "</mySmiley TongueropTwo>\n"* +
                     "<cmisraSmiley Surprisedbject>\n"+
                     "<cmisSmiley Tongueroperties>\n" +
                     "<cmisSmiley TongueropertyId propertyDefinitionId='cmisSmiley SurprisedbjectTypeId'>\n" +
                     "<cmis:value>cmis:folder</cmis:value>\n" +
                     "</cmisSmiley TongueropertyId>\n" +
                     "</cmisSmiley Tongueroperties>\n" +
                     "</cmisraSmiley Surprisedbject>\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
1 REPLY 1

nikes
Champ on-the-rise
Champ on-the-rise
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.