Webcenter Portal PPR Navigation and Passing URL parameters

Hi,
We have pages that will be URL parameter based so that it can be bookmarked and should be partially page navigable. Basically some pages are specific to project numbers i.e a project-page is opened by passing something like project-page?projectNumer=111. We have a partial page navigation something like this..
<af:commandLink id="pt_cl22"
actionListener="#{navigationContext.processAction}"
action="pprnav" text="#{menu.title}"
styleClass="primaryNav">
<f:attribute name="node" value="#{menu}"/>
</af:commandLink>
The problem is this pprnav doesn't allow us to pass http parameters. Is there a way to pass parameters through the URL without actually refreshing the whole page (using goLinks). It is important for us since most of the pages have obiee dashboards which take time to load. Or how to parameterize the pages with pprnav enabled. We tried unbounded taskflows but doesnt go well with webcenter portal.
Thanks,

may be u should try to set the action programatically. using the approach specified in this blog..
http://andrejusb.blogspot.com/2011/10/how-to-disable-action-conditionally.html
(just follow the approach defined for setting pprnav programatically). before setting the ppnav set some variable in the parameter list of in the pageflowscope.. and use the pageflowscope in the next page

Similar Messages

  • How pass url parameters on init webdynpro app.?

    Hi all,
    i want to pass a parameter to my wd app. when its start. How can i do it? where do i have to do it?
    Thanx in advance
    CP

    You can define parameter using two methods:
    1. Via properties of the iview you have created, system will pass these parameters automatically to the iview.
    2. Via Code, you can use Portal Navigation and pass parameters at runtime. Check following sample code:
              WDPortalNavigation.navigateAbsolute(
                        "ROLES://portal_content/myIview/LoadEmployees",
                                    WDPortalNavigationMode.SHOW_INPLACE,
                                    (String) null,
                                    (String) null,
                                    WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
                                    (String) null,
                                    (String) null,
                                    "action=E");
    The last parameter is for passing parameters, in the example parameter name: action and its value: E.
    Regards,
    Jawed Ali

  • Trouble Passing URL Parameters between Applications

    Hi All,
    I am having trouble Passing URL Parameters between Applications for BW queries as data sources. I know I am getting the data from the sending application correctly, because I an printing to the screen using a Text Component.
    Date From: 1/1/2008
    Date To: 3/14/2014
    Here is the code from the sending application On Select :
    "http://localhost:56572/aad/web.do?APPLICATION=WIMO_SUMMARY_OPEN_DETAIL&designersessionid=37a1cfaa7e734cd9afa35cb4cd627d41" +
    + DS_1.getVariableValueExt("ZPORDAT3") +
    + DS_1.getVariableValueExt("ZPORDAT5"));
    Here is the code from the recieving application Global Script Variable"
    Xv_DateFrom     String     True
    Xv_DateTo         String     True
    Here is the code from the receiving application On Startup"
    DS_2.setFilter("0CALDAY",[Xv_DateFrom, Xv_DateTo]);
    When I click the results of the sending Application the popup window opens for the receiving application but I get all the records for the BW receiving query, it does not restrict to the values in ("ZPORDAT3") 1/1/2008 and ("ZPORDAT5") Date To: 3/14/2014.
    So, I would expect it is my receiving code, but I am not sure.
    Hope you can help?
    Norman

    Hi Norman,
    As Jörg said, please put "&" before each of your variable names at your url. For the second part,I didn't try it for date intervals but keep in mind just in case:
    APPLICATION.openNewWindow("http://localhost:56572/aad/web.do?APPLICATION=WIMO_SUMMARY_OPEN_DETAIL&designersessionid=37a1cfaa7e734cd9afa35cb4cd627d41" +
    "&Xv_DateFrom=" + DS_1.getVariableValueExt("ZPORDAT3") +
    "&Xv_DateTo=" + DS_1.getVariableValueExt("ZPORDAT5"));
    Here is the code from the recieving application Global Script Variable"
    Xv_DateFrom     String     True
    Xv_DateTo         String     True
    Here is the code from the receiving application On Startup"
    DS_2.setFilterExt("0CALDAY", {"low": Xv_DateFrom , "high " : Xv_DateTo});
    Best regards,
    Onur

  • Passing URL parameters to WD application

    Hi!
    To pass URL parameters to WD application I currenly inbound plug 'defauld' (of type 'Startup') of main window. I use following code:
    types:
        begin of param_t,
          name type string,
          value type string,
        end of param_t.
      data: params type standard table of param_t.
      data: param like line of params.
      wdevent->get_data(
        exporting
          name = '_ALL_URL_PARAMETERS'
        importing
          value = params
    It works fine but this plug is called after init methods of the component controller an of the view. So if I want to do something with parameters, I must do in this plug.
    Is there way to pass URL parameters in a WD app. so that they were available from the very beginning of the application work i.e. in init method of the component controller etc.?
    Thanks!

    I had the same requirement too. There are a couple of threads on the subject as well, I've posted in one of them but had no answer:
    Re: Read URL Parameters programmatically
    The workaround i've used is this, it's definitely not as neat as I would like to since you end up having two initialization methods per controller, WDDOINIT and the one you create (for each controller you want to run code in using the received parameters). Nevertheless, it works:
    1) Create an event in your component controller, for example INIT_COMPLETED.
    2) Define a new method in your component controller, e.g. INIT_AFTER_WINDOW. This method receives an Importing parameter TYPE tihttpnvp. It uses this received HTTP parameters for the initialization logic and finally raises the INIT_COMPLETED event (This is the method that "replaces" WDDOINIT).
    3) In the Window's Inbound plug handler, you get the HTTP parameters (with wdevent->get_data) and afterwards call the method WD_COMP_CONTROLLER->INIT_AFTER_WINDOW (maybe you need to declare the usage previously in the Window to have the reference available).
    4) Finally, if you need some of the Views to be initialized afterwards the component controller's INIT_AFTER_WINDOW runs (for example to show some initialization messages), you'll have to replace the WDDOINIT method with an INIT_AFTER_COMPCTRL method and subscribe it to the component controller's INIT_COMPLETED event.
    I hope you got the idea, and more importantly, that we get some cleaner solution from SAP for achieving this in the future.
    Regards
    Edited by: Alejandro Bindi on Nov 6, 2008 10:08 PM
    INIT_AFTER_WINDOW is the method to be called on step 3

  • Pass URL parameters from BSP to WDA for ABAP (via Post   )

    Dear Gurus,/ Joerge,
    I am unable to post my Code here, but with the guidance provided by Joerge i am able to solve this
    i Have been through the Below thread
    Pass URL parameters from WD to BSP via Post
    Dear Gurus,
    "Since I am unable to Post new thread i am Continuing this thread, though this Issue has been
    " resolved,i need some more info on the following issue, Kindly guide me,
    I have gone through the below thread but left with no clue
    Pass URL parameters from WD to BSP via Post
    Here i have 2 Issues
    First one is --->
    " After pressing the Button I am calling this URL which is WDA for ABAP
          action="http://company/sap/bc/webdynpro/sap/zuser"> " I am calling WDA for ABAP URL here
    " Kindly guide me how to pass the Value
    Second one is -->
    " This value need to be passed to the URL above and
    " How to capture the Same in WINDOWINIT method of WDA for ABAP
    " And how to Capture this Value in Webdynpro INIT method
    "Here am using Form and method = post , I am removing this as it is causing some problem while posting
          action= my WDA For ABAP URL here " I am calling WDA for ABAP URL here
    " Kindly guide me how to pass the Value
    " This value need to be passed to the URL above and
    " How to capture the Same in WINDOWINIT method of WDA for ABAP
    Thanks and Regards
    Ramchander Rao.K

    Hi,
    let me see if I understand you well.
    BSP -
    You wrote the code for catching the user name in the event OnCreate, which means that you know who´s working with the BSP application when it starts.
    Somewhere you must have a button or something with text like "Call WDA application". When user presses the button, it triggers events OnInputProcessing. Here you must write the code for the cookie that "sends" the parameter(s), something like:
    CALL METHOD cl_bsp_server_side_cookie=>set_server_cookie
      EXPORTING
        name                  = 'MY_COOKIE'
        application_name      = 'ZUSER_NAME_GET'
        application_namespace = 'ZUSER_NAME_GET'
        username              =  sy-uname
        session_id            = 'SAME_FOR_ALL'
        data_value            = PAGE_DATA
        data_name             = 'PAGE_DATA'
        EXPIRY_TIME_REL       = 3600.
    you call then the URL for the WDA application.
    WDA -
    probably in method WDDOINIT of the component controller you´ll write the code for reading the "content" of the cookie:
    CALL METHOD cl_bsp_server_side_cookie=>get_server_cookie
      EXPORTING
        name                  = 'MY_COOKIE'
        application_name      = 'ZUSER_NAME_GET'
        application_namespace = 'ZUSER_NAME_GET'
        username              =  sy-uname
        session_id            = 'SAME_FOR_ALL'
        data_name             = 'PAGE_DATA'
    CHANGING
        data_value            = PAGE_DATA.
    read more about the cookies in SDN, because I am not sure if this is the correct example for transmiting values. I´ve used it in conjunction of instructions IMPORT and EXPORT for transmiting an internal table.
    if this is not working properly, then try with IMPORT TO MEMORY and EXPORT FROM MEMORY.

  • Passing URL parameters to PL/SQL Pages

    Hi,
    I want to pass parameters from url to the PL/SQL page . How is this possible?
    http://myserver/pls/portal/url/PAGE/page_group/page/testplsqlpage?course_ref=##COURSE_ID##&staff_ref=##STAFF_ID##
    I will to received course_ref and staff_ref in the PL/SQL page and pass the values to SQL query so that its filtered.
    Can pls anyone guide me? If there is any alternate way or there is sample code pls let me know
    Many Thanks
    Ganesh

    Hi Mick,
    Thanks for your reply. However my problem is still not resolved.
    I have created a Omniportlet with lists the staff details. When I click on the staff link I am passing to parameters as follows
    http://servername/pls/portal/url/PAGE/CCM_MIS_PORTAL/TUTOR_HOME/Course_Info?Param1=10017031/M2523&Param2=001434
    on the receving page I have a omni portlet which must receive these 2 parameters and pass it on to the query and filter the results.
    On the received page I have created 2 page parameters (Param1 and Param2)
    I have assigned these 2 paramaters to the portlet paramers through page parameters' section
    on the omni portlet in the query I have created 2 bind variables (p1, p2) and the default value of the bind variable is set using ##Param1## and ##Param2## so the received values from page is passed to to bind variable and hence to the query.
    However the omni portlet is not received the parameters and I can not figure out whats wrong?
    Is there any problem with my URL (guide says I should use relative URL)
    Please help

  • HTTP reciever adapter pass URL parameters

    Hello all,
    I have a question regarding passing parameters as querystring in the url of reiever HTTP adapter. This is an RFC> XI> HTTP scenario and we're posting to an external URL. Here are the details
    URL: xxxx.yyyyy.com
    Service Number: 80
    Path: /api/company_codes
    It works fine with these. I want to pass a parameter called "bulk" with value "1".
    How should I do it. Should I append it to the Path directly like
    Path: /api/company_codes?bulk=1
    or enable Apply URL Parameters under Adapter Specific MJessage Attributes and fill in
    Parameter 1 : bulk=1
    Could somebody clarify this please?
    Thanks
    Karthik

    Can anybody help wwith this please?
    Thanks
    Karthik

  • Web Dynpro iView - how to pass URL parameters?

    I have a Web Dynpro application that is housed in the Enterprise Portal.  We have a requirement where we need to provide an external link to the iView/Web Dynpro component - for the sake of this discussion, assume it's email.  As part of this URL link, we need to pass a parameter that will cause the Web Dynpro app to fetch some data. 
    The Web Dynpro has a startup plug parameter - call it 'id'.
    I can invoke the Web Dynpro application directly, and pass the id paramter on the URL - the application can see the parameter just fine.  However, when I try and do the same via a Roles-based URL, the parameter does not survive.  I've tried two different methods:
    http://host:port/irj/portal?NavigationTarget=ROLES://path/to/iview&id=1234
    and
    http://host:port/irj/portal?NavigationTarget=ROLES://path/to/iview!26id=1234
    neither of which work.
    is there a way to do what I'm trying to do?  Note that the 'id' paramter is dynamic - I can't code it in the Web Dynpro iView configuration.

    Hi,
    please try the following:
    http://host:port/irj/portal?NavigationTarget=ROLES://path/to/iview&DynamicParameter=<encode(id=1234)>
    The value of the DynamicParameter value must bei encoded.
    For details please have a lool to
    <a href="http://www.sap-press.de/katalog/buecher/titel/gp/titelID-1078">this</a>
    This book will be also available in English soon.
    Best regards
    Jochen

  • Passing URL parameters to WD app in URL IView

    Hi experts,
    I'm using EP 7.2 and as I found out this version doesn't support Web Dynpro Java iview template so I'm using URL iview template for my Web Dynpro Java application. My requirement is to somehow pass some URL parameter (which is id for something in my app) to the WD app in the URL iview. So in this scenario setting the URL parameters and their values during design time for the iview is not suitable. I tried DynamicParameter=id%3D154 for example but it doesn't work. Do someone has any ideas to solve this problem? Any help will be appreciated.
    Regards,
    Martin
    Edited by: musaka on Oct 27, 2009 1:12 PM

    Hi Musaka,
    If i am not mistaken, your requirement is to display a URL iView to user with some parameters (contained within the Address Bar of the Browser) to be passed to the iView. Initially as no parameter value can be defined on previewing the iView or opening the iView, no value is passed to iView. But in case, when you directly enter the Parameter Values against Parameter Names in Address Bar and then say go, the page should reload and pick the parameter values from URL in Address Bar instead.
    Steps to follow:
    1. Put     CustomerId=0&RequestId=0            in the Application Parameter property of the URL iView.
    2. Put the following lines of code in the wdDoInit() in the implementation tab of the View Controller to retrieve and use the passed parameter value in the View of the application and then say Organize Imports from the context menu.
    int customerId = WDProtocolAdapter().getProtocolAdapter().getRequestObject().getParameter("CustomerId");
    int requestId = WDProtocolAdapter().getProtocolAdapter().getRequestObject().getParameter("RequestId");
    Please revert in case of any issue.
    Regards,
    Tushar Sinha,
    Infosys Technologies Limited,
    Hyderabad,
    India
    Edited by: tushar sinha on Oct 29, 2009 10:51 PM

  • Live view doesn't correctly pass URL parameters from HTML docs?

    Running into something that I wonder if anyone else has seen.  I've created a site in DW CS5 with a local testing server (XAMPP on Win7), and if I use LiveView to view an HTML page that has a link to a PHP page that includes a URL parameter, the parameter shows up in the LiveView address bar, but the page doesn't seem to use it (trying to display an image where the file is built using $_GET to retrieve the parameter).  The same HTML page, displayed in a browser, works.  And if I then save the HTML page as a PHP page in DW, identical code, LiveView works.  Sure looks like LiveView will does not properly handle URL parameters from HTML documents...

    Sorry if I wasn't clear... the navigation works correctly; I get to the page I'm tyring to get to.  One of the things that page should do is display an image, the I use a URL parameter to build the image file name to retrieve.  The link in the first page is something like <a href="gallery.php?pg=1">.  Works fine if the first page (the one I'm navigating from) is a PHP page, doesn't work (with the same code which is only HTML) if the page is an HTML page.

  • Pass URL parameters to parent window, which is not in VC

    Hi,
    I developed a web application which is calling a VC iView in a new browser window, now I have the problem that I have to pass back URL parameters to the parent window. Is there any possibility to use JavaScript or is there some other solution?
    Thanks fpr your help.
    Kind regards,
    Timo

    Hi Mario,
    thanks a lot for your answer. If I understand correctly your solution works only if the other web application in the parent window is also located in the portal, unfortunately my web application is outside the portal.
    Is there a solution for this, or should I look for something else than using Visual Composer?
    Kind regards,
    Timo

  • Use hyperlink to open another page , and pass some parameters to that page

    Hi
    Thank you for reading my post.
    How i can use hyperlink to open another jsp file in a new window meanwhile pass some parameters to it.
    for example i need something like this :
    http://127.0.0.1:8080/myProj/faces/Viewmessage.jsp?messageID=10
    i can not use session bean because i must open that in a new window and use hyperlink not Action
    Thank you

    I tried the following in the equivalent of your Viewmessage (page bean):
            ExternalContext eContext = FacesContext.getCurrentInstance().getExternalContext();
            String text = "Parameters: ";
            Iterator it = eContext.getRequestParameterNames();
            Map requestParams = eContext.getRequestParameterMap();
            while (it.hasNext()) {
                String key = (String)it.next();
                String value = (String)requestParams.get(key);
                text += "; " + key + " = " + value;
            staticText1.setText(text);That works as expected when you reach that new page via a hyper link.
    The session object is also the same as in your `old' window. So be careful about synchronization!
    I hope this helps.
    -- Marco

  • JS popup and passing URL variables or ?

    Hi ...
    The following JS script opens a new window and that window is
    a template called "viewer.cfm". The images are all going to shown
    in that template (viewer.cfm) ... eg: HPIM0877.JPG, HPIM1009.JPG
    I have to pass variables from any pages that have the
    following link (below) to "viewer.cfm".
    I will have maybe 40 images to deal with but I am getting
    stuck on a universal #variable# to display the images and passing
    them.
    I have not included any code on the receiving template
    "viewer.cfm" as I am a little stuck.
    Thanks ...
    EXAMPLE
    <cfoutput><A HREF="javascript:void(0)"
    onclick="window.open('viewer.cfm?#HPIM0877.JPG#',
    'welcome','width=580,height=440,menubar=no,status=no')">
    courses</A></cfoutput>

    On the template with the JS pop up window. (index.cfm)
    <cfset
    peaks="/motorcoach/ca/images/popup/HPIM1070.JPG">
    <cfoutput><A HREF="javascript:void(0)"
    onclick="window.open('viewer.cfm?image=#peaks#',
    'welcome','width=650,height=500,menubar=no,status=no')">
    peaks</A></cfoutput>
    On the template which will produce the image (viewer.cfm)
    <cfparam name="url.image" default="0">
    <cfoutput><IMG SRC="#url.image#" width="550"
    height="413" class="image"></cfoutput>
    Cheers

  • Webcenter portal live search and tags

    Hello there,
    Does anyone know if there is any merge/integration possible with the Webcenter Content tags and the Webcenter Portal live search?
    I know the tag service offered by Webcenter Portal works for the search component however the tags from the Webcenter Content do not. Is it possible to include those in the live search?
    Thank you for your time

    Hello there Daniel, reviving this topic again. Hope you can take my doubts.
    Actually i am using DATABASE.FULLTEXT. It works for the UCM content. My issue here is that i want my search Toolbar to present to me the pages that have the UCM content in them.
    Example: I search for the word "cookie" and i want the result to be the page that has an HTML loaded from the content that has the word "cookie" in it. Right now the Search Toolbar returns me the HTML that has the word cookie in it. But not the page that has that HTML loaded.
    As a matter of the fact i cant even get any page out of the Search Toolbar.
    My question is, do i need to have SES to be able to have that? Or with the Search Toolbar this is something that is possible.
    I added the tagging system, that allows me to get pages in the Search toolbar, but requires manual tagging, or tagging through the content of the pages. That, so far, is the only way i get pages on the search Toolbar.
    As always thank you,
    Regards

  • Webcenter Portal - CMIS query and variables

    Hello,
    Im using CMIS queries to access my UCM in order to have multi language support. In the query i need to input as a variable the current selected language which is on a session bean.
    This is one example:
    <taskFlow id="doclibcontentpresenter1"
                  taskFlowId="/oracle/webcenter/doclib/view/jsf/taskflows/presenter/contentPresenter.xml#doclib-content-presenter"
                  activation="deferred"
                  xmlns="http://xmlns.oracle.com/adf/controller/binding">
          <parameters>
            <parameter id="taskFlowInstId"
                       value="${'07add503-f1b2-4a99-81a4-ce5ffda5dec0'}"/>
            <parameter id="datasourceType" value="${'dsTypeQueryExpression'}"/>
            <parameter id="datasource"
                       value="${'SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:xWCTags LIKE '${localeBean.localeActual}%' AND cmis:name LIKE \'logo%\''}"/>
            <parameter id="templateCategory" value="${''}"/>
            <parameter id="templateView" value="${''}"/>
            <parameter id="maxResults" value="${''}"/>
          </parameters>
        </taskFlow>
    Which does not work. My question is if it is possible to pass a parameter in the CMIS query, on the LIKE field. If so how exactly to do it? If it is possible i cant find the correct syntax to make it work.
    If this is not possible, how do i properly use CMIS queries in order to access multilanguage content that is tagged on my UCM?
    Thank you for your help

    Sorry to bother you again but it seems i have another small problem
    <parameters>
            <parameter id="datasourceType">dsTypeQueryExpression</parameter>
            <parameter id="datasource">connectionName=UCM#SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:xWCTags LIKE  '#{localeBean.localeActual}%' AND cmis:name LIKE 'logo_unitel%'</parameter>
    </parameters>
    Using the same logic, but this time im on a navigation.xml file. The <parameter> tag does not have a value instead the input is as show in the code above. And alas it also does not work.
    Id be really grateful   Thank you

Maybe you are looking for

  • IPhoto '8, Some photos from Original Folder no longer showing

    Hello All: I am working on my sisters' iMac and she has the following problem with iPhoto. Somehow (we have deduced that her husband tried to help "clean-up" the computer), there are 7 months worth of pictures no longer showing in iPhoto.  Here is wh

  • Replace of  FM 'HELP_VALUES_GET_WITH_TABLE' in ECC 6.0

    Hi Friends,               As iam working in the upgradation project,I wanted to know which function module is replaced in ecc 6.0 for the FM  'HELP_VALUES_GET_WITH_TABLE' that is used in 4.6c

  • Reading Configuration Of Material within a Contract

    Hi Does anyone know how to read the configuration of the material within a contract (va43 -> Item Details: Configuration) i´m wasting about 2 days on this... thanx domi

  • Oracle golden gate question

    Hello, I have a plan to migrate my oracle 9.2.0.8 database from windows 32 bit to 11.1.0.7 on IBM AIX (6.1) 64 bit and i want to utilize Golden gate for this purpose. I am trying to open site http://support.goldengate.com/ but was not able to open fo

  • Print list of addressbook 4.1.2- window missing after upgrade to 10.5.8

    Address Book - Printing a List I upgraded my iMac g-5 Intel from 10.4.11 to 10.5.8  My address Book is Address Book Version 4.1.2 When Printing a list of addresses with the 10.4.11 all one had to do is Select the names, click File/Print----and a "new