cancel
Showing results for 
Search instead for 
Did you mean: 

update error in .net2005

pmarreddy
Champ in-the-making
Champ in-the-making
hi,

i am trying to use update command some how i am able to create a new node but i canot display the response. when i am using  result[0].destination it is giving me error object reference not set ot an instance of an object. i can serach for the create object it exists.

CML cml = new CML();
cml.create = new CMLCreate[1] {(create)};

UpdateResult[] result = repoService.update(cml);
Reference newcontentnode = result[0].destination;

thanks prasanth
1 REPLY 1

kannank
Champ in-the-making
Champ in-the-making
Hi,

Please refer the link as follows,

http://forums.alfresco.com/viewtopic.php?t=1434

This may be useful to you in solving your problem.

For me the code which I have posted in the forum works fine when I upload an image file or text file from local machine to alfresco - The code works well and transfer the image to alfresco - However I have one error in that "When transfering image, the image name is not transfered to the node and instead the node shows GUID numbers" - Still I am able to open the image in alfresco.

Can you give me some clue that how to get the image name into node when create new node - I have tried in both VS.NET 2003 and 2005 - Still same error.

Looking for your help,

Thanks,
K.Kannan.