Retrieve the PCD of the webdynpro Iview

Hi!
I have created an application with just one View. How can I retrieve the PCD of the iview of this application in the wdDoInit()?
I want to be able to retrieve: portal_content/roleA/worksetB/pageC/iviewD. Another example is portal_content/roleX/worksetB/pageC/iviewD
I'm able to get this when I place a button on the page, and click on it. In the button's handler I'm getting the parameter "sap-wd-appwndid". But this parameter isn't available in the wdDoInit().
WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("sap-wd-appwndid");
How can I get the same result in the wdDoInit();?
Thanks!
Tom

Was your second iVIew in the same folder as the first iView? And if so, would you mind providing the parameters you used to make the navigation? I have a Web Dynpro iView that has a button that needs to navigate to a Transaction iView in the same Portal Content Directory folder, but am not sure how to do it.
Any help would be appreciated.

Similar Messages

  • ''Configuration error 16 and where is the PCD or the SLStore folder?

    I installed photoshop cs5 and whenever i tried to open it there was appeared a message that was told me that here is a configuration error ''error 16'' and something about language packets.What lame thing is it?I have installed it 3 times and the same message appears into my screeen.I tried to find a solution here to solve the problem.there was a topic here about it and it says to make some settings in the PCD folder and the SLStrore folder.I tried to look for them into the Adobe folder and any one of them exist.Where are they?What can I do?Can somebody help me plz?

    Licensing repair instructions: Windows | Mac
    Mylenium

  • List iView properties of PCD content in WebDynpro

    Hi,
    I'm having trouble listing the properties of iViews as I traverse the PCD in my WebDynpro application.
    I get this error: java.lang.ClassCastException: com.sapportals.portal.pcd.gl.PcdGlDeltaLink incompatible with com.sapportals.portal.pcd.gl.IPcdContext
    My code:
      public javax.naming.InitialContext getEnvironment( )
        //@@begin getEnvironment()
         InitialContext initialContext = null;
         try {
              IUser principalObj = null;
              // set the security principal
              principalObj = this.getServiceUser("pcd_service");
              Hashtable env = new Hashtable();
              env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
              if (principalObj != null) {
                   env.put(Context.SECURITY_PRINCIPAL, principalObj);
              env.put("com.sap.portal.jndi.requested_aspect",PcmConstants.ASPECT_ADMINISTRATION);
              env.put("java.naming.factory.object", "__IPcdContext__");
              initialContext = new InitialContext(env);
              IPcdContext pcmObj = (IPcdContext) initialContext.lookupLink("portal_content/epiuse/com.epiuse.dj/com.dj.epiuse.iviews/com.epiuse.ooq4");
                 Object object = pcmObj.getAttributes("").get("com.sap.portal.navigation.MergeId");
                  if(object instanceof IPcdAttribute){
                   att = (IPcdAttribute)object;
                   folderContent.setMergeId(att.getAll().next().toString());
         } catch (NamingException e) {
         return initialContext;
        //@@end
    The application fails at:
    IPcdContext pcmObj = (IPcdContext) initialContext.lookupLink("portal_content/epiuse/com.epiuse.dj/com.dj.epiuse.iviews/com.epiuse.ooq4");
    Any help?

    Hi Raju,
    If you are talking about "portal_content/epiuse/com.epiuse.dj/com.dj.epiuse.iviews/com.epiuse.ooq4" this is just an iView that I created.
    But the problem occures for any iView PCD location I provide.
    Thanks in advance,
    DJ

  • How to: display the pcd in a htmlb tree object?

    Hello @ all,
    I'm currently trying to implement the contents of the PCD into a htmlb tree structure for an application of mine.
    while the tree creation isn't a problem, i have no idea where to start on how to read/parse the pcd structure.
    the reason for me trying to stuff the pcd into a tree is to achieve an easier to handle navigation.
    so of anybody could point me in the right direction as how to get access to the pcd porperly and how to get the complete pcd structure (folder, iviews, everything) so that i could include it in the tree, i would be really thankful.
    cheers,
    jürgen

    Hi Jürgen,
    See http://help.sap.com/saphelp_nw04/helpdata/en/44/6aaf92f5a23672e10000000a114a6b/frameset.htm
    Only Worksets and Roles are not described, anyhow, doing a bit research via decompiling or just by searching on SDN will bring you the needed extra info; just as an example for roles access: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401
    Hope it helps
    Detlev

  • SAP Portal Network - WebDynpro iView and SAP Application iView sharing

    Hello All,
    I've read about the restrictions in SAP Portal supporting the WSRP standard for application sharing. Mainly WebDynpro iViews and SAP application iViews sharing is not supported. That is in the case of a SAP Portal as producer and Non-SAPPortal as consumer.
    I'm interested in a WebDynpro iViews and SAP application iViews sharing in a only-SAP Portals Network, where SAP Portals act as producer and consumer.
    I've heard about the Remote Role Assignment and Remote Content Copy that are used in such case. I would like to ask if anyone knows if these can help overcome the restriction in sharing WebDynpro iViews and SAP application iViews that is present with WSRP? And if the advantage of WSPR, that is the application execution and rendering on the producer side, and as follows decreasing of bandwidth usage, is remaining in the case of the Remote Role Assignment and Remote Content Copy.
    Thanks,
    Mladen

    Hi Manish,
    for sharing content between SAP and non-SAP Portals, your case, refer to
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/23fb36cad10d23e10000000a1553f7/frameset.htm
    All the possibilities and restrictions of WSPR in the case of SAP EP are explaind there.
    For sharing content between only SAP Portals refer to my other thread:
    Portal Network - Content Sharing
    Hope it helps you!
    Mladen

  • Logon Language in Java WebDynpro iViews

    Hello,
    I do not see the Logon Language or Forced Language parameters on the standard delivered Java WebDynpro iViews at all. I want an iView to always open in EN regalrdless of the Browser language. I can do that in ABAP WebDynpro and URL iViews; any idea how the same can be done on the JWD iViews?
    Thanks,
    Nakul

    Selecting English locale in IE is the only easy way to ensure the langugage is always English
    There may be ways to try to set the language to english for
    I have seen some situations where the JCO is defined in language English
    - however if the user can still change IE locale - this might supercede any default languages
    set in SAP or produce mixed results
    Best wishes
    Stuart

  • WebDynpro iView doesn't show initial screen

    Hi,
    I've a strange problem in calling an process from a Web Dynpro iView. Instead the expected 1st form in Action1 I only receive the text message: "Process has been initiated".
    The strange thing is, testing the processes in "Initiate" tab in Design Time allways runs fine with the first screen.
    This problem occurs with sap delivered example processes too. For example I tried the SAP delivered example "Time-off process".
    My steps are:
    1. check for related action-role is set to "Initiator".
    2. Generation URL.
    3. Initiating by "Initiate" tab from DesignTime.
    4. Process opens with the first step form correctly.
    5. copy the init string into WebDynpro iView.
    6. starting Web Dynpro for Java iView
    7. Instead the expected form, I only receive the text message"Process has been initiated"
    I suppose something is wrong with my WebDynpro or role settings, but I don't have any idea anymore.
    My settings in Web Dynpro for Java iView are:
    Application: AInstantiation
    process.template.id=7CE44B...&process.autostart=t
    Namespace: sap.com/cafeugpuiinst
    Authentication: default
    In Portal I own J2EE_admin, GP Superadmin, GP Runtime WC and GP Business Expert roles.
    Thanks.
    Michael
    Edited by: Michael R. Mueller on Apr 11, 2008 10:02 AM

    Hi Sujana,
    thanks for your message again. I checked my parameters again, but couldn't find any problems there.
    Requestor ID
    I have been inluded all of the generated parameters from Design Time into my Web Dynpro Proberties. The first action of the process is set to Initiator. I think in this case the user assignment should be manged by the system automatically.
    Namespace:
    Also the namespace sap.com/cafeugpuiinst is definitly working. When I changed this to an other value, I received an application-error after starting the iView.
    Layout
    I'm not sure about the required layout. Which are the requirements? Is there a special layout for my page, which is including the Web Dynpro iView, necessary?
    ..But my Callable Object only needs one iView I think.
    How I call the process
    My structure in calling this process is:
    User chooses entry in User-Menu -> User assigned Role -> Page (standard layout) -> Web Dynpro iView -> GP Process initiate
    I posted my configuration here, maybe you can take a look at this please?
    My properties for my Web Dynpro are the following:
    Application Name: AInstantiation
    Application Parameters:
    +process.template.id=7CE44BF090BF11D99817000D60B211F1
    &EndDate=&AbsenceTypeText=&BeginDate=&process.autostart=t
    &SimulationCode=&CompletionCode=&ShortTermCode=
    &CompletionMessage=&Comments=&SimulationMessage=&PaidFlag=&LongTermCode=+
    Namespace: sap.com/cafeugpuiinst
    GP Design Time
    And the parameters generated from URL generation in GP Design Time (starting with button "open instantiate application" is working) are:
    +../../sap.com/cafeugpuiinst/AInstantiation?process.template.id=7CE44BF090BF11D99817000D60B211F1
    &EndDate=&AbsenceTypeText=&BeginDate= &process.autostart=t
    &SimulationCode=&CompletionCode=&ShortTermCode=
    &CompletionMessage=&Comments=&SimulationMessage=&PaidFlag=&LongTermCode=+
    I pasted the parameters of this string exactly into the application parameter field of my Web Dynpro.
    Thanks again.
    Regards,
    Michael

  • Issue in creating webdynpro iview

    Hi,
    I deployed a webdynpro application in the standalone J2EE Server. I want to create the webdynpro iview for the same application in the different portal server. I want to get my application in the portal,  while creating webdynpro iview. I am using NWDS 2004S. How to achieve this. Please if any one knows guide us to achievce this.
    Thanks.

    Hi
    Here is the link to create webdynpro iView.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/11/0d653f0c9fa075e10000000a114084/frameset.htm
    Regards
    Suresh

  • How to retrieve the system used in an iview?

    hello,
    i'm currently having trouble retrieving the proper attribute of an iview to retrieve the system used by it.
    it seem like the strings identifying the system in the iview differ in some iviews.
    using either:
    myIView.getAttribute(IAttriView.PORTAL_SYSTEM)
    or
    myContext.getAttributes("").get("System").get().toString()
    produce errors.
    while get("System") sometimes provides the correct system alias the attribute is none existant for other iviews where the string would be "Systemalias".
    IAttriView.PORTAL_SYSTEM doesn't seem to work at all.
    i did implement fail safe code if the attribute isn't present, however i don't know how to retrieve the system attribute without doing a case switch or something similar for all the different strings, which i would prefer not to do.
    also, is there an easy way to retrieve all iviews which use a specific system without parsing the whole pcd and checking the attributes?

    Prerequisite : Create the System Alias for the systems used in the application.
    Use the below code to retrieve the system details:
            HashMap mapattr = new HashMap();
            HashMap map = new HashMap();
            IUser user = WDClientUser.getCurrentUser().getSAPUser();
            IPrincipal principal = (IPrincipal)user;
            ArrayList list = UMFactory.getSystemLandscapeWrappers();
            ISystemLandscapeWrapper systemLandscape = (ISystemLandscapeWrapper)list.get(0);
            //Portal System ALias name
            ISystemLandscapeObject landScapeObject = systemLandscape.getSystemByAlias("<system alias name>");
            IUserMappingData userMapping = (IUserMappingData) UMFactory.getUserMapping().getUserMappingData(landScapeObject,principal);
            userMapping.enrich(map);
            mappedUserId = map.get("user").toString(); // String "UserId"
            mappedPassword = map.get("mappedpassword").toString(); //String "Password" 
         catch(Exception e)
              e.printStackTrace();
              wdComponentAPI.getMessageManager().reportException("Exception during retrieving the User Details - " + e.getMessage(),true);
    Thanks & Regards,
    Amar Bhagat Challa

  • Function or method which returns the full PDC path of webdynpro iview

    Hi All,
    I have created a webdynpro application and created a webdynpro Iview in portal and attached this view to a role.  I am looking for any standard function module or method which returns the full PCD path of the webdynpro iview, when it executed from portal.
    Regards,
    H.K.Hayath Basha.

    Well in ABAP, we don't have portal APIs to access potal catalog info.
    The only available Portal Interface is IF_WD_PORTAL_INTEGRATION
    Abhi

  • How to retrieve a property value from an iview in the back-end?

    Hi,
    I am looking for a back-end function module or any other way to retrieve the property value of an iview in the portal.
    Is this possible?
    thanks,
    Bert Caryn

    Hi,
    Look at the following threads,
    For programmatically getting the iview properties,
    Programmatically getting iView Properties
    Also,
    Get Properties of IView Programmatically
    Permanent change of iView property programmatically
    Hope these threads help u.
    Regards
    Srinivasan T

  • How to get the PCD iviews to WPC

    Hi Frndz,
    Am  new to WPC , here I struck up at to expose my custom PCD iviews to WPC.I have created a folder in PCS "myContent"under this i have some custom ivews which I need to use in WPC but unfortunetly am not ale get those where am able to get the folder which I created "myContent" but not iview under the folder.
    Kinldy let me know how to do it, I have doubt here while createing a iview should we do following steps ?
    1)Choose  Content Administration  Portal Content .
    2)Choose  New  iView  from the context menu of a folder.
    3)Choose Portal component as the source type.
    4)Choose the com.sap.nw.wpc.runtime portal archive.
    5)Choose the default component.
    6)Specify the general properties of the iView.
    7)After you have saved the new iView, open it for editing.
    8)Choose Web Page Composer from the property category dropdown menu.
    9)In the RID of Compound Document property, enter the path to the KM folder representing the Web page.
    /wpccontent/Sites/MyWebSite/Web Pages/MyWebPage
    or we can expose any kind of iview  ?
    Thanks in advacen
    Regards
    Rajesh

    Hi, Rajesh.
    Try to use the solution provided in this link: http://forums.sdn.sap.com/thread.jspa?threadID=1276261
    Regards, Mikhail.

  • Unable to expand the dropdown in the Webdynpro Java iview in Portal

    Dear Experts,
    We have a lot of Webdynpro java application iview in portal in production system.All the dropdowns present in those iviews are not expanding in production system.
    But we are able to expand & select the same webdynpro java iview applications in Quality system.
    We are using Internet Explorer for viewing the iviews.
    Can anyone help me to provide a solution to the issue.
    Regards,
    Krishna Balaji T

    Hi Micheal,
    The issue had been solved by myself.
    Regards,
    Krishna Balaji T

  • Create webdynpro navigation iview in the Homepage on the ESS portal

    I am trying to create a webdynpro navigation iview in the ESS portal.  I haven't created a workarea navigation iview in 2 or 3 years. However, I think there was a a template in there called 'Webdynpro Navigation iView'. 
    Some of the parameters that are on those navigation iviewws are Application Name, Appication Parameters(it contained
    info like -> sap.xss.menuarea=ZWTAREA&sap.xss.menuargrp=ZSAPDEFAULTESS&sap.xss.menuhdr=SAPDEFAULT). 
    I would be grateful if someone could tell me how to create this kind of an iview.
    Thanks,
    Mike

    Hi Mahesh,
    We are Adding Travel Management to 3 of our roles.  The out of the box ESS Travel Management application works fine. However, we need to add it 3 types of employees.  Based on the type of employee we want them exclude some of the services.  I created 3 area's in spro.  I am just trying to get one of them to work right now.  To get one of the areas to work, I've done the following things.
    1) I created iview Travel Management NT Nav .  I created it using the parfile thing and selected WebDynproIntegrator.  The iview looks a little different that the Working Time Nav(This is one that we created for Working Time about 3 years ago. It works.).
    2) I created a proxy Web page under the page folder
    3) I linked the page and the iview together.
    4) I created the resource ZTRAREAN in spro
    5) I created the area ZTRAREAN in spro and set it's link to resource ZTRAREAN.
    6) I assigned 3 SAP Travel Management subarea's to my area ZTRAREAN.
    My goal is to get some of the sub areas linked to my new area.  After that I will look at creating my own subheadings which will exclude some of the services that are in out of the box Time Management sub area's.
    Thanks,
    Mike

  • Getting Java iViews out of the PCD? Idiots guide please!

    Hi All
    I am having a real problem with configuring my portal, the contentent provided by SAP meets most of my needs but I am finding a few areas where I need to make changes (hopefully small ones!)
    I have used Netweaver Developer Studio to create Reository services and I have heard that you can use it to change iViews (oh, and create new ones!)
    What I want is, if possible a step by step guide to:
    1. Locate an iview / PAR file in the PCD
    2. Export it and open it it NWDS
    3. Re-package it up and import it back in!
    I know it is alot to ask and there are other posts but I can't seem to follow any of them.
    Thanks for your time
    Phil

    1-to find out which PAR files are required for an iView, look at the properties of the iView. To download the PAR file (which will usually contain the source code) go to the Java Development workset, followed by Portal Browser followed by ROOT/WEB-INF/deployment/pcd path and click on the Download link corresponding to the PAR.Bak file. It will download as a zip file. When you unzip it, it will be a .par.bak file. Remove the .bak extension, rename it to your own company prefix (com.mycompany instead of the com.sap prefix) then import it into NWDS.
    2-after you've made the changes, you can re-deploy it either using the File > Export wizard or you can go to the Java Developer > PRT Admin and upload the PAR file.
    3-Create an iView based on the newly imported PAR from the Content Admin workset, using the New from PAR wizard (just right click on the folder in which you'd like to create the iView in and click on New from PAR), choose the PAR file from the list and click Next.
    let me know if this helps and whether you need more help.

Maybe you are looking for

  • [Oracle BPM 6.0.2 - formerly ALBPM 6.0.2] Error using BAM Updater Service

    Hi All - I'm getting a similar error to the one below (posted byFabricio Soares) when the BAM updates service is working. We are using ALBPM 6.0.2 alongwith Oracle OID / LDAP (integrated using a custom FDI plugin). Any idea what could cause this prob

  • Where to keep my files on a secondary hard drive

    I am still relatively new to FCP, though i have done a few projects and had a **** of a time keeping track of files. I'm about to begin a new one, and would like to get it right this time. If I set up my Scratch Disks under System Settings, it will c

  • [svn:osmf:] 13988: PARB feedback: change mediaWidth and mediaHeight properties on layout renderer related classes to measuredWidth , and measuredHeight.

    Revision: 13988 Revision: 13988 Author:   [email protected] Date:     2010-02-05 00:24:52 -0800 (Fri, 05 Feb 2010) Log Message: PARB feedback: change mediaWidth and mediaHeight properties on layout renderer related classes to measuredWidth, and measu

  • Requests transport in workflow

    Hi All, I am working in workflow. I completed my workflow objects in dvelopment server thats working fine in development server.I have a problem while transporting my workbench request from development to QA server. I transported all the requests fro

  • Regarding WDA

    Hai Experts, After creating a view in webdynpro application when i click the webdynpro code wizard means it will show the three categories namely screen,form and table.I need to know the usage of these three categories in the application. Can anyone