on 07-07-2011 9:53 AM
Hi.
I created a Web Dynpro application and I want it to show diferent layouts based on the enviroment it is running.
If its running with the sap portal some UI elements should became invisible, if its running in a browser solo all elements should stay visible.
How can I check the application running environment?
Regards
Hi,
Create a configuration for the component and hide all elements that need to be invisible in the portal , then assign the configuration to application.In the iview of portal pass this configuration name ,so that the elements will be invisible .For running application in the browser just trigger the application that was not assigned to configuration.
Still you need to work on disabling end user personalization and this can be used as workaround.
Regards
karthiheyan M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.,
While Creating iview Pass Application Parameters., Now in your Web dynpro Component Read the Parameter., If the Parameter Contains the Value It is running from Portal., Else it is running in normal browser.
based of the parameter You play around with Show / Hide or Enable / Disable UI Elements.
For reference How to create Application Paratemers check my article here: [How To Integrate WDA in Portal|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/008fc414-997f-2e10-3899-fd895ec8eb5e]
hope this helps u.,
Thanks & Regards,
Kiran
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.