on 01-08-2009 3:41 PM
Hello everybody,
i have seen that nice print function inside the enterprise Portal, which provide printing out of the portal. The printing view shows the current iView in the actual application state. Which is very nice.
The problem now is, that we use a custom facing portal and have disabeld the toolbar with the print function.
Now i have two questions:
First is there a possibility to directly include the print function to portal iViews?
Or where is the function included in? Does anyone know the par file where the code is stored?
Second i have seen, that the print view is beeing build via page builder with some options and session information. If i can get inside my webDynpro app the session parameters which are required i would be able to build the url by my own and reproduce the portal print function.
So does anybody know how to access the session parameters?
The link lookls like:
http://server:port/irj/servlet/prt/portal/prtroot/com.sap.portal.pagebuilder.IviewModeProxy?iview_id...BanyTmPeT4gasNhupUyCJw&IviewPrint=true
So my question is now, can i get the parameter:
sap-wd-cltwndid
sap-wd-pb-ext-sid
inside my webDynpro application via runtime???
Would be very nice and helpful if someone can help me!
kind regards
Fabian
is it something that you want to debug at runtime and find out those values?
Please, follow this link->
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56]
Also look at this. This might be of more use. it explains extracting such portal parameters:
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0446f5c-fcb9-2910-e082-88becbe3ddc9|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0446f5c-fcb9-2910-e082-88becbe3ddc9]
-kunal kotak
Edited by: kunal kotak on Jan 12, 2009 12:16 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello thank you for the helpful answers,
i solved the problem with the info from kunal.
For everyone as info you can access the URL Parameters with the following code:
String paramValue =
WDProtocolAdapter().
getProtocolAdapter().
getRequestObject().
getParameter(u201Cparamu201D); // Parametername
You can get all avalibel parameters with the method:
WDProtocolAdapter().
getProtocolAdapter().
getRequestObject().getParameterValues()
kind regards
fabian eidner
Edited by: Fabian Eidner on Jan 13, 2009 12:19 PM
Edited by: Fabian Eidner on Jan 14, 2009 12:53 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try to store the variable in Context And then Integrate WebDynpro application into Portal. Then from WD retrieve the variable stored in Webdynpro context
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.