AnsweredAssumed Answered

Update Metadata

Question asked by tremalnaik on Dec 12, 2011
Latest reply on Dec 15, 2011 by tremalnaik
Hi,

I'm triying to edit the metadata from some object in my Alfresco.

I'm using the post

POST /alfresco/service/api/metadata/node/{store_type}/{store_id}/{id}

And the JSON element I want to edit is the next:


{"@xmlns":"http://www.w3.org/2005/Atom",

"cmisra:object":{"cmis:properties":{"@xmlns:cmis":"http://docs.oasis-open.org/ns/cmis/core/200908/",
                                                      …
                                                      "cmis:propertyString":[…
                                                                                        {"@propertyDefinitionId":"ac:place",
                                                                               "@displayName":"Place",
                                                                               "@queryName":"ac:place"},
                                                                                      …
}

The JSON message that I must send, how should it be?

This chan hasn't any result:


{"cmis:properties":{"cmis:propertyString":{"@propertyDefinitionId":"ac:place":"Room"}}";

Outcomes