Navigate to another iview

Hi
I have an EP project where I put two jsp's.
When user presses link I would like to navigate to the other jsp.
I put each jsp in a different iview.
When user presses a link in the first iview he is supposed to be redirected to the second view.
as a link I use "return EPCM.DoNavigate('Roles://portal_content.......')".
What is get is the blank page.
Any idea how this can be solved
regards
yuval peery

Hi
Thank you for yr reply.
The program I was trying to run did not work with 2 jsp's.
What I did was to write a second EP containing jsp_2.
This EP was connected to a second iView. It works.
Unfortunately not as I anticipated.
What I was trying to do is capture the file path of a standard file upload input box.
Apparently SAP blocked the access .
Strangely when  I ran the code on Tomcat with IE8 it worked perfectly.
I am of course well aware of the security reasons for blocking the access to one's file system.
Any idea if this can be done otherwise? BSP?
regards
yuval peery

Similar Messages

  • Navigate to another iView in Visual Composer

    Sorry for the reposting
    I am trying to configure navigation from one iView to another. I have going through many tutorials but to no avail.
    The result of the steps below should be that the ”source” iView is shown. When the submit button is clicked the value in the source_field should show up in the target iView.
    However nothing happens when you click the submit button.
    Please Help.
    Here are my steps.
    In Visual Composer
    Create a new model.
    Create a new package. (Drill into package)
    Create an iView named “source”. (Drill into the iView)
    Add an Form view: “Form 1”.
    Add a Start connector and link it to the in port of the form.
    Right click on the form and select Configure Element
    Add a new Input Field: “source_field”
    Add a new pushbutton: “submit”
    Open the properties of the “submit” button
    è Open Action Tab
    è Select custom action
    è Set custom action: “TO_TARGET”
    è Click Close
    Click and drag from out port of the form and select Signal Out
    In the Select Output dialog
    Select “source_field”
    Right click the newly created Signal Out and select Configure Element
    Change the name to ”Port”
    Click on the link from the form to the Signal Out icon
    Change the Event Name to “TO_SOURCE”
    You should see in the lower right panel
    Input field Assigned field
    source_field @source_field
    Navigate back up to the package
    Create a new iView named “target”
    Drill into the iView
    Add a Signal In connector. Configure the name to “Port”
    Add an input field : source_field
    Add a new Form view : “Form1”
    Link from the Signal In to the in port of the form.
    Right click on the form and select Configure Element
    A field “source_field” will have been automatically created. Set the type of the field to Input Field.
    Click and Drag from the out port of the form and choose End Point. Do not select a field for output.
    Save the Model and deploy.
    The result should be that the ”source” iView is shown and when the submit button is clicked the value in the source_field should show up in the target iView.
    However nothing happens when you click the submit button.
    Please help?
    Rick Laird

    Hi Rick,
    I reconstructed your model.
    First I think, you have made one mistake (perhaps you just mixed it up in your description): The event name from the form to the Signal Out icon should be "TARGET_TO" instead of "SOURCE_TO" resp. the same name that you define on the custom action tab in the properties window of the push button.
    However I could not solve your problem as described, but I put the two iViews in one Page (instead of a package) and then it did well.
    I Hope I could help you at least a bit.
    Regards,
    Oliver

  • How to Include one iView into another iView

    Hi All,
    My requirement is to have 3 input fields across many iviews. on entering the values in those fields, i will invoke a Web Service Model.
    I dont want to keep these 3 fields in all iviews, rather i am planning to create one iview with 3 fields integrated with model and call this iview in many other iviews.
    How do i achieve this in wed dynpro coding. In JSP, there is a concept called "Include Jsp Page" . Is there any similar kind of functionality in WD.
    Kindly guide me .
    Reg/Venkat

    Hi,
    In the portal, create a page and place the iView having the three input fields on top. Place the second iView below. Keep differing the second iView for every page. In this way you can make the iView with 3 input fields only in the desired pages. You can use EPCF to invoke / navigate to another iView.
    Regards
    Srinivasan T

  • 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.-

  • Opening another iview from an iview in the same page ....

    Hello ....
    I need to open another iview from an existing one in the same page without overwriting the other existing iviews on the page. I am using EPCM.doNavigate() as given below
    EPCM.doNavigate('ROLES://portal_content/com.hersheys.Hershey_Content/com.hersheys.Human_Resources/com.hersheys.hr.sap_mss_iviews/EmployeeExit?SCENARIO_PARAMS=PERNR='+person,0);
    The iview does open in the same page, however i lose the other iviews on the top and bottom of the page ....
    Any pointers??
    Thanks,
    Devina

    Hi Devina,
    Try using IUrlGeneratorService to generate the URL to the required iView, instead of EPCM.doNavigate().
    doNavigate sometimes refreshes the whole page while loading the required iView.
    cheers
    Kiran

  • Photo iView in another iView

    Hi all!
    We have a problem showing photos of employees in a home made CV iView. The pictures are currently stored using standard document handling in SAP so there are standard procedures to "retrieve" the pictures. There is an iView called "Photo", in mss package: com.sap.pct.hcm.eeprofilephoto.par, and this iView does nothing else but showing a photo. Is there a possibility to place this iView embedded/within another iView like our home made one? It can't be placed outside the CV iView on a page since it doesn't give the correct layout for printing the CV.
    A great thanks in advance!
    Best regards
    Benny Lange

    Thanks a lot for this idea!
    But I'm having some problems: I don't recognice the different headers straight of. I find "Support" on top bar, under this one I find "Support desk". On this page I can find "Portal Java runtime" but not "Portal runtime" but I suspect this is just another name. Now I'm stuck though. I can't find any place here to download the par-file you mentioned.
    What I did find by going into "Browse deployment" and then going all the way down to "ROOT/WEB-INF/plugins/portal/lib" was a file called "prtlayout.jar". Could this be the file you are talking about? Perhaps I should mention that I'm working in EP5 and this might be the cause of the differences in headers and location of different things.
    Best regards
    Benny

  • Code to stay back in same propertypane though user wish to navigate to another propertypane

    Hi All,
    I am working on c#,.net2.0, using WRM.Windows.Forms.PropertyPane and used its paneactivated/panedeactivated events.
    Whenever i navigate to another pane i need to validate previous pane details and if any error in the pane controls it should be retained in the same,so blocking the navigation.
    So please share piece of code how to block the navigation.
    Thanks,

    Hi All,
    I am working on c#,.net2.0, using WRM.Windows.Forms.PropertyPane and used its paneactivated/panedeactivated events.
    Whenever i navigate to another pane i need to validate previous pane details and if any error in the pane controls it should be retained in the same,so blocking the navigation.
    So please share piece of code how to block the navigation.
    Thanks,
    Hi,
    I am afraid that I could not find any official document about this control, which seems that this is a tool belongs to third-party, I would recommend you consider contacting with its publisher to get supports.
    Thanks for your understanding.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How Can I Call a method in iView  ,which is in another iView

    I Have 2 iViews i want to call a method in Iview which is i another iView
    Thanks and Regards
    Prasad.Y

    Hi Prasad,
    first, welcom at SDN.
    Next, let us clarify some wording:
    A <i>PAR</i> is a <i>Portal ARchive</i>. It is a zip in a certain format. It contains a <i>portal application</i>.
    A <i>portal application</i> consists of <i>components</i> and/or <i>services</i>.
    An <i>iView</i> is somehow an "instance" of a <i>component</i>. It is created within the portal. There are <i>no iViews in a PAR</i> (like: "There are no objects in a JAR (but classes).").
    With this in mind, you know that the question does not work, for iViews don't have "methods".
    If you ask how you can call a method of a class belonging to a different component (but within the same portal app), it is no problem at all, each class has access to each other class within the same portal app (in fact, one has to differentiate between public and private part, but we don't want to go so far). To call use a class belonging to (the public part of) a different app, you will have to set the SharingReference within portalapp.xml.
    If that's what you're looking for - great.
    If not, ask again, but far more detailed.
    Hope it helps
    Detlev
    PS: Please consider to reward points for helpful answers. Thanks in advance.

  • Select value then navigate to another page

    All,
    I am doing something which sounded simple but doesnt seem work for me. Ive a select List item and when a value is selected on change eg EMP_ID value i need to pass that selected value to another/navigate to another page and pass that values to that page item eg P2_EMP_ID.
    i tried below DA but its always showing value=undefined  ?
    $('#P1_NAGIVATEPAGE').change(function() {
    alert('val = ' + $("#P1_XXX option:selected").val() );
            var ac = $('#P1_XXX').val();
            alert(ac);
            if (ac == 'CAMPING') {
                window.location = 'f?p=&APP_ID.:2:&SESSION.::&DEBUG.:P2_XXX:&P1_XXX:';   etc,
    how can i solve in apex 4.2?
    thanks.

    Hi,
    You are using &P1_XXX in your code. This is the value of the item from the moment the page loaded. This means it is not changing on the change of the item value. Your code should be something like this:
    window.location = 'f?p=&APP_ID.:2:&SESSION.::&DEBUG.:P2_XXX:'+ac;
    Regards,
    Kees Vlek
    Company: http://www.orcado.nl
    Blog: http://www.orcado.nl/blog/blogger/listings/69-kvlek
    Twitter: http://www.twitter.com/skier66
    +If the question is answered please change it to answered and mark the appropriate post as correct/helpfull.+

  • Display of iView (any kind) in Content Area on click from another iView

    Hi All,
    I want to display any type of iView in the content area of my portal on click of link which is another iView on the same page.
    how do we go about this??
    Thanks in advance
    Srikant

    Hi Srikant,
    Paste this code in the jsp from which u have build an iview
    <a href="link14" onclick="return EPCM.doNavigate('ROLES://portal_content/Folder/Pages/iview')">Link</a>
    Hope this answers ur question.
    regards,
    Joshua Kiran

  • Navigate to another application in the same window

    How can I navigate to another application in the same window? I know how to open in a new browser.
    Also, I cannot give a linktourl UI. I have to do it on click of a button.
    I can get the URL. How to go there now?
    Thanks in adv.

    Hi Shweta,
    You can get a URL to a webdynpro application and also navigate to it. I used  below code snippet,
    METHOD onactionclick .
    * Data Declarations
    DATA:
    lr_ref TYPE REF TO ig_ZWDA_APP1,
    str TYPE string.
    *Get the URL of the Application
    CALL METHOD cl_wd_utilities=>construct_wd_url
    EXPORTING
        application_name = 'ZWDA_APP2'
    IMPORTING
       out_absolute_url = str.
    *Reference of Window
    lr_ref = wd_this->get_ZWDA_APP1_ctr( ).
    * Fire Exit Plug
    lr_ref->fire_go_exit_plg(
    url = str
    ENDMETHOD.
    u can modify it so that ur current application is not closed or that new application gets launched in seperate browser window.
    Greetings
    Prashant

  • Can a iview monitor the loading of another iview?

    Hello,
    We created some IAC iviews and these IAC sometimes takes upto 1 minute to load completely. While doing so, there is no indication that the page is loading. In workplace, there was a image(similar to the webdynpro loading image) but this is not available in the portal. We poked around  and concluded that the image was being loaded and unloaded by the base frame. How can we accomplish something similar in the portal? Specifically, can we use EPCF for it? Biz has ruled out modifying IAC pages to fire EPCF events. Can a iview monitor the loading of another iview?
    Thanks for viewing this question,
    Raj Balakrishnan

    To make app maintenance easier, I'd prefer to define the logic in one button and have the second button
    simply do whatever the first button is defined to do -- as if it was the one that was clicked. Generally a button either submits the page with a request (i.e. 'CREATE') or executes some Javascript. You can make multiple buttons on your page that when clicked issue the same submission request. In that case, the Processing designed to run on that request will run regardless of which is clicked. Likewise more than one button could execute the same Javascript function.
    For example, I have several apps that my userbase makes use of, and some people make use of several. To make it clear which they are logging into, the login screen of each has a graphic that indicates the app name (the same as defined in the application's logo). That graphic is actually in the screen as a graphic button and when clicked will submit as 'LOGIN', so it matters not whether someone clicks on the image or the Login button, the login logic will execute.

  • Is there a way to navigate to another slide and have it open in a pop-up/new window?

    Is there a way to navigate to another slide and have it open in a pop-up/new window?

    Hello Sreekanth,
    What I want to do is create a link that when clicked on opens a file or another captivate file in a new window with no address bar so that when you are finished viewing in the new window it can be closed and you are back on the original window.
    Thanks,
    Alan

  • IView read another iView's profile.

    I have two iViews derived from the same PortalComponent, but have been set different set values for the profiles.
    When I added both of the iViews to the same page, one iView reads another iView's profile. Most of the time both of them use the same value from one profile, but which profile it is used is undertermined. If I keep refreshing the page, I can see which profile the two iView choose to use is random.
    The expected behavior should be each iView only uses its own profile.
    My EP's version is:
    J2EE Engine 6.40 PatchLevel 87289.311
    Portal 6.0.9.0.0
    The same code works fine on
    J2EE Engine 6.30 PatchLevel 84868.311
    Portal 6.4.0.0.200406231750
    In my portalapp.xml my profile is define like this:
    <component-profile>
         <property name="My Profile Name" value="default">
    In my portalcomponent code.
    I read profile by :
    request.getComponentContext().getProfile().getProperty(paramName));
    Can somebody tell me why? Is it a known bug? Did I missed some patch?
    Please mail me to [email protected] too.
    Thank you for your help.
    Harry
    Message was edited by: Xiaochen Du

    Hi Harry,
    > saved in IPortalComponentRequest
    In the original message, you wrote about a problem concerning the profile, now it's the request!?
    > If this is a fixed issue, please let me know,
    > in which patch it is fixed.
    If your are lucky, you'll get an answer to such questions on SDN, but anyhow, no official ones. That's the reason why I have suggested to open an OSS message, that's the support channel which should be able to answer officially to this kind of question. Anyhow, you would have to describe the problem in detail, also if the profile or the request is concerned...
    > confused with the version numbers
    There is a note about what build version corresponds to what SP/Patch. Anyhow, "sneak preview EP version 6.4.0.0.200406231750" probably is quite old, it's from 23.06.2004...
    Hope it helps
    Detlev

  • How to navigate to an iview with pressing a role button.

    Hi,
    When i login portal, first iview of the first role starts automatically.
    If i press other than first role, it is necessary to pres iview tab to navigate the related iview.
    I want when i press the role tab other than first role, first iview of the pressed role must be loaded automatically.
    How can i do that?
    Thanks.

    Dear CML,
    In the iview that you like open when you click in the menu option, put the iview property "Default Entry for Folder" to yes.
    Regards.

Maybe you are looking for