on 11-15-2010 2:12 PM
Hi All,
I have a WD application with 3 views. Out of them, the default view will be calling the 2nd view when some action occurs.
But, the 3rd view should only display some messages(coming from the 1st view) and has to appear in portal under a different Role. Is this possible?
How can i create a separate iview and assign it to a separate role in Portal for the 3rd view?
Any help will be truly appreciated.
Thanks,
Becky.
Hi,
di dyou try with interface views?
like create a DC1 with the View3 and another DC2 with View1 and View2. and make the View3 in DC1 available for DC2 so that you can use the same view in both the DCs and now create two iViews based on these DCs and assign them to roles as required.
Check this link
http://help.sap.com/saphelp_nw04/helpdata/en/0d/b11640dc88e769e10000000a155106/frameset.htm
Regards,
SrinivaS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Becky,
You can try this,
Create two iViews for two roles. While creating iviews give parameters fromRole=role1 in first iview and fromRole =role2 in second iview.
Now in your code for view1 in wdDOInit() (or in appropriate method)
String role_name = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("fromRole");
if(role_name.equalsIgnoreCase("role1"))
{
// other required code
....
FirePlug to view2
} else if(role_name.equalsIgnoreCase("role2"))
{
//other required code..
FirePlug to view3
}
Hope this helps...
- Dileep
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.