Ia m trying to read an iView
java.util.Hashtable env = new java.util.Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY,IPcdContext.PCD_INITIAL_CONTEXT_FACTORY); env.put(Context.SECURITY_PRINCIPAL, myUser); env.put(Constants.REQUESTED_ASPECT, IPcdAttribute.PERSISTENCY_ASPECT); // Personalization variable env.put(IPcdContext.PCD_PERSONALIZATION_PRINCIPAL, myUser); try { InitialContext iCtx = new InitialContext(env); IiView myIView =(IiView)iCtx.lookup("pcd:portal_content/com.easton.portal.sales_portal_project_fld/com.easton.portal.roles_fld/com.easton.portal.portal_home_rol/portal_home_fld/com.easton.portal.portal_home_pag/news_feed"); } catch(Exception e) { out.println("error:"+e.toString()); }
I have been doing so many things to the portalapp.xml that now I have repeated the same references in multiple places in a effort to see if something would make it work. Any help is greatly appreciated.
<application-config><property name="PrivateSharingReference" value="com.sap.portal.ivs.connectorservice, com.sap.portal.ivs.iviewservice, com.sap.portal.htmlb"/> <property name="PrivateSharingReference" value="com.sap.portal.htmlb,com.sap.portal.pcd.glservice,com.sap.portal.pcmbuilderservice"/><property name="SharingReference" value="com.sap.portal.pcd.glservice,com.sap.portal.pcmbuilderservice,usermanagement" /><property name="ServicesReference" value="com.sap.portal.ivs.api_iview, com.sap.portal.pcd.glservice, com.sap.portal.ivs.api_landscape"/> </application-config>