Skip to Content
avatar image
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);


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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    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 comment
    10|10000 characters needed characters exceeded