on 10-03-2006 10:20 AM
Hello,
I would like to know which api's i need to use in my application to know whether the instance of the webdynpro application is running through Enterprise portal or is it running as a standalone application ( direct url ) .
Please can some body give some insight regarding this.
Thanks
V Vinay
See <a href="https://media.sdn.sap.com/javadocs/NW04/SPS15/wd/com/sap/tc/webdynpro/clientserver/portal/WDPortalUtils.html#isRunningInPortal()">here</a>.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
good
go through this link, i hope this ll help you to solve your problem,
/people/benny.schaich-lebek/blog/2006/06/14/how-to-tune-your-netweaver-developer-workplace-i
thanks
mrutyun^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
try this
This solution is workaround
String strUserid = new String();
String loginuser=null;
try{
IWDClientUser wdUser = WDClientUser.getCurrentUser();
IUser user = wdUser.getSAPUser();
if(user != null)
{
IUserAccount acct[] = user.getUserAccounts();
if(acct[0] != null)
{
loginuser = acct[0].getLogonUid();
strUserid = strUserid + acct[0].getLogonUid();
}
}
} catch(Exception e) {
}
if(strUserid==null || strUserid.length()==0){
//Stand alone Api
}else{
//portal
}
Kind Regards
Mukesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.