cancel
Showing results for 
Search instead for 
Did you mean: 

Identifying KM resources which are having links

Former Member
0 Kudos
127

Hi,

I would like to trace out the KM resources, which are having links thrugh program.

For example I have KM content like /Root/Sub Folder/Test.html. I have created the link for "Test.html" and given target folder as "/Root/Sub Folder 2".

Like this I am creating like and giving targets to different folders.

I want to know how many links are created for the "Test.html" and what are the target paths for those links.

Please let me know

Thanks

View Entire Topic
0 Kudos

Hi,

There is no such goodie to find the links of a resource, that is the reason we have a Link Consistency report in KM to delete defective links:

http://help.sap.com/saphelp_nw70/helpdata/EN/9e/aaf02f16ca7c43a7bd8ab093cce6bb/frameset.htm

Regards,

Praveen Gudapati

Former Member
0 Kudos

Thanks for your reply.

The mentioned tool gives the resources report, which are failed.

The following are my doubts. Can u clarify?

1. Can we get the list of resources, which are created as a link in KM

2. Can we get the report for the broken links, which are given in the resource content.

(ex: I have given link for the Test.jpg, which is located in root\subroot\images folder, in the document Test.html, which is located in some KM folder)

Please let me know

Thanks

0 Kudos

Hi,

To find out resources which are links just create a custom KM report which iterates through the km resources in the folder and checks if the resource is a link:

// Returns the link type (NONE if the resource is not a link).

IResource.getLinkType();

https://help.sap.com/javadocs/NW04S/current/km/com/sapportals/wcm/repository/IResource.html

For the 2nd question: There is no such report, so again needs custom implementation.

Regards,

Praveen Gudapati

Former Member
0 Kudos

Thanks Praveen

0 Kudos

Hi,

If this solved you problem, you can also assign some points to my replies.

Regards,

Praveen Gudapati

Former Member
0 Kudos

Hi Praveen,

We have already developed custom application to find out the links, which are available in KM.

I am thinking that there may be some reporting tool in KM.

Thanks for your response.

Former Member
0 Kudos

Hi Praveen,

There is some wise functionality is there in KM.

After creating the links for the some resourse in KM, If we do any changes in the source that is automatically effecting the links aslo.

For example :

1. If we modify the source content the modified date changing for source and all created links for this resorce.

2. If we remove source, all links are deleted

3. If we move the resource to some other folder then link target is also changing automatically.

So, The source is having information about the links that where those links are exist and changing properties accordingly.

I think there will be some process to identify if any links are created for some perticular resource in KM.

Please let me know if any idea

Thanks

0 Kudos

Hi,

Check the guid short id's, these short ID's do not change if you move an object from one KM folder to another.

http://help.sap.com/saphelp_nw70/helpdata/EN/5d/ca91420f87a970e10000000a155106/frameset.htm

All the other features you are looking for are not present in KM.

Regards,

Praveen Gudapati