Quantcast
Channel: Alfresco Forums - Usando Alfresco
Viewing all articles
Browse latest Browse all 384

Dudas - CMIS - Update

$
0
0

Hola a todos.

Tengo una duda de como realizar un update de metadata(que tiene un tipo y aspecto) mediante CMIS.

He buscado por intenert pero los ejemplo no lo tengo claro.

Esto encontre

ICmisObject cmisObject = ...
 
IDictionary<string, object> properties =new Dictionary<string, object>();
properties["my:string"]="a string";
properties["my:int"]=42;
properties["my:date"]= DateTime.Now;
 
IObjectId newId = cmisObject.UpdateProperties(properties);
 
if(newId.Id== cmisObject.Id)
{
// the repository updated this object - refresh the object
cmisObject.Refresh();
}
else
{
// the repository created a new version - fetch the new version
cmisObject = session.GetObject(newId);
 
 
<code>
 
 
No logro entenderlo ya que me imagino que debo realizar un query el cual no he visto el ejemplo.
 
Tienen algun ejemplo que me puedan suministrar para el update de metadata que esta asociado a un tipo y aspecto??
5.0.d

Viewing all articles
Browse latest Browse all 384

Trending Articles


Vimeo 10.7.1 by Vimeo.com, Inc.


UPDATE SC IDOL: TWO BECOME ONE


KASAMBAHAY BILL IN THE HOUSE


Girasoles para colorear


Presence Quotes – Positive Quotes


EASY COME, EASY GO


Love with Heart Breaking Quotes


Re:Mutton Pies (lleechef)


Ka longiing longsem kaba skhem bad kaba khlain ka pynlong kein ia ka...


Vimeo 10.7.0 by Vimeo.com, Inc.


FORECLOSURE OF REAL ESTATE MORTGAGE


FORTUITOUS EVENT


Pokemon para colorear


Sapos para colorear


Smile Quotes


Letting Go Quotes


Love Song lyrics that marks your Heart


RE: Mutton Pies (frankie241)


Hato lada ym dei namar ka jingpyrshah jong U JJM Nichols Roy (Bah Joy) ngin...


Long Distance Relationship Tagalog Love Quotes