cancel
Showing results for 
Search instead for 
Did you mean: 

Table with Links

Former Member
0 Kudos

Hi everyone!

Can anyone tell me how to create table in portal through netweaver developer studio with links to the documents stored in KM repository.

Thanks in advance..

sonal

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi sonal,

Go through the following link , set the cell/column type as link and give the link to the KM document as a hyper link to be displayed on client click.Try using Classlib

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/eb/220a415a47f06fe10000000a1550b0/content.htm">Table view</a>

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/d0/55074155bcf26fe10000000a1550b0/frameset.htm">Controls</a>

Hope it helps.

Regards,

Vivek

Former Member
0 Kudos

Hi vivek,

thanks for your help but i am not getting how to proceed as i m not geeting the reference for the document in Km..

can u tell me in detail

Saravanan_SD
Advisor
Advisor
0 Kudos

Hi Sonal,

You can get acces to KM documents thro:

IUser user = (IUser) request.getUser();
IResourceContext resourceContext = new ResourceContext(user);
RID rid = RID.getRID("/document");
	  IResource resource = (IResource) ResourceFactory.getInstance() .getResource(rid, resourceContext);

Get the access URL path to the documents. Have a look at these KM APIs.

<a href="http://">https://media.sdn.sap.com/html/submitted_docs/nw_kmc/howto/rf/client_api/rf_client_api.html</a>

Hope it helps.

Regards,

Saravanan

Former Member
0 Kudos

Hi ,

You can also get the URL path from the properties of the document by rightclicking the document in the KM content of the content management.

Hope it helps.

Regards,

Vivek