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

Rename Links

Hi,

we are using Link Objects to avoid duplicate documents in the kmc repository.

One main or target document is referenced from some folders using Links. It works fine.

But there is a "unaesthetic" problem, if we rename the main or target document.

The name of the Link doesn't change and the collation is confused.

For instance the target document ist renamed from "A" to "B", the Link Object (not the

displaying name in the folder) is still named "A".

Why? What ca we do? Rename all Links?

Thanks for help.

Ciao

Ray

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 02:16 PM

    Hi Ray,

    KM links are special KM resource objects that contain a reference to a target KM resource.

    They do change their name while renaming the target resource if they are located in the same repository as the target.

    However links that are located in other repositories indeed are not notified about a rename of the target.

    Even more worse if a target resource is deleted a link to that target in another repository stays as a broken link.

    So what could be done here ?

    You could think about a custom "create link" command that creates a link to a target resource but additionally stores the guid of the link in a property of the target resource.

    Whenever the target is changed you could read this "link" property and notify the link resources about the change. Again via custom change commands.

    The notification could also be implemented as a KM services that listens to change events on resources.

    So basically you would need to do some KM Java development here.

    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.