How to navigate from a view to an IView in portal

Hi all,
         Onclick of an application in my portal my appliaction gets opened.But the problem here is onclick of cancel in my applcation i want to navigate to my IView in portal.
For navigation between view2 to view1  i used wdThis.wdFirePlugtoView1();
by creating a navigation link.
How to navigate from view1 to Portal IView
Regards
Padma N

Hi padma,
             Go to Iview Property in portal Content managment and take the PCD location.
It may look something like this
ROLES:portal_content/ZABC/ZPROJECTS/com.abc.ZPortfolio/com.abc.ZPortfolio/com.abc.ZRoles/com.abc.ZPortfolioReconle/com.chep.ZReconciliation/com.chep.ZReconEnquiry_IView
Create a string variable with the PCD location
String pcdLocation = <pcd location>
And call using the iview using the following code
WDPortalNavigation.navigateAbsolute(pcdLocation, WDPortalNavigationMode.SHOW_INPLACE, WDPortalNavigationHistoryMode.NO_DUPLICATIONS,"&reference="+reference);
Here &reference is the application parameter, if the application with which the iView is created has parameter and is not mandatory.
Hope this helps.

Similar Messages

  • How to navigate from one view to another view?

    Hi everyone facing a problem in navigation when i click on the list another view should be appear..
    page1.view.js:-
    list1.onclick=function(evt){
      $.sap.require("sap.ui.core.EventBus");
      var bus=sap.ui.getCore().getEventBus();
      bus.publish("nav","to",{
      id:"idDemoUI2",                       //..id of page2...//
      context:evt.getSource().getBindingContext()
    page2.controller.js:-
    onBeforeRendering: function(evt) {
      if (evt.data.context) {
             this.getView().setBindingContext(evt.data.context);
    i have a list i want when i click one the row of that list another view will appear so i use onclick event on the list and then use bus for navigation and recieving data in the target page but its not working anyone please tell me  where i am wrong.
    Regards
    Kelvin

    Hi Kelvin,
    How about using Routing concept than the getEventBus. Below link should help:
    Step 3: Navigation and Routing - User Interface Add-On for SAP NetWeaver - SAP Library

  • How to navigate from webdynpro view to bsp page in the same window?

    hi i want to call a page by its url.
    i am using the "create_external_window" method.
    but it is displying my url in a new window.
    i want to display it in the same window.
    the second page i want to call is a bsp page.
    i tried also the portal manager and NAVIGATE_ABSOLUTE but nothing happens.
    it displays nothing.
    thanks for your hints.

    >
    Achref zaidi wrote:
    > hi i want to call a page by its url.
    > i am using the "create_external_window" method.
    > but it is displying my url in a new window.
    >
    > i want to display it in the same window.
    > the second page i want to call is a bsp page.
    >
    > i tried also the portal manager and NAVIGATE_ABSOLUTE but nothing happens.
    > it displays nothing.
    >
    > thanks for your hints.
    Hi,
    Navigate_absolute method has navigation mode. Can you please tell me what you mean by nothing happens ? This will work only in Portal environment.
    So if you try with portal then remember to use  Navigation_mode as inplace.

  • How to navigate from a Servlet to a WebDynpro?

    Hi together,
    I've the following Problem:
    On the same EP, there are 2 deployed components:
    - a WebDynpro-Application with several Views, each in a separate iView
    - a Servlet
    Question:
    How can i navigate from the Servlet to one special iView or CustomController of the WebDynpro-Application passing a Parameter?
    I've tried to navigate using the WDPortalNavigation.navigateAbsolute()-Method, but when I create the Target-Url using the following Code, my Debugger leaves the Code uncontrolled:
    deployableObjectPart = WDDeployableObject.getDeployableObjectPart("vendor/App", "webdynproApp",WDDeployableObjectPartType.APPLICATION);
    urlToTargetApp =     WDURLGenerator.getApplicationURL(deployableObjectPart);
    Some Ideas?
    Regard
    Thomas

    Hi Thomas,
    I think you may have to use session concept here.
    check with following code
    you can use the following code to set value to the parameter.
    HttpServletRequest request = ((IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();
    HttpSession session = request.getSession(true);
    session.putValue("col_id", <value>);
    This code below is used to get parameter value.
    HttpServletRequest request = ((IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();
    HttpSession session = request.getSession(true);
    String Col_id =(String)session.getValue("col_id");
    Let's say the pcd location of the target page is
    pcd://portal_content/com.sap.pct/specialist/com.sap.test.pages/com.sap.test.target_pg
    In the event handler for the onAction event of the button
    String appParams = "ApplicationParameter=<your parameter name>=" + <put your value here>;
    WDPortalNavigation.navigateAbsolute(
    "ROLES://portal_content/com.sap.pct/specialist/com.sap.test.pages/com.sap.test.target_pg",
    WDPortalNavigationMode.SHOW_INPLACE,
    WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
    appParams,
    null,
    true,
    true);
    For more details you check the following URL. it describes on how to navigate from html/servelt to portal iview.
    Passing value from page to WD
    Reward points if it helps
    Regards
    Praveen

  • How to navigate from view of slave DC to view of matser DC?

    Hello!
    I've got DC1 (master) and DC2 (slave) in different projects. Both projects are WD Java local DC projects. DC2 has one component (say A) with view, window, view interface, controller and controller interface and has no applications. This view should be called at start of application. Only DC1 has application. Public parts created properly so DC2 visible for DC1.
    In main window of DC1 I embedded View Interface from DC2 and make it default. View Interface has outbound plug connected with inbound plug for View of DC1.
    What I should to do to allow user navigate from View Interface of DC2 to view of DC1 by press button placed at view of DC2?
    I'm working with NW7.0.
    Regards, Lev.

    Hi
    What I should to do to allow user navigate from View Interface of DC2 to view of DC1 by press button placed at view of DC2?
    Hi
    One solution will be already provided by  jithin james .
    Apart from that if u want to make something generic (For your case View interface of different Dc) follow this  [Best practices |https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0409d83-5ed5-2910-ef91-e41da6d5b8b4]
    Best Regards
    Satish Kumar

  • How to go from a View Controller to a View Controller

    Hey everyone, I have asked this question over on Stack Overflow, and really had no luck with it.
         I am wondering how to go from one (1) View Controller that has buttons and another View Controller that has a UIWebViewer in? I know how to do the simple part to get the two to link up. But, the buttons are going to have different URL's hooked up to them, and I want to be able to reuse the Web Viewer. I am using the Swift Programming language to be able to do this.
    below is my current code that is has my buttons sitting on top of my web viewer,
    import UIKit
    import WebKit
    class ViewController: UIViewController {   
        @IBOutlet var wbView: UIWebView!
        var strUrl = ""
            @IBAction func buttonAction(sender: UIButton) {
                switch (sender.tag){
                case 1:
                    strUrl = "https://www.google.co.in/"
                case 2:
                    strUrl = "https://in.yahoo.com/"
                case 3:
                    strUrl = "https://www.facebook.com/"
                case 4:
                    strUrl = "https://bing.com/"
                default:
                    break;
                reloadWebViewWithUrl(strUrl);
            func reloadWebViewWithUrl(strUrl: NSString){
                var url = NSURL(string: strUrl);
                var request = NSURLRequest(URL: url!);
                wbView.loadRequest(request);
            override func viewDidLoad() {
                super.viewDidLoad()
                // Do any additional setup after loading the view, typically from a nib.
            override func didReceiveMemoryWarning() {
                super.didReceiveMemoryWarning()
                // Dispose of any resources that can be recreated.
    How should I go about changing this two allow my buttons to be in their own ViewController and still be able to to the secondary View Controller with the WebViewer?
    Thank You all in advanced with the help on this!

    This is the FirstViewController Code
    import UIKit
    class FirstViewController: UIViewController {
        @IBAction func webAction(sender: UIButton) {
            let index = sender.tag
            chosenURLString = addresses[index]
            performSegueWithIdentifier("WebViewSegue", sender: self)
        override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
            if let controller = segue.destinationViewController as?
                SecondViewController {
                controller.urlString = chosenURLString
                chosenURLString = nil
        private let addresses = ["", "https://www.google.com", "https://www.facebook.com", "https://spca.org", "https://www.facebook.com/wagzpack?fref=photo"]
        private var chosenURLString: String?
    This is the SecondViewController Code
    import UIKit
    class SecondViewController: UIViewController {
        @IBOutlet var webSite: UIWebView!
        var urlString: String?
        override func viewDidLoad() {
            super.viewDidLoad()
            if let urlString = urlString {
                if let url = NSURL(string: urlString) {
                    let request = NSURLRequest(URL: url)
                    webSite.loadRequest(request)
                    println("loading \(urlString)")
                else {
                    println("badly formed URL string.")
            else {
                println("missing URL string.")

  • How to navigate from custom store to library?

    Is there any way to navigate from custom HTML store or any other web views to either Default Library or Custom Library?

    There is a workaround. If you specify a URL Scheme for your app, creating a link to that scheme displays the library. There is an example of this method in the Advanced Linking article in the DPS Tips app.

  • How to Export from table view to Excel (not BI query)?

    There is a 'How to' document explaining how to export from an iView using a BI query:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/47fe4fef-0d01-0010-6f87-ed8ecb479123
    However:
    This 'How-To' document is using an example of a BEx query. I am not using a BEx query, therefore I do not have an "Info port". How can I download to Excel from a table view that is not an iView of a BI query? (It is just a internal table coming from a BAPI).

    keenneth,
    i am using the query from SQL server, i am having the same problem of not having info port. so did you find a work around for exporting to excel with filters for non sap queries ?
    any body who had come across this situation , plz guide me.
    thanks in advance
    ravi

  • How to Navigate from af:internalFrame to another page in the parent frame?

    Hi!
    I'm using an ADF IFrame Component <af:internalFrame>..
    we have a requirement where we needed to navigate from a page in the Internal frame to another page in the browser, i.e., on clicking a ceratain button in IFrame , the browser window should load an another page in the main window/frame(not in IFrame). I know this can be done with javascript by setting the
    window.location='newurl'
    But that would take me away from the normal JSF lifecycle, that is I have to perform certain processing of the inputs from the Iframe, and then navigate in the normal JSF way to another page in the main browser window,according to the navigation configured in the faces-config.xml; or if possible, programmatically ,in the backing bean.
    Can someone give me any hint of how to do this?
    Thanking you in advance,
    Samba

    Correct. To achieve this functionality JavaScript is required.
    --Ric                                                                                                                                                                                           

  • How to Navigate from Graph page to Customization page?

    Hi All
    If i need to navigate from Graphs page to customization page on clicking the graph, What are the steps to be followed?
    Also in that customization page i need to make changes in the SQL statement for graph also the type of graph( Pie or Bar).... when i provide this changes it needs to be saved. And when i save it has to provide me the new graph according to the edited SQL Statement...
    How to achieve this?
    Can anyone pls pls help me out in resolving this issue???
    Ganesh

    If i need to navigate from Graphs page to customization page on clicking the graph, What are the steps to be followed? Destination URI
    You can programmatically define a destination URI on a graph, that allows users to drill down to additional information. If the Destination URI property is defined on a graph, the URI specified is used as the drill-down URL. The Destination URI can be an absolute URL or a relative URL to an OA Framework page. The group and series values for each data point are appended to the specified destination URI, so that the resulting URL is specifically associated to a particular data point plotted in the graph. The group and series values can be obtained by the destination page using the parameters OAGgroup and OAGseries.
    For the drill down feature to work, you must also set the Display Data Bubble Text property on the graph to True. Enabling this property generates an image map, which is required for the drill-down feature to work. When a user selects any data point in the graph, the specified URL is launched.
    Thanks
    --Anil
    http://oracleanil.blogspot.com/

  • How to switch from different views when a common button is clicked on using View states concept

    Hi
    i have  made a single form for both Login Screen and Registration screen with two states :
    1. BaseState which is the curret state of  state of My application
    2.registrationstate 
    I have a common button for changing from one view to another view .(Not related to any of the state)
    At first the Login screen is loaded , and when the common  button is clicked , i want to switch to Registration Screen .
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script>
        <![CDATA[
    // Logic for common button needed .
        public function handleMe(event:MouseEvent):void
        ]]>
    </mx:Script>
        <mx:states>
            <mx:State name="registrationstate">
                <mx:SetProperty target="{formitem1}" name="label" value="Email"/>
                <mx:SetProperty target="{button1}" name="label" value="Change state to Login"/>
            </mx:State>
        </mx:states>
        <mx:Form x="248" y="158">
            <mx:FormItem label="User Name" fontWeight="bold" id="formitem1">
                <mx:TextInput/>
            </mx:FormItem>
        </mx:Form>
    <!-- This is my coomon button-->
        <mx:Button
            click="handleMe(event)"  
            x="297" y="261" label="Change state to Registration" id="button1"/>
    </mx:Application>

    Originally I could not get that to work, but now I have it working:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
      <mx:Script>
        <![CDATA[
          import mx.controls.Alert;
          public function handleMe(event:MouseEvent):void{  
            trace(this.currentState); 
            if(currentState=="" || currentState == null){
              mx.controls.Alert.show("base state");
              currentState = "registrationstate"; 
            }else if(currentState=="registrationstate"){
              mx.controls.Alert.show("registrationstate");
              currentState = ""; 
        ]]>
      </mx:Script>
      <mx:states>
        <mx:State name="registrationstate">
          <mx:SetProperty target="{formitem1}" name="label" value="Email"/>
          <mx:SetProperty target="{button1}" name="label" value="Change state to Login"/>
        </mx:State>
      </mx:states>
      <mx:Form x="248" y="158">
        <mx:FormItem label="User Name" fontWeight="bold" id="formitem1">
          <mx:TextInput/>
        </mx:FormItem>
      </mx:Form>
      <mx:Button click="handleMe(event)" x="297" y="261"
        label="Change state to Registration" id="button1"/>
    </mx:Application>
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex / AIR Development, Training, and Support Services

  • Switching from one View to another in the Portal

    Hi Experts,
    We have created many global views from one query.  We have created these in thr portal.
    Our problem is when we switch from one view to another, it will carry all the filter values from the previous view.  Ideally we only want to pass the values from the variable entry, not the filter values local to the view.
    Does anyone of you knows how to solve this problem?  I am trying to look at the Customer exit... and do something with the mapping.  But this one will affect all the drill-downs.  Any thoughts?
    Best Regards,
    Rose

    Hi,
    I have somehow solved it using the exit.  In this case the source and target query is really the same because we are just switching from one view to another using the the same query.  What I did in the exit was:
    -  If the source and target query are the same.
    -  remove all the mappings except the ones with object types "Variables".
    This ensures that:
    1) I only apply this logic if the source and destination query is the same.
    2) The restrictions that will be applied to the destination view when I switch
    from one view to another will always be only be the paramater values
    (default or entered by the user) when they first run the query.
    Best Regards,
    Rose

  • How to navigate from a component to a specific view in other component

    Hi guys,
    i have an issue in my application where i have two components compA and compB. In defaultview of compA i have a navigationlink and a viewcontainer element which contains three views viewone,view two,view three and In default view of compB we have 3 links where each link should navigate to its corresponding view in the viewcontainer element of compB. The navigation between default of compA and CompB is working fine But prob is with the navigation between the links in the compB view to views in the view container element. can anybody give me some idea on it i am hanging here from somany days. It would be appreciable if anybody solved this problem. Thanks In Advance
    Regards
    Ravikumar Saragadam

    Hi Ravi,
    Check the following links.
    DC reusability in webdynpro
    Passing a value from one dc to another dc in webdynpro
    How to pass a value from one dc to another dc in webdynpro java
    Thanks

  • How fetch data from a view(which is located in different server) using Oracle APEX webservices

    Hi,
    I have a requirement to fetch the view data from client instance(which is different server) to another instance lets say Development instance
    Requirement:
    Need to get the Apps View data from the Desired EBS instance(which is accessible online) using webservices,and display it in the Oracle Apex Development Instance.
    Kindly provide your inputs how to achieve this.
    Thanks in advance
    keerty

    Are you getting an error? The way you have it set up, you can have an error and it will never be displayed. Put and error control on your front panel and see what it gives you. Also, shared variables in a project can be useful. Look at some examples for that.

  • How to navigate from WD iView to another WD iView

    Hi experts,
    I'm wondering the best way to do a navigation from WD to another one, I've triyed absolute and relative navigation and neither of two works.
    I'll try to explain what am I doing:
    Application A wich is running in a iView needs to call an Application 2 located in another iView (separate WD project too).
    <b>my code looks like this:</b>
    DATA: l_api_component  TYPE REF TO if_wd_component,
            l_portal_manager TYPE REF TO if_wd_portal_integration,
            path             TYPE string,
            path_table       TYPE string_table.
      l_api_component = wd_comp_controller->wd_get_api( ).
      l_portal_manager = l_api_component->get_portal_manager( ).
    path = 'ROLES://portal_content/fl_mjcf_workarea/fl_mjcf_web_site_unimet/fl_mjcf_ivews/fl_mjcf_intranets/fl_mjcf_int_estudiante/iv_mjcf_web_pagos'
    CALL METHOD l_portal_manager->navigate_absolute
        EXPORTING
          navigation_target   = path
          navigation_mode     = if_wd_portal_integration=>co_show_inplace
         window_features     = navigation_data-window_features
         window_name         = navigation_data-window_name
         history_mode        = navigation_data-history_mode
         target_title        = navigation_data-target_title
         context_url         = navigation_data-context_url
         post_parameters     = navigation_data-post_body
          use_sap_launcher    = abap_true
         business_parameters = bus_parameter_table
         launcher_parameters = launcher_parameter_table.
    I don't know what am I doing wrong, but, the application is not showing anything, no error, no message.
    Please any suggestion is really apreciated and of course rewarded.
    Thanks in advance.
    RR.-

    Hi,
    Thanks for your reply I found that the PCD location was wrong, I wasn't copying from the role, that's why the application didn't navigate ritgh. But still havin problems with parameters.
    Do you have any idea? and thanks for your reply.
    Ramien.-

Maybe you are looking for

  • Unable to connect to Deck or Camera to capture footage. Final cut pro6

    Hey guys, I am wondering if anybody who has been in my situation or know how i can resolve my problem can help me. I have been using my Deck to upload all my footage, in standard def, and my JVC GY HD100 camera to upload all HD footage without any pr

  • Importing SWF into Final Cut Pro with no Background

    Hi Everyone: I've created an animated macromedia .swf file and imported into Final Cut Pro successfully just as an .swf file. I can see the .swf file animate in Final Cut Pro, the only problem is there is a white background along with my animation. I

  • Block the output in R/3 if order is not compliant

    Hello All We are currently implementing SAP GTS  compliance module.  To integrated SAP GTS with the rest of the solution, we want to block the output for purchase orders and sales orders and the creation of the subsequent document. For the creation o

  • New Mac Advice

    I have a simple home songwriter setup for producing really nice sounding demos. Have been happily running Logic 8.0.2, OS 10.5.5, on a 2006 17" MacBook Pro 2.16 Core Duo, 2 GB RAM. Typically 20-30 tracks, minimal plugins (10 per song) and soft synths

  • All attachments opening as plain text

    Apparently without any changing of settings the mail program is opening all attachments as plain text. This occurs although the program is available to open the attachment. I know the attachments can be saved to the desktop and then opened, but this