cancel
Showing results for 
Search instead for 
Did you mean: 

Launchpad Link to a KM document (ESS WDA)

rainer_fux2
Participant
0 Kudos

Hello,

We want to add a "link/application" to the launchpad (LPD_cust) that directly opens a file stored in the knowledge management.

In the backend transaction LPD_cust we choose as application type "KM document". Then you have to add the path to the document. As the document should be for each user a different one, we need to add a dynamic path.

I have tested the following path, which works for a certain user, but is actually not dynamic:

/irj/go/km/docs/userhome/USER.PRIVATE_DATASOURCE.un:testuser/PersonalDocuments/test.pdf

Is it possible to add something like "user.id" in place of the user name (in this case testuser) ?

Regards,
Rainer

Accepted Solutions (0)

Answers (2)

Answers (2)

J_R
Advisor
Advisor

Hello Rainer,

that's not so easy to answer, unfortunately.

If your application is not FPM based and your LPD_CUST Launchpad is opened by your application itself by calling CL_APB_LAUNCHPAD_API=>READ_FOR_DISPLAY or CL_APB_LAUNCHPAD_API=>READ_FOR_CHANGE you have the possibility to provide a data provider (parameter IR_PROVIDER) of type IF_APB_LPD_PROVIDER. The latter offers a method MODIFY_VALUES which allows the modification of the launcher parameters and business parameters at runtime.

If your application is FPM based the navigation is normally triggered by method IF_FPM_NAVIGATION->NAVIGATE. The interface IF_FPM_NAVIGATION offers a method MODIFY_PARAMETERS which allows to modify the launcher and business parameters at runtime. Since the navigation mechanism is based on an FPM event here, it's also possible to modify the launcher parameters and business parameters since they are parameters of the FPM event.

In all other cases it is normally not possible to modify the parameters of a Launchpad entry of type 'KM Document'.

rainer_fux2
Participant
0 Kudos

Hello Jens,

Thanks for your quick answer.
I will check this back. Actually, as workaround, we are using "portal page" as application type, which points to an iView. In the iView properties we stored the information /~alias~/userhome/<user.id>/Personal Documents. So the link on the launchpad will point to this iView which calls the Personal Documents folder of each specific user. This solution does not point to a single file and the users can see all files stored in the folder.