on 08-23-2007 3:26 AM
For CRM5.0 EP project, I set up NWDI and I'm going to create Iview with WDJ .
To create Iview with WDJ in NWDI,
which SC(SoftwareComponent) should I add in NWDI?
Regards bk Kim
chk it
http://help.sap.com/saphelp_nw04/helpdata/en/df/eb5c42da4de92ce10000000a1550b0/frameset.htm
/thread/87789 [original link is broken]
Object user = request.getUser();
Hashtable env = new Hashtable();
env.put("java.naming.factory.initial", "com.sapportals.portal.pcd.gl.PcdInitialContextFactory");
env.put("java.naming.security.principal", user);
INewObjectDescriptor iDesc = null;
IiViews iSrv = (IiViews) PortalRuntime.getRuntimeResources().getService("com.sap.portal.ivs.iviewservice.iViewsSrv");
try {
Context iCtx = new InitialContext(env);
Context iviewCtx = (Context) iCtx.lookup("portal_content/sample/iViews);
iDesc = (INewObjectDescriptor) iSrv.instantiateDescriptor(
CreateMethod.DELTA_LINK, sampleiViewName ,
(IPrincipal) user);
}
catch (NamingException ne) {
//logger component statements
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
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.