Skip to Content
author's profile photo Former Member
Former Member

creating resources with the same 'description'

Hello, i am trying to create a collection and an external link in a collection, the name of this 2 resources should be the same and the ID of the resources should be <collection> and <collection>_lnk .

I have no problem creating these resources with the described ID, but i have some problem setting the description on the link resource as i am not able to retrieve the property name to be used, tried using

p = new Property(PropertyName.createDescription(),description);

and

p = new Property(PropertyName.createDisplayname(),description);

but the first changes the long description of the resource and the latter tries to change the ID(i guess), giving a name already exist exception.

Also using the rename method of IResource gives a name already exist exception.

Anyone have hints about what is the property to be used to change the name of a resource, i would like to mimic the rename function available in the KM explorer.

Thanks and best regards

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 30, 2004 at 07:54 PM

    This sounds strange. Please post full example source code, most likely something else is wrong.

    Best regards, Julian

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.