Ritu,
Rather than changing the property can you just move/rename the file?
WebDav has the concept of "live" properties that are dynamic and cannot
be edited. It might be that DAV:displayname isn't modifiable.

-James

>>> [EMAIL PROTECTED] 6/11/2004 9:41:05 AM >>>
I apologize if I am inconveniencing by reposting this mail. 
I would really appreciate if someone could please let me know whether I
can
modify the DAV:displayname property of a collection. 

Ideally I expected the displayname to be a modifiable property but
proppatch
is not overwriting that property instead it is creating a new
displayname
property with empty namespace. I can use this displayname with my
custom
namespace, but this would require me to make one additional propfind
call
after getting the resource using WebdavResource. I would like to avoid
this
additional call per resource when doing getChildResources.

Any reply would be greatly appreciated.
Regards,
Ritu

-----Original Message-----
From: Ritu Kedia [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 10, 2004 7:13 PM
To: Slide Users Mailing List (E-mail)
Subject: Not able to modify DAV:displayname property of a Collection


My requirement is to rename a Collection. 
I tried using: *proppatch("collectionPath", new
PropertyName("DAV:","displayname"), "newName", true)*
But this method created a new property "displayname" with empty
namespace
instead of modifying the "DAV:displayname" property.

Could anyone please tell me what is the expected behavior? 

Regards,
Ritu

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to