How to set browser window title?

Hello..
Is there a way to change browser window title at runtime? I am using WD ABAP with FPM
Please suggest an API.
Thanks in Advance

Hi Hari,
For changing the application title you need to configure, which i assume u know and have configured.
now you can use the following code to change the title.
  DATA lo_idr TYPE REF TO if_fpm_idr.
get idr instance*
  lo_idr ?= cl_fpm_service_manager=>get_service( cl_fpm_service_manager=>gc_key_idr ).
  IF lo_idr IS NOT INITIAL.
    lo_idr->set_application_title(
      EXPORTING
        iv_title = lv_heading
        iv_title_tooltip = lv_heading ).
  ENDIF.
where lv_heading is the new heading.
for any other question on FPM post it in Floorplan Manager for WebDynpro Abap fourm
Hope this will help you.
Thanks & Regards,
Arvind

Similar Messages

  • How to set browser window title from FPM ?

    How do I set brwoser window title at runtime in FPM ?
    Using IDR area objetc I can set only apllication are(ident area) title, not the browser window title. Browser window title is set statically from iView name of in portal, and PFCG contect if in NWBC client.
    But in my case, I want to set it at runtime, for eg. in case of Purchase Order window, I want to set it as 'Purchase Order:<PO number>
    Is there any API to set this?
    Thanks again,
    Hari
    Edited by: Hari Krishnan P on Jun 9, 2010 10:22 AM

    When you call it as external window you may pass the title. other than that i am afraid you are left with no choice.

  • Set browser window title in template page

    Hi,
    How I can set the window title in template page ?
    I know how to do it in regular page:
    <af:document id="d1" title="Dashboard">
    But in template I don't have a document tag.
    so I added this before the <af:form> :
    <html>
    <head>
    <title> My title </title>
    </head>
    </html>
    But the problem is that I want to insert in the title something like that:
    title="#{generalPage.serverName}"
    Any ideas how can i do it ?
    Thanks

    You don't set the title in the template, you set the title in the page that is based on the template.
    There you will have the af:document tag.

  • How to set Terminal window title?

    No matter what I try the Terminal title stays the same.
    Here is the terminal settings window :
    Any suggestion?
    TIA

    Does anyone know how to set Terminal title from shell? It seems there is something that resets the title when the command (printf/echo) finishes and the next prompt appears.
    Thanks.

  • How to read browser(window) title in jsp?

    Hi,
    I need to read/find window title in my jsp code. Is there any method/way using which I can find window title?
    I can read it in javascript using window.document.title but as we know that we can not use javascript inside jsp, I am not able to use this method.
    Any help will be appriciated.
    Rohit

    Is your decision based upon the title of the page you are generating or the title of the page you have just come from?
    In either case, basing logic off of a window title sounds like a potential for trouble to me.
    If you want to make a decision, then send a parameter for the web application to react to.
    You can't get the window.title of the previous page.
    You are generating the current page, so you should already KNOW what the title of that page is right? You just printed it!
    Potential alternatives which are roughly equivalent:
    request.getHeader("referer") gets the url of the page that sent you to this one
    request.getRequestURI gets the jsp being currently executed.
    request.getAttribute("javax.servlet.forward.request_uri") will get you the original uri that was requested (assuming the page has been forwarded)
    Cheers,
    evnafets

  • How to set a window title...

    Let me start with the basics:
    If you create an extension, the Stage Manager will create the container for you and load the swf into the container. This container can be one of three types: Panel, Model Dialog, or Modeless Dialog. Any one of these containers have titles. The StageManager will create a title with the menu name you provide.
    So far so good.
    If you do not provide a menu name (so it shold not appear in the menu, the StageManager will create a title which appears to be either the exention id or the package id (depending on the app).
    Not so good, but let's continue:
    If you have an extension load a Window, you can set the title of the Window using the Window's title property.
    Good.
    This all basically amounts to: if you want to open a window and set its title, you are really better off using Windows rather than separate extensions.
    Not ideal, but mostly workable.
    Now for the problem:
    Fireworks opens new windows INSIDE THE MAIN PANEL!!! When you close this window, it closes the panel as well, and the panel is inaccessible until the next launch of the app. This is obviously a bug... Fireworks appears to only support panels and not model or modelless dialogs.
    I am trying to work around this issue by making my dialog its own extension. This solves the problem of Fireworks opening it within the main panel. However, I do not want my sub-extension to appear in the menus, so I do not want to give it a menu name. I do however, want to set the title of the window.
    What to do???
    Harbs

    I worked out a hack to (sort of) get around this issue:
                private function preinit():void{
                    Object(this.parent.parent.parent.parent).title = "I really should not need to make the title like this!!!";
    Is there a better workaround?
    Harbs

  • How to html edit/ enter browser-window-title

    how to html edit/ enter browser-window-title?
    harpo

    I think this is what you mean any way hope it helps.
    open the .html file in text edit for the page you want to change. then look for
    <title>whatever your title is</title>
    and just change the text whatever your title is for whatever you want. the line of code is located at the top of the page under the line that reads
    <meta name="Generator" content="iWeb 1.1.2" />
    not sure if this was the answer to your question but i hope its helped.
    steve

  • Need to Remove the tabs group Title from browser window title

    When I use a saved tab group, which means I named that tab group in FF 5,''' the name of the tab group appears at the top of the browser along with the title of the web page I am viewing'''. Not good, I need to remove that tab group title from the browser window title, so I am only seeing the title of the webpage, and nothing from the tab group. How do I do that?
    thanks
    JSC

    You can add the site to the Pop-up Blocker Exceptions list in Options > Content > Block Pop-up Windows > Exceptions
    *See --> [https://support.mozilla.com/en-US/kb/Pop-up%20blocker#w_pop-up-blocker-settings Pop-up blocker-Pop-up blocker settings]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Configuring the browser window title for an iWeb-created page?

    Hello all,
    How do you customize the text that appears in the browser window's title for an iWeb-created page? (e.g., at the top of the browser window where it says "Apple - Support - Discussions - etc."). I had assumed that the the name I designated for the page via the Inspector would be used as the browser window title, but instead iWeb is using the first line of text within the page itself.
    Thanks!

    You can do it with a HTML snippet with the following code:
    <script type='text/javascript'>
    parent.document.title = "name you want to appear at the top of the window";
    </script>
    It takes about a second or two to replace the original text as can be seen in this test page.
    Put the snippet box off somewhere where it won't overlap on any other element. It is invisible on the web page and in iWeb until you click on it. I had to do a Select All to find it just now to get the code.
    OT

  • How to Change the Windows Title in EP7.0

    Hi
    Can anyone provide some pointers on how to change the windows title bar in EP 6.0
    We would like to remove the words "SAP Netweaver Portal" from the title.
    I have found OSS note  695903 however this refers to EP6.0
    Thanks in advance.
    Ian

    Hi,
    For people who have no access to the note, here are the steps involved. The same steps are listed in the note :
    1) Logon to your portal with your user who has super_admin role.
    2) Go to the System Administration tab -> System Configuration tab.
    3) Go to the Service Configuration -> Central Configuration.
    4) Change the portal.html.head.title part. Do no forget to save the changes you made.
    5) Restart the j2ee server to be able to see the changes on the portal
    Cheers,
    Sunil

  • How to set a Caption/title in ALv

    Hi frnds,
    Can you tell me how to set a caption/title to a ALV grid.
    Regards
    Anuj

    hi
    try like this
    DATA: i_title_kna1 TYPE lvc_title VALUE 'FIRST LIST DISPLAYED',
          i_title_vbak TYPE lvc_title VALUE 'SECOND LIST DISPLAYED'.
    populate additional paramete as follows.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
         i_callback_program                = sy-repid
       i_callback_pf_status_set          = 'PF_STATUS_SET'
         i_callback_user_command           = 'USER_COMMAND'
       i_callback_top_of_page            = 'TOP-OF-PAGE'
         i_grid_title                      = i_title_kna1
         is_layout                         = wa_layout
         it_fieldcat                       = it_fieldcat
       it_events                         = it_events
        TABLES
          t_outtab                          = it_kna1.
    or if you want top of page
    populate the events table and use alv_commentary_write
      wa_listheader-typ = 'H'.
      wa_listheader-info = 'Customer Details'.
      APPEND wa_listheader TO it_listheader.
      CLEAR wa_listheader.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary       = it_listheader
          i_logo                   = 'EDSLOGO'
      I_END_OF_LIST_GRID       =
      I_ALV_FORM               =
      REFRESH it_listheader.
    try the below code u will get a clear picture
    report zalv no standard page heading.
    TYPE-POOLS : slis.
    TABLES: kna1.
    TYPES : BEGIN OF ty_kna1 ,
            kunnr LIKE kna1-kunnr,
            name1 LIKE kna1-name1,
            land1 LIKE kna1-land1,
            END OF ty_kna1.
    DATA: it_kna1 TYPE TABLE OF ty_kna1.
    DATA : it_fieldcat TYPE slis_t_fieldcat_alv,
           wa_fieldcat TYPE slis_fieldcat_alv.
    DATA : wa_layout TYPE slis_layout_alv .
    DATA : it_events TYPE  slis_t_event ,
           wa_events TYPE slis_alv_event.
    DATA : it_listheader TYPE slis_t_listheader,
           wa_listheader TYPE slis_listheader,
           it1_listheader TYPE slis_t_listheader,
           wa1_listheader TYPE slis_listheader.
    DATA: i_title_kna1 TYPE lvc_title VALUE 'FIRST LIST DISPLAYED'.
    INITIALIZATION.
      PERFORM getevents using it_events.
      PERFORM desinlayout.
    START-OF-SELECTION.
      PERFORM desinfieldcat.
      PERFORM datafetching.
      PERFORM display.
    *&      Form  desinfieldcat
          text
    -->  p1        text
    <--  p2        text
    FORM desinfieldcat .
    wa_fieldcat-row_pos = 1.
      wa_fieldcat-col_pos = 1.
      wa_fieldcat-fieldname = 'KUNNR'.
      wa_fieldcat-seltext_l = 'Cust Num'.
      wa_fieldcat-datatype = 'CHAR'.
      wa_fieldcat-outputlen = 10.
      wa_fieldcat-tabname = 'IT_KNA1'.
      wa_fieldcat-key = 'X'.
    wa_fieldcat-hotspot = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
    wa_fieldcat-row_pos = 2.
      wa_fieldcat-col_pos = 2.
      wa_fieldcat-fieldname = 'NAME1'.
      wa_fieldcat-seltext_l = 'Name'.
      wa_fieldcat-datatype = 'CHAR'.
      wa_fieldcat-outputlen = 35.
      wa_fieldcat-tabname = 'IT_KNA1'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
    wa_fieldcat-row_pos = 3.
      wa_fieldcat-col_pos = 3.
      wa_fieldcat-fieldname = 'LAND1'.
      wa_fieldcat-seltext_l = 'Country'.
      wa_fieldcat-datatype = 'CHAR'.
      wa_fieldcat-outputlen = 10.
      wa_fieldcat-tabname = 'IT_KNA1'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
    ENDFORM.                    " desinfieldcat
    *&      Form  datafetching
          text
    -->  p1        text
    <--  p2        text
    FORM datafetching .
      SELECT kunnr name1 land1
             FROM kna1
             INTO TABLE it_kna1
             UP TO 30 ROWS.
    ENDFORM.                    " datafetching
    *&      Form  display
          text
    -->  p1        text
    <--  p2        text
    FORM display .
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
         i_callback_program                = sy-repid
       I_GRID_TITLE                      = i_title_kna1
         is_layout                         = wa_layout
         it_fieldcat                       = it_fieldcat
       it_events                         = it_events
        TABLES
          t_outtab                          = it_kna1.
    ENDFORM.                    " display
    *&      Form  desinlayout
          text
    -->  p1        text
    <--  p2        text
    FORM desinlayout .
      wa_layout-zebra = 'X'.
      wa_layout-colwidth_optimize = 'X'.
    *wa_layout-edit = 'X'.
    ENDFORM.                    " desinlayout
    *&      Form  getevents
          text
    -->  p1        text
    <--  p2        text
    FORM getevents using p_it_events type slis_t_event.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
         I_LIST_TYPE           = 0
      IMPORTING
         et_events             = p_it_events
       EXCEPTIONS
         list_type_wrong       = 1
         OTHERS                = 2
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    READ TABLE p_it_events INTO wa_events WITH KEY name = 'TOP_OF_PAGE'.
      wa_events-form = 'TOP_OF_PAGE'.
      MODIFY it_events FROM wa_events TRANSPORTING form WHERE name = wa_events-name.
    ENDFORM.                    " getevents
    *&      Form  populatevents
          text
    -->  p1        text
    <--  p2        text
    FORM populatevents .
      READ TABLE it_events INTO wa_events WITH KEY name = 'TOP_OF_PAGE'.
      wa_events-form = 'TOP_OF_PAGE'.
      MODIFY it_events FROM wa_events TRANSPORTING form WHERE name = wa_events-name.
    ENDFORM.                    " populatevents
    *&      Form  top-of-page
          text
    FORM TOP_OF_PAGE.
      wa_listheader-typ = 'H'.
      wa_listheader-info = 'Customer Details'.
      APPEND wa_listheader TO it_listheader.
      CLEAR wa_listheader.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary       = it_listheader
          i_logo                   = 'EDSLOGO'
      REFRESH it_listheader.
    ENDFORM.                    "top-of-page
    REWARD IF HELPFUL
    PRASANTH

  • Changing the text "SAP Enterprise Portal 6.0" in the browser window title

    Hi,
    I want to change the standard browser window title from "SAP Enterprise Portal 6.0" to my clients company name.
    Has anyone done this before?
    Please help.
    Thanks in advance
    Padmamr

    Hi,
    To change the name of the browser:
    System Administration > System Configuration > Service Configuration > Portal Runtime > Central Configuration.
    Scroll down to: portal.html.head.title
    and change to required name of your company.
    Also, if you goto System Administration > System Configuration > UM Configuration > Direct Editing.
    Here you will find a host of UME controls for logging on and logging off the Portal. You can change images etc... from here.
    Remember to restart the Portal and components for changes to take affect.
    Cheers

  • How to change the Window Title on a per build spec basis?

    I would like to be able to make 4 "build specificiations" against the same Startup-VI and be able to have the Window Title different in each of the output executables.   I know how to change the Window Title for the VI itself, but for some reason, I don't see the ability to override this information in Source File Settings --> Customize VI Properties dialog of the build specification.    Is there perhaps a way to do this programattically with VI server?  Perhaps there is a way I can define a unique symbol on each of the build specs and then do a case statement in code to determine which title to display based on the symbol that was defined?
    Thanks,

    You can use the appropriately named Window Title property. In your project you can define conditional disable symbols (right-click on the project node and select Properties) and then use a conditional disable structure in your code. However, these symbols apply to the entire project, not to a specific executable. Thus, a better route would be to use the executable name (also accessible via a property), if possible, or some other distinction between the executables. What makes the executables different?

  • Dynamic browser window title

    Dear all
    In my Forms10g deployment, I have a unique browser window title for each separate form (i.e. one value of pagetitle per form in formsweb.cfg).
    If form A calls form B, and then control returns to form A, is it possible to dynamically alter the browser window title, perhaps by referring to the called form's entry in formsweb.cfg?
    Many thanks in advance.

    Check out webutil for this.
    Regards
    Grant Ronald
    Forms Product Management

  • Change a browser window title

    How do I add/change a browser window page title using iWeb?

    iWeb uses the textbox in the Header layer of an iWeb page as the title in the browserwindow.
    If the textbox in the Header is missing, iWeb uses a textbox down the page in the Content layer.
    If that textbox is also missing, it uses another textbox.
    If that fails it uses the pagename in the Sidebar.
    To replace a missing textbox in the Header, choose another theme and then change it back to the original one.
    Sometimes you may want a different text in the titlebar and not display it on the page itself. Or not display it at all.
    So use that textbox in the Header layer.
    Type your text.
    Do Command-T to open the font palette and make the font smaller (Or do Command--(minus)).
    Then select the textbox.
    In the Inspector choose T, click a color to open the color palette and drag the opacity slider to 0 (zero).
    Resize the textbox. You may want to change the height of the Header layer.
    Do Command-Shift-B to move the textbox to the back, possibly behind other objects.
    Next add a optional second textbox to the Header layer and use that one to display text on the page.
    If you want to move the textbox to the front again to make changes, but can't remember the location on the page, drag the area with the mouse to select the objects.
    Deselect objects you do not want to move forward by Command-dragging  the mouse over these objects.
    Next do Command-Shift-F to move the textbox to the front. Repeat the steps in reverse order to make the text visible.
    And here's a movie that show how to partially hide the title :
    http://www.wyodor.net/_Movies/SetWebpageTitle.html

Maybe you are looking for