You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Satish <sa...@harbinger-systems.com> on 2007/05/15 06:36:14 UTC
How to add custom property to Version of file
Hi Sliders
I am facing problem while assigning custom property for file version resides
in history folder.
Slide maintain version details in different way than for normal file.
I need to assign custom property like "Comment" for perticular version but I
am not able to get what path I should
give to HTTPURL object as in
for files we can get handle as
http://server/slide/files/abc.xml
but for version of abc.xml what path can it be!
I can set property for http://server/slide/files/abc.xml but not able to set
for version since I cant access it!
Any help or suggestion will be appriciated!
With best regards,
Satish
Disclaimer:
This e-mail may contain Privileged/Confidential information and is intended only for the individual(s) named. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. Please notify the sender, if you have received this e-mail by mistake and delete it from your system. Information in this message that does not relate to the official business of the company shall be understood as neither given nor endorsed by it. E-mail transmission cannot be guaranteed to be secure or error-free. The sender does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Visit us at http://www.harbinger-systems.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: How to add custom property to Version of file
Posted by Julian Reschke <ju...@gmx.de>.
Hi,
in RFC3253 (WebDAV versioning) versions are immutable. So you can't set
a property on a version. This is by design.
Best regards, Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: How to add custom property to Version of file
Posted by Matthias Reischenbacher <ma...@gmx.at>.
With default configuration slide stores versions in the history folder,
in your case it would be something like: http://server/slide/history/.
There you'll find subfolders which contain the versions for each webdav
resource.
I'm not completely sure how you do the versioning of your files. As I
have understood so far, there are two ways: 1) use slide versioning over
the slide API; 2) use DeltaV versioning extensions over the webdav
client library.
If you use way one, check out the slide API javadocs and there you'll
find the solutions. If you use way two, you'll have to retrieve the
verion tree of your webdav resource ( = your file). This is done by
executing the REPORT method which will return you a xml fragment of all
the version URIs. Check out the webdav client library javadoc for more
details.
Matthias
Satish wrote:
> Hi Sliders
>
> I am facing problem while assigning custom property for file version resides
> in history folder.
> Slide maintain version details in different way than for normal file.
>
> I need to assign custom property like "Comment" for perticular version but I
> am not able to get what path I should
> give to HTTPURL object as in
>
> for files we can get handle as
> http://server/slide/files/abc.xml
>
> but for version of abc.xml what path can it be!
>
> I can set property for http://server/slide/files/abc.xml but not able to set
> for version since I cant access it!
>
> Any help or suggestion will be appriciated!
>
>
> With best regards,
> Satish
>
> Disclaimer:
> This e-mail may contain Privileged/Confidential information and is intended only for the individual(s) named. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. Please notify the sender, if you have received this e-mail by mistake and delete it from your system. Information in this message that does not relate to the official business of the company shall be understood as neither given nor endorsed by it. E-mail transmission cannot be guaranteed to be secure or error-free. The sender does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Visit us at http://www.harbinger-systems.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org