Open iview url in WDA main view (below some long text)

Hi Experts,
My WDA first page is divided into 2 parts top & bottom.
The top will have some text and bottom will have a display areas to display the portal iview. (Display means open iview directly on opening the first page of the application without any action)
Eg: when you open the WDA in IE it will display some text in top & google webiste opened below that long text.
I tried putting the google url in iframe source in main view but it didnt displayed it. only a blank area came displayed which was of iframe size.
Hope i explained my requirement.
Regards,
Nik

Hi Nikhil,
Your requirement is clear, but displaying google page where did you write the code.
Write your code in the View or component controller->WDINIT method, then first this method will display without any action.
In the Layout you can divide into two parts one is for text another one is for the google site display.
Let me know if you are not able to fix the issue still...send me the code I will let you know where is an issue.
Regards,
Naresh.

Similar Messages

  • Long Text Icon in CATS Timesheet Approval View

    Hi:
    Employee created a timesheet in ESS. He/she also keyed in some long text in the timesheet screen.
    When manager goes to the UWL to approve the timesheet, there is no icon to show that there is a long-text attached to the record.
    May I know if there is any place we can configure to have this icon showing for the records which have the long-text, in the portal?
    We can see the icon in T-Code: "CATS_APPR_LITE - Approve Working Times" in the backend. But I'll need the same icon in the portal.
    Please could someone advise me on this?
    Thanks....

    Hi
    Did you try creating a new 'Profile' for Approver's view?
    The config steps are defined at IMG>Cross-Apps Components>Time Sheet>CATS regular>Approve Working Times.
    Pl do reward if this helps.

  • Problem in viewing long text in QP03

    Hi
        Facing a strange problem while trying to upload long text in QP01 using SAVE_TEXT.
    the long text is getting uploaded properly
    an entry is inserted in STXH with object, id, name, etc.
    but when i try to view the long text in QP03 txn. (Display), there is no icon for view long text
    when i go back to QP02 in change mode, the icon for long text (Create long text without horizontal lines embedded on it) exists, after clicking it am able to see the long text and if i am saving the plan while leaving the txn, then again if i see the same plan in display mode (QP03), i am able to see the long text icon and the long text by clicking it..if and only if i view manually every long text in QP02 and save while coming out the txn., I am able to see the long text icon and the long text in QP03.
    Is it any setting problem or where am i wrong?
    Sathish. R

    hi
       r u sure? bcoz the program was running fine with long text viewable in QP03 all this time
    Sathish. R
    Message was edited by:
            Sathish

  • Call a methode without opening the main view

    Hi,
    I have a function that calls a web dynpro application. The handledefault methode of the window from this web dynproapplication searches for a url of a picture and opens it with my browser.
    This works well.
    But there are two windows open: my picture and the empty web dynpro main view.
    How can I stop this? I just want the window with my picture.
    Thanks,
    Martina.

    Hi Manigandaan,
    I deleted  the empty main view from the webdynpro window.
    But the result is always the same:
    1 empty window and
    1 window with my url
    this is the code in the handledefault (after the data declaration):
    DATA lo_window_manager TYPE REF TO   if_wd_window_manager.
       DATA lo_api_component  TYPE REF TO   if_wd_component.
       DATA lo_window         TYPE REF TO   if_wd_window.
       DATA ld_url            TYPE          string.
       lo_api_component  = wd_comp_controller->wd_get_api( ).
       lo_window_manager = lo_api_component->get_window_manager( ).
    ld_url = lv_doclink.
      data lo_api_controller type ref to if_wd_view_controller.
      data lo_window_ctlr TYPE REF TO if_wd_window_controller.
      lo_api_controller = wd_this->wd_get_api( ).
      lo_window_ctlr = lo_api_controller->GET_EMBEDDING_WINDOW_CTLR( ).
    * get the control for window to be closed
      lo_window = lo_window_ctlr->get_window( ).
    * this will close the window
      lo_window->close( delete_window = abap_true ).
    if the ld_url is i.e. 'http://www.google.com' I get one browser window with google and another
    browser window which is empty. The URL of this empty browser window is the url with which
    i called the web dynpro application. But I don't need this window, how can I avoid this?
    Thank you very much!!!
    Martina

  • How do I force firefox to open a new URl on the current viewed tab or a new one. It opnes the URl on an existing Non viewed tab

    I have tried all the tab option and can not get Firefox to act like it did on the previous version. Firefox does not display the new url in the existing open tab or a new tab. Since installing the update, it opens the url in an existing backgound tab.

    Open link/bookmark in new tab in same window:
    *Middle-click (press the mouse scroll wheel) the link
    *Ctrl+left click the link
    *right-click the link, choose "Open Link in New Tab"
    Open link/bookmark in new window:
    * Shift+Enter on the link
    * Shift+left click on the link
    See: http://www.7is7.com/software/firefox/shortcuts.html

  • Captivate 5: Opening Multiple URLs

    Hey All,
    My company is currently working on some new Captivate training. We have, however, run into a snag. We continually run into the problem that when you click a button to open a url/file it contines past the pause we have built in. We can't build a pause into the button itself due to audio narration. We thought of using a few seconds at the end (after the audio) to create an invisible pause (invisible button that pauses) before the next button pause. However we have a few slides wehre there are about 8 links they need to click. We mainly want them to be able to open the files as many times as they want without the training advancing on its own.
    So that is your mission if you choose to accept it.

    Hi there
    Does the link below help you solve it?
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Open a URL in the same window

    Hi,
    My objective is to open a URL when i click on a webdynpro iView in the same window.
    I created a outbound plug in the InterfaceViewController.
    And wrote this piece of code in wdDoBeforeNavigation() in Component controller.
    wdThis.wdGetExternalComponentInterfaceViewController().wdFirePlugGoToUrl(Url);
    Where "Url" is a string variable contaning the value.
    But when i run this piece of sode it gives exception
    "Exit-Plug must no be triggered with an URL when running in portal. Use portal navigation instead to navigate to another application!"
    So what should i do solve this problem
    Regards,
    Paresh

    HI,
    Procudere to create the LogoffURL
    In the Application properties add your URL name.
    LogoffURL = http:
    www.google.com
    1.      Define an exit plug in the interface view of your Web Dynpro component:
                                a.      Enter a name and check the checkbox Exit Plug.
                                b.      Enter the name Url for the parameter and select string as the type.
    This parameter is case-sensitive and must be entered exactly this way.
           2.      In your view, define the action Exit and add the event handler onActionExit().
           3.      In the view layout, define a button and bind its onAction event to the Exit action.
           4.      In your view, define the use of the interface view controller of your Web Dynpro component under Properties.
           5.      Insert the following code in this method of the implementation:
    String logoffURL = wdComponentAPI.getApplication().getApplicationInfo().findInApplicationProperties("sap.logoffURL").getValue();
    wdThis.wdGetTimeCompInterfaceViewController().wdFirePlugExit(logoffURL);
    OR Do u need to generate the URL by using the application?
    Thanks,
    Lohi.

  • Toolbar Button to Open Custom URL for a Business Partner

    Hi All,
    for a CRM 5.2 implementation, I'm trying to open a URL in a new explorer window when on hte BP Account Overview ( Corporate Account ).
    I've created and added the Button, I've created an event, but when I launch the code behind the event to open a new explorer window, this does not work.
    I've tried several alternatives already ( see below ), but can't seem to find a working one.
    Can someone please helpme out ?
    Component BP_HEAD, view BPHEADOverview.
    CALL METHOD navigation->GOTO_PAGE
      EXPORTING
        URL     = 'http://www.sap.com'
       SESSION =
    or
    call method cl_gui_frontend_services=>execute
      exporting
        application = 'iexplore.exe'
      parameter   = 'http://www.sap.com'
      exceptions
        others = 1.
    or
      CALL FUNCTION 'CALL_BROWSER'
        EXPORTING
          URL                          = w_url
        WINDOW_NAME                  = ' '
          NEW_WINDOW                   = 'X'
        BROWSER_TYPE                 =
        CONTEXTSTRING                =
       EXCEPTIONS
         FRONTEND_NOT_SUPPORTED       = 1
         FRONTEND_ERROR               = 2
         PROG_NOT_FOUND               = 3
         NO_BATCH                     = 4
         UNSPECIFIED_ERROR            = 5
         OTHERS                       = 6.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Thanks

    Hi,
    First of all I would advice you to post this question in the new CRM 2007 forum.
    We have created our own button that calls an URL in a separate window. Here is some coding from the method CALLBACK~GET_BUTTONS which may inspirere you:
    CONCATENATE 'javascript:window.open'
                  lv_http
                  '","Print","resizable=yes,height=850,width=700,dependent=yes,status=1");'
             INTO lv_java.
      ls_button-type     = cl_thtmlb_util=>gc_icon_print.
      ls_button-tooltip  = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BT_SALES_QUOT/SALESQUOT_PRINT' ).
      ls_button-on_client_click = lv_java.
      ls_button-page_id  = me->component_id.
      ls_button-enabled  = abap_true.
      APPEND ls_button TO rt_buttons.
      CLEAR ls_button.
      ls_button-text     = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BT_SALES_QUOT/SORDER_CREATEFOLLOW-UP' )."#EC NOTEXT
      ls_button-tooltip  = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BT_SALES_QUOT/SORDER_CREATEFOLLOW-UP' )."#EC NOTEXT
      ls_button-on_click = 'FOLLOWUP'.                          "#EC NOTEXT
      ls_button-page_id  = me->component_id.
      ls_button-enabled  = lv_persistent.
      APPEND ls_button TO rt_buttons.
      CLEAR ls_button.
    /Anders

  • Open doc URL: unable to open the report in same window

    Hi
    I'm trying to open a report using open doc url with "swindow=same" but still it opens in a separate window. This happens only when I use JAVA viewer. it works fine in ActiveX and HTML but I want this in JAVA viewer as i'm including this page in my JAVA application and it should open the report in the same window. I tried using "<a>URL</a>" and also target="_self" by HTML interpretation for that object but still the same problem. I'm unable to open the report in the same window by using JAVA viewer for Crystal Reports in info view. Please help me!!!
    Envirorment Details: Crystal Reports 2008 SP3, BOE XI R3 SP3
    regards
    Raghavendra.G

    I have tested that myself and It seems that HTML interpretation does not work with the Java viewer.
    I have also tried using a hyperlink containing javascript
    eg.
    javascript:window.location.href='http://www.sap.com'
    but the java viewer seems always to launch a new window before processing the command.
    I would recommend to open a case by SAP support ( httP://service.sap.com/support )
    Regards,
    Stratos

  • Open iView in new window with no IE nav

    Using EP6 SP2:
    From the third level navigation, I need to open an iView in a new window.  The trick is that I need the new window to not have the standard IE navigation buttons.  Basically, window.open("http://my.url.com","toolbar=no").
    I cannot figure out how to do this within the standard navigational structure.  The url that I am linking to is outside of the portal, but it is using an SSO logon ticket to authenticate.

    Write a html page that opens the url like you want it.
    Put this html on a km folder and make a km-document iview to it.
    Message was edited by: Rob Hiddinga
    I just thought of a better way:
    just make an iview to the website and put your options ( fullscreen=yes) in the propertie Window Features
    Let us if this solved your problem

  • Open iView in new window in fullscreen

    Hi,
    I would like to open an (URL) iView in new window and maximize it size to expand on all the screen. Something like: width=100% height=100%.
    Unfortunatly, the window feature properties does not allow this, it only allows passing width and height in pixels.
    Does anyone has a solution for this issue? How to open iView in a new window in full-screen.
    Thanks in advance,
    Aviad

    Hi Aviad,
    You could set "fullscreen=yes" (without quotes) for the property called "Window Features" (technical name: "com.sapportals.portal.navigation.WinFeatures") on the navigation element in question (iView or, if existent, surrounding page). Take care, this opens the window without frame and toolbar (closable by ALT-F4).
    To get a 100% screen (with toolbar, frame etc), you have to calculate the clients resolution before, using JS for example. So you would need to build a workaround, for example an iView with no output but opening a new window with a certain NavURL as target.
    Hope it helps
    Detlev

  • How can I open a URL from a Custom Button in a second help window?

    I have a custom button, which currently opens a URL in a web
    browser, using a redirect page. How can I change this so that it
    opens in a second help window instead? If I understand some of the
    posts I've read, it is possible by linking the button to a related
    topics function but I've no idea how this is done.
    As usual, your help is most appreciated. Thanks a lot.

    Hi, ecoulyn,
    You need to make a topic file like the one below the target
    of the Jump button.
    The onLoad function on the Body start-tag causes the Related
    Topics command to fire when the topic file is loaded in the topic
    pane. When specifying the file name of the topic to display in the
    secondary window, you must always prepend it with the name of your
    .chm file, followed by "::/". Otherwise, an error message appears
    when the Jump button is clicked.
    Pete

  • Action reference in the MAIN view for other Views

    Hi Experts,
    I have created a view(MAIN) that contains SUBMIT button and also included four other views(Using ViewContainerUIElement) in the MAIN view itslef. So am calling the respective view based on some certain condition from MAIN view.
    Now my problem is, am using  check_mandatory_attr_on_view() method which is being called on SUBMIT action from MAIN view of WDDOBEFOREACTION. But it is not checking Required Fields from other views. It checks the Required Fields only in the MAIN view.
    I know that I want to call the reference of other views in MAIN view, but how can I do it?
    Please help me, as how I can check the Required fields on action of SUBMIT button in MAIN view for other views.
    BR,
    RAM.

    Hi,
    Though am in MAIN view, If i clicks the submit button it checks the Required fields on both MAIN and Sub views, where still I have not called the Sub view.
    If you didn't call the sub view, the WDDOINIT method of your sub view wouldn't have been triggered and so the sub view reference is not set in the component controller, isn't it.?
    OR you are calling sub view separately in the initial state and get the reference and then in your MAIN view calling the sub view based on condition in the View Container UI..?
    If so, create an attribute in your Main view (say sub_view_name of type string) and then use the below code to get the current sub view name and then pass the corresponding sub view reference:
    DATA:lr_view_controller    type ref to        IF_WD_VIEW_CONTROLLER,
           lr_main_view_usage  type ref to        IF_WD_RR_VIEW_USAGE.
           lr_vc_assignment      type ref to        IF_WD_RR_VIEW_CNT_ASSIGNMENT.
           lr_view_usage           type ref to        IF_WD_RR_VIEW_USAGE.
           lr_t_views                 type                WDRR_VCA_OBJECTS.
           lr_s_view                  like line of        lr_t_views.
           lr_view                     type ref to        if_wd_rr_view.    
          lr_view_controller = wd_this->wd_get_api( ).
        lr_main_view_usage = lr_view_controller->GET_VIEW_USAGE( ).
       lr_t_views  = lr_main_view_usage->GET_VIEW_CNT_ASSIGNMENTS( ). "This will return all the View Container assignments.
    * Now loop over all the View containers and get the reference of embedding view.
       loop at lr_t_views  into lr_s_view .
          lr_vc_assignment = lr_s_view-VIEW_CNT_ASSIGNMENT.
          lr_view_usage  = lr_vc_assignment->GET_DEFAULT_VIEW_USAGE( ). " This will return view usage reference
          lr_view = lr_view_usage->get_view( ). " This will have the meta info of view
          wd_this->sub_view_name = lr_view->get_name( ).   
       endloop.
    Now in onAction submit,
    CL_WD_DYNAMIC_TOOL=>CHECK_MANDATORY_ATTR_ON_VIEW(
                                  EXPORTING
                                   view_controller =  lr_view_controller " MAin view reference
    case wd_this->sub_view_name.
    when 'SUB_VIEW1'.
    CL_WD_DYNAMIC_TOOL=>CHECK_MANDATORY_ATTR_ON_VIEW(
                                  EXPORTING
                                   view_controller = wd_comp_controller->gr_emb_view1.
    when 'SUB_VIEW2'.
    CL_WD_DYNAMIC_TOOL=>CHECK_MANDATORY_ATTR_ON_VIEW(
                                  EXPORTING
                                   view_controller = wd_comp_controller->gr_emb_view2.
    Or, alternatively; create all the nodes(of sub views) in component controller, then map all those to MAIN view, then read the required node attributes and validate manually.
    hope this helps u,
    Regards,
    Kiran

  • Wiki Pages - Open Web Part Page in maintenance view

    I am trying add custom .aspx pages to a SharePoint 2010 Document Library.  When I try to edit properties for those pages, the edit page shows "Open Web Part Page in maintenance view to delete problem Web Parts and remove personal settings.
    Open Web Part Page in maintenance view."  I click Open Web Part Page in maintenance view
    The page displays
    The are currently no Web Parts associated with any Web Part Zones on this page.  Web Parts added to the page outside of a Web Part Zone will not appear in this list.
    I don't do anything with the maintenance view because there are no Web Parts to delete.
    As a test, I save the content of the custom.aspx page as a text file, custom.txt.  The edit properties displays just fine.
    Another test, I save the content as custom.htm.  The edit properties displays just fine.
    I try many variations of saving the content of custom.aspx with various html tags and even no tags at all.  One version just has the text,"test" in the page.  Save error:
    Open Web Part Page in maintenance view to delete problem Web Parts and remove personal settings.  Open Web Part Page in maintenance view." 
    Going down another path, I try to compare the source of this aspx page with other SharePoint aspx pages.  One test is the Wiki Page.  All Wiki pages display the same message on my farm.  Is this a known issue with Wiki Pages?
    <apparently I'm not allowed to add images yet>
    As another point of comparison I opened the Edit Properties part within an Office 365 Wiki.  Same message.
    <apparently I'm not allowed to add images yet>

    Hi Chris,
    As your description, when you uploaded a .aspx page into a library and edited the properties, the message "Open Web Part Page in maintenance view to delete problem Web Parts and remove personal settings.  Open Web Part Page in maintenance view"
    showed.
    I could reproduce this issue if I uploaded a .aspx page into a library and edited its properties.
    Then I went to Site Pages library, and select a page and edit its property, the same message also showed like the screenshot:
    It seems that the message will show when we edit the properties of a page no matter which library we upload it to, it seems to be by design.
    In addition, if you want to upload a image into the thread, you can first upload the image into OneDrive, then copy and paste the URL of the image here.
    Thanks,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • 3.6.14 cannot open ANY URL. Disabled all Firewalls. How can I get 3.6.13 download???????

    3.6.14 Firefox is BROKEN. Running MacOS 10.4.11. Updated this afternoon and after restart, I could not get Firefox to access ANY URL OR WEBSITE. I disabled and removed all the firewalls I know about and still get NO ACCESS to any web site.
    I WANT TO GET VERSION 3.6.13 back again since it worked this morning!!!!!!! How do I download 3.6.13??????????
    I've wasted too much time trying to get around this PROBLEM!!!!

    Uninstall SIMBL as follows. Back up all data before making any changes.
    Triple-click anywhere in the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination command-C:
    /Library
    In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V), and press return. A folder will open. From that folder, delete the items listed below (some may be absent.) You may be prompted for your administrator login password.
    Application Support/SIMBL
    InputManagers/SIMBL
    LaunchAgents/net.culater.SIMBL.Agent.plist
    ScriptingAdditions/SIMBL.osax
    Log out and log back in.
    Make sure you never reinstall SIMBL. It’s likely to come bundled with another third-party system modfication that depends on it. If you want trouble-free computing, avoid software that makes miraculous changes to other software, especially built-in applications. The only real exception to that rule is Safari extensions, which are mostly safe, and are easy to get rid of when they don’t work. SIMBL and its dependents are not Safari extensions.

Maybe you are looking for