Custom DHTML Menu/SubMenu

I need some information:
Is there a way to create a jsp portal page, as I do see an option of JSP but it really doesn't do anything.
How can I create DHTML Menus/SubMenus and control an access to each menu/submenu i.e. based on a user roles show some and hide rest. Is there a functionality in portal that will allow me to do that. Basically I want to have my NavigationPage that contains menu/submenus with access controll. Can I have a Java Portlet that acts as a navigation page. Any documentation on that is really appreciated.
Thanks

The menu provider from portaltown.com is a Java provider that uses the Oracle JPDK to build the DHTML Menu. It uses the Oracle Java Provider Developer Kit (JPDK), JNDI to connect to OID and a Database Schema to dynamically create the html and DHTML. The JPDK is supported on the 10g version of portal.

Similar Messages

  • Bug or Feature? Array Custom Contextual Menu Destroys "Delete" and "Insert" Element!

    Step to Reproduce:
    - Create an Array (doesn't matter of what type).
    - Ctrl-M (to switch to Run Mode)
    - Notice that:
           - when you Right-Click on the Array borders, you have access to an "Empty Array" menu item among other things
           - when you Right-Click in an Array element, you have access to an "Insert Element Before" and a "Delete Element" menu item among other things
    - Now switch back to Edit Mode and modify the contextual menu in the following way:
            - Advanced>>Run-Time Shortcut Menu>>Edit...
            - Edit>>Copy Entire Menu
            - Switch to "Custom" menu (instead of "Default"): the menu disappears and is replaced by a single ??? item
            - Edit>>Paste: The default menu reappears with the ??? on top
            - Create you favorite custom menu item by editing the ??? item (say: Do Nothing)
    - Save the menu with the control and switch to Run Mode (Ctrl-M).
    - Now try the first 3 steps above: wherever you right-click, you have access to the Custom Menu, but the Array Element contextual menu is GONE.
    In other words, you cannot (it seems) define a custom contextual menu for an array without destroying the default contextual menu for its elements.
    Therefore, if you want to preserve the ability to Insert and Delete Elements in an array, you have to add these two items to the Array contextual menu and juggle with the position of the right-click to figure out whether or not to display them...

    Well, I created in LabVIEW 2012 such a control and added part of the default menu in the way you described with copy-paste as a submenu to an Edit entry in my custom menu and it did not disappear:
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to close DHTML menu when mouse is not over it.

    I took the standard DHTML menu from theme 4 and changed it a bit.Basically I removed the onclick event that makes the submenu show and put in onmouseover events so that the submenu shows automatically.
    Now it works like this:
    http://apex.oracle.com/pls/otn/f?p=15341
    (just enter a string to get in)
    Problem with this is that the submenu stays open until you click somewhere else. I want it to close automatically as soon as the mouse leaves any part of the menu.
    I guess I need to put together some code that gets executed in an onmouseover event on anything except part of the menu and that calls the app_AppMenuMultiClose() function. But I don't know how to do this.
    Any help would be appreciated
    Rene

    Rene,
    I haven't played around with DHTML for a while and I don't have the tools on this PC to test this easily, but as I remember, if you add the mouseover AND mouseout events to the top menu item AND all drop-down menu items (I believe they're list items in your case) they cancel themselves out.
    For example if you move the mouse down from the first item to the second, the mouseout on the first item will hide the menu but the mouseover on the second will unhide it at the same time so there appears to be no change (as long as you don't have margins). If the user moves the mouse down off the last item the mouseout hides the menu and nothing unhides it so the menu disappears as you'd expect.
    I hope that helps.

  • Error while creating iViews after implementing custom hover menu in NW 7.3

    Dear Experts,
    We recently implemented a customized hover menu in Portal 7.3. Since then while creating an iView we are getting the following error :
    java.net.MalformedURLException: Illegal character in query at index 1023: /irj/servlet/prt/portal/prtroot/com.sap.portal.pagebuilder.IviewModeProxy?iview_id=pcd%3Aportal_content%2Fcom.sap.pct%2Fadmin.templates%2Fiviews%2Fcom.sap.portal.adminStudioRedirector&iview_mode=default&isEmbedded=false&workUnitIndex=0&oClass=com.sapportals.portal.iview&PagePath=pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.content_administration/com.sap.portal.content_admin_ws/com.sap.portal.wd_portal_content&SerWinIdString=&tabID=Tab054b1825_40f6_11e1_8169_00000ace34a2&workUnit=pcd%3Aportal_content%2Fcom.sap.pct%2Fadmin.templates%2Fiviews%2Feditors%2Fcom.sap.portal.appintegratorWizard&com.sap.portal.reserved.cnfgurl=pcd%3Aportal_content%2Fadministrator%2Fsuper_admin%2Fsuper_admin_role%2Fcom.sap.portal.content_administration%2Fcom.sap.portal.content_admin_ws%2Fcom.sap.portal.wd_portal_content%2Fcom.sap.portal.admin.studio.configuration&ComponentType=com.sapportals.portal.iview&NavigationTarget=navurl://e9d5d97dd3e55c9763a4973a016a3cc6&where=pcd%3Aportal_content&TarTitle=Portal Content Management&NavMode=0&sessionID=1326796101929&PrevNavTarget=navurl://032ac1f471768f5a16cac8e152546fd3&objectID=pcd%3Aportal_content&HistoryMode=1&com.sap.portal.reserved.wd.pb.restart=false&what=portal_content/templates/iviews/sap_bi7x_report_iview&workUnitUniqueId=054b1824-40f6-11e1-81f7-00000ace34a2&editorID=Tab054b1825_40f6_11e1_8169_00000ace34a2&displayName=New+iView&ClientWindowID=WID1326795999656
    The error persists for all iView templates. Please provide your inputs.
    Best Regards
    Gaurang Dayal

    Hi Gaurang Dayal,
    The problematic part is the (first) space character within the parameter
    TarTitle=Portal Content Management
    You'd have to examine why this is not escaped.
    Hope it helps
    Detlev

  • Creation of Custom context menu in CL_GUI_TEXTEDIT

    Hello all,
    I need to develop a custom context menu in the Text Editor.
    I am using the <b>CONTEXT_MENU</b> event of the class
    <b>CL_GUI_TEXTEDIT </b>for the same.
    It is giving a short dump with an exception 'empty_obj' in the method
    <b>CL_CTXMNU_MGR=>CREATE_PROXY</b>.
    Please help.

    Hello Tejas
    The following sample report ZUS_SDN_TEXTEDIT_CTXMENU shows how to trigger context menus in text editor. Please note that the editor must be set <b>enabled</b>.
    If you inactivate subroutine <b>SET_REGISTERED_EVENTS</b> the new context menu function will no be displayed. Thus you need to <b>register</b> the event for context menu handling.
    *& Report  ZUS_SDN_TEXTEDIT_CTXMENU
    *& Flow logic of screen 100.
    *      PROCESS BEFORE OUTPUT.
    *       MODULE STATUS_0100.
    *      PROCESS AFTER INPUT.
    *       MODULE USER_COMMAND_0100.
    REPORT  ZUS_SDN_TEXTEDIT_CTXMENU.
    TYPE-POOLS: cntl.  " Types for Controls
    DATA:
      gd_okcode      TYPE ui_func,
      go_docking     TYPE REF TO cl_gui_docking_container,
      go_textedit    TYPE REF TO cl_gui_textedit,
      gd_name        TYPE thead-tdname,
      gs_header      TYPE thead,
      gd_langu       TYPE thead-tdspras,
      gt_lines       TYPE STANDARD TABLE OF tline.
    *       CLASS lcl_eventhandler DEFINITION
    CLASS lcl_eventhandler DEFINITION.
      PUBLIC SECTION.
        CLASS-METHODS:
          handle_context_menu
            FOR EVENT context_menu OF cl_gui_textedit
              IMPORTING
                menu
                sender,
          handle_ctxmenu_selected
            FOR EVENT context_menu_selected OF cl_gui_textedit
              IMPORTING
                fcode
                sender.
    ENDCLASS.                    "lcl_eventhandler DEFINITION
    *       CLASS lcl_eventhandler IMPLEMENTATION
    CLASS lcl_eventhandler IMPLEMENTATION.
      METHOD handle_context_menu.
        CALL METHOD menu->add_function
          EXPORTING
            fcode       = 'MY_FUNC'
            text        = 'My Function'
    *        ICON        =
    *        FTYPE       =
    *        DISABLED    =
    *        HIDDEN      =
    *        CHECKED     =
    *        ACCELERATOR =
      ENDMETHOD.                    "handle_context_menu
      METHOD handle_ctxmenu_selected.
        CASE fcode.
          WHEN 'MY_FUNC'.
            MESSAGE 'My function selected from ctxmenu' TYPE 'I'.
          WHEN OTHERS.
        ENDCASE.
      ENDMETHOD.                    "handle_ctxmenu_selected
    ENDCLASS.                    "lcl_eventhandler IMPLEMENTATION
    PARAMETERS:
      p_pspnr    TYPE prps-pspnr.
    START-OF-SELECTION.
    * Get the text object
      gs_header-tdid = 'LTXT'.  " long text
      gs_header-tdspras = syst-langu.
      CONCATENATE syst-langu p_pspnr
          INTO gs_header-tdname.
      gs_header-tdobject = 'PMS'.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
    *     CLIENT                        = SY-MANDT
          id                            = gs_header-tdid
          language                      = gs_header-tdspras
          name                          = gs_header-tdname
          object                        = gs_header-tdobject
    *     ARCHIVE_HANDLE                = 0
    *     LOCAL_CAT                     = ' '
    *   IMPORTING
    *     HEADER                        =
        TABLES
          lines                         = gt_lines
        EXCEPTIONS
          id                            = 1
          language                      = 2
          name                          = 3
          not_found                     = 4
          object                        = 5
          reference_check               = 6
          wrong_access_to_archive       = 7
          OTHERS                        = 8.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL SCREEN '0100'.
    END-OF-SELECTION.
    *&      Form  SET_REGISTERED_EVENTS
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM
    set_registered_events .
    * define local data
      DATA:
        lt_events      TYPE cntl_simple_events,
        ls_event       TYPE cntl_simple_event.
      TYPES: BEGIN OF cntl_simple_event,
           eventid TYPE i,
           appl_event TYPE c,
         END OF cntl_simple_event.
      ls_event-eventid = cl_gui_textedit=>event_context_menu.
      APPEND ls_event TO lt_events.
      ls_event-eventid = cl_gui_textedit=>event_context_menu_selected.
      APPEND ls_event TO lt_events.
      CALL METHOD go_textedit->set_registered_events
        EXPORTING
          events                    = lt_events
        EXCEPTIONS
          cntl_error                = 1
          cntl_system_error         = 2
          illegal_event_combination = 3
          OTHERS                    = 4.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " SET_REGISTERED_EVENTS
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'MAIN_0100'.
    *  SET TITLEBAR 'xxx'.
      CLEAR: gd_okcode.
      IF ( go_textedit IS NOT BOUND ).
        CREATE OBJECT go_docking
           EXPORTING
             parent                      = cl_gui_container=>screen0
    *        REPID                       =
    *        DYNNR                       =
    *        SIDE                        = DOCK_AT_LEFT
    *        EXTENSION                   = 50
    *        STYLE                       =
    *        LIFETIME                    = lifetime_default
    *        CAPTION                     =
    *        METRIC                      = 0
            ratio                       = 90
    *        NO_AUTODEF_PROGID_DYNNR     =
    *        NAME                        =
          EXCEPTIONS
            cntl_error                  = 1
            cntl_system_error           = 2
            create_error                = 3
            lifetime_error              = 4
            lifetime_dynpro_dynpro_link = 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.
        CREATE OBJECT go_textedit
          EXPORTING
    *        MAX_NUMBER_CHARS       =
    *        STYLE                  = 0
            wordwrap_mode          =
                c_textedit_control=>wordwrap_at_windowborder
    *        WORDWRAP_POSITION      =
            wordwrap_to_linebreak_mode =
               c_textedit_control=>true
    *        FILEDROP_MODE          = DROPFILE_EVENT_OFF
            parent                 = go_docking
    *        LIFETIME               =
    *        NAME                   =
          EXCEPTIONS
            error_cntl_create      = 1
            error_cntl_init        = 2
            error_cntl_link        = 3
            error_dp_create        = 4
            gui_type_not_supported = 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.
        CALL METHOD go_textedit->set_text_as_r3table
          EXPORTING
            table           = gt_lines
          EXCEPTIONS
            error_dp        = 1
            error_dp_create = 2
            OTHERS          = 3.
        IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        CALL METHOD go_textedit->set_enable
          EXPORTING
            enable            = cl_gui_cfw=>true
          EXCEPTIONS
            cntl_error        = 1
            cntl_system_error = 2
            OTHERS            = 3.
        IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      PERFORM set_registered_events.
      SET HANDLER:
        lcl_eventhandler=>handle_context_menu     FOR go_textedit,
        lcl_eventhandler=>handle_ctxmenu_selected FOR go_textedit.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE user_command_0100 INPUT.
      CASE gd_okcode.
        WHEN 'BACK'  OR
             'EXIT'  OR
             'CANC'.
          SET SCREEN 0. LEAVE SCREEN.
        WHEN OTHERS.
      ENDCASE.
      CLEAR: gd_okcode.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    Regards
      Uwe

  • Interactive Report - Add a 'custom' Action Menu Item

    Hi,
    I'm wondering if it is possible to add 'custom' Action menu items to an interactive report?
    I have a situation where I want to use all the richness that an interactive report gives with it's out of the box functionality, then if a download is selected I need to be able to set a 'lock' on the currently selected records set before the records are downloaded.
    I've had a good look around the forum and various other sites and I can't seem to find anything in this area. The nearest I can find is on the OBD tutorials the ability to add a 'Reset' button.
    I know how to create custom download functionality, to which I could add the required record locking functionality and in turn link to a button, but what I don't know how to do is pull out the selection variables from the Interactive Report in order to construct my select query.
    Maybe I'm barking up the wrong tree and there's a better way if so any suggestions would be most welcome.
    Many thanks in advance Peter..
    Edited by: Pete on Jun 30, 2011 4:16 PM
    Edited by: Pete on Jun 30, 2011 4:24 PM
    Edited by: Pete on Jun 30, 2011 4:31 PM

    Hi,
    For your issue, in SharePoint Designer, Click Custom Action->View Ribbon->Create Custom Action.
    Then the extra form will show up in the Ribbon.
    Refer to the following link:
    http://www.abelsolutions.com/totm/creating-a-custom-action-in-2-steps-with-sharepoint-designer/
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • DHTML Menu - Problem with Translation

    I have the DHTML menu installed within portal and have just added a "French" Translation to a few of my page groups. When I flip over to French using the "Set Language" portlet, the menus no longer show up.
    In addition, when I edit the menu, none of my page groups are there to select as the basis for my menu.
    Is there any way to make the menu compatible with Portal's Translation function? Has anyone else encountered this problem?

    Hi there
    I'm getting the same problem. I'm trying to add Portuguese translation and the dhtml menu simply disappears.
    How can i solve this problem?
    I don't think it is a issue with the code because it works fine for both languages in another page group.
    Can anyone help please?
    Regards,
    Sonia

  • Any way to link a controls' custom shortcut menu to a new .rtm file?

    My project programmatically generates controls from a template. The template has a custom shortcut menu that is saved in the project directory, and the generated controls all work fine with this. However, now I need to be able to export the project to other directories/machines, and so now the generated controls can no longer 'find' the .rtm shortcut file, despite it being in the same folder as the control. This means if I want to be able to use the menu I have to open every generated control (which there can be hundreds of) and right-click -> advanced -> run-time shortcut menu -> and then reopen the file. 
    Is there any way to programmatically link a controls' shortcut menu to a new .rtm file, or is there any way to set a controls' custom shortcut file as a relative path instead of an absolute one?
    Cheers

    Many people can solve their problems with the 20 page limit using custom components. You should check out this thread
    http://forums.adobe.com/message/2500263#2500263
    It is possible to use the onClick -> go to State and set states on a custom component or any of its subcomponents.
    Catalyst does not currently support linking to a local files.
    -Bear

  • How to Get List Item in Custom Context Menu?

    Hi,
    I got this code from the net.
    <CustomAction Id="SPTest.CustomMenuItem.ButtonClicked"
    RegistrationType="ContentType"
    RegistrationId="0x0101"
    Location="EditControlBlock"
    ImageUrl="/_layouts/IMAGES/DOCLINK.GIF"
    Sequence="600"
    Title="Click Me!"
    Description="Shows an alert message for this content type."
    >
    <UrlAction Url="javascript:alert('Hello World!');" />
    </CustomAction>
    It creates a custom context menu. How can i get the selected item using that code..
    Sorry for the tons of question. SharePoint newbie here (5 weeks in SP), Hehhehe!

    If you can redirect your request on context.....you can try this line of code
    <UrlActionUrl=”~site/_layouts/ItemAudit.aspx?ID={ItemId}&amp;List={ListId}”/>
    The Idea is to send in query string parameter and get the ItemID in the Pageload Event of the page you want to redirect to.
    Other tokens that are available
    Token
    Replaced By
    ~site/
    SPContext.Current.Web.ServerRelativeUrl
    ~sitecollection/
    SPContext.Current.Site.ServerRelativeUrl
    {ItemId}
    item.ID.ToString()
    {ItemUrl}
    item.Url
    {SiteUrl}
    web.Url
    {ListId}
    list.ID.ToString(“B”)
    {RecurrenceId}
    item.RecurrenceID
    Srikant N , MCPD SharePoint Developer 2010

  • How can i create menu & submenu dynamically in JSF?

    Please tell me how can i generate menu & submenu in JSF using database or dynamically.

    Stephen,
    Check this page out for some elementaries on dynamic pages in UIX. The LOV is essentially just like any other UIX page, with the two differences: it's launched and submitted differently. But these differences don't affect what content is displayed on the page.
    Dynamic Structure in ADF UIX Pages:
    http://helponline.oracle.com/jdeveloper/help/state/content/navSetId.jdeveloper/navId.4/vtAnchor.ChildData/vtTopicFile.jdeveloper%7Cuixhelp%7Cuixdevguide%7Cdynamic%7Ehtml/

  • Elements of the menu in " DHTML Menu with Sublist 2 " too quickly disappear

    Elements of the menu in " DHTML Menu with Sublist 2 " too quickly disappear at navigation.
    Where is better to insert a delay? Give an example a code.

    Hello,
    Can you put an example up on apex.oracle.com. The should act like a normal desktop application menu they are visible till you click somewhere else in the page.
    If you are seeing something else then there is an issue. The built in menu's do not have a delay option in them , where you click and it disappear 2 seconds later, though I'm not sure why someone would want that.
    Carl

  • Can I create a custom DVD menu in Premiere Pro 2.0?

    I like the templates I have, but is there a way I can create a custom DVD menu in PP 2.0?

    I would also suggest using the same general naming conventions for your Main and Scene Selection Menus. Names, like this: NTSC_abstract_s_mm.psd and NTSC_abstract_s_sm.psd. In this case, I would change the word "abstract" to indicate your Project, or similar.
    Also, in PrPro 2.0, your Menus will be in Adobe Premiere Pro 2.0\DVD Templates\[Your New Folder].
    Good luck,
    Hunt

  • How to implemenet "Edit in Browser" and "View in Browser" in custom ECB Menu

    Hi,
    i have build a custom ECB menu. I implemented for example "Edit in Microsoft xxx" Item successfully.
    setDocType();
    if (currentItemAppName != "" && currentItemOpenControl != "") {
    strDisplayText = "";
    if (currentItemAppName != " ")
    strDisplayText = StBuildParam(L_EditIn_Text, currentItemAppName);
    else {
    var objEditor = StsOpenEnsureEx2(currentItemOpenControl + ".3");
    if (objEditor != null)
    strDisplayText = L_EditInApplication_Text;
    if (strDisplayText != "") {
    strAction = "editDocumentWithProgID2('" + currentItemFileUrl + "', '" + currentItemProgId + "', 'SharePoint.OpenDocuments', '0', '" + ctx.HttpRoot + "', '0')";
    strImagePath = ctx.imagesPath + currentItemIcon;
    CAMOpt(m, strDisplayText, strAction, strImagePath, null, 260);
    CAMSep(m);
    But i couldnt find any information to "Edit in Browser" and "View in Browser". I also look in the core.js and couldnt find any information about this.
    Can someone help? How could i
    implemenet "Edit in Browser" and "View in Browser" in my custom ECB Menu?
    Best Regards
    Bog
    Developers Field Notes | www.bog1.de

    Hi,
    According to your post, my understanding is that you wanted to custom the “View in Browser” and “Edit in Browser” with ECB menu.
    Per my knowledge, the view in browser and edit in browser use the STSNavigate method to navigate the page.
    The URL would like below.
    Edit in Browser:
    http://YourServerName/sites/YourSiteName/_layouts/WordEditor.aspx?id=/sites/YourSIteName/YourLibraryName/YourFileName
    View in Browser:
    http://YourServerName/sites/YourSiteName/_layouts/WordViewer.aspx?id=/sites/YourSIteName/YourLibraryName/YourFileName
    We can get the file name, then use following method to customize the view in browser or edit in browser.
    function Custom_AddDocLibMenuItems(m, ctx) {
    CAMOpt(m, 'Custom Edit In Browser', 'javascript:STSNavigate(siteurl+"_layouts/WordEditor.aspx?id="+currentItemFileUrl)');
    CAMSep(m);
    </script>
    http://weblogs.asp.net/jan/customizing-the-sharepoint-ecb-with-javascript-part-1
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Custom Ribbon Menu in MS Project Professional 2013

    Hi all,
    I want to create a custom ribbon menu in MS Project Professional 2013 but I am not sure how to save it as a template and apply it enterprise wide.
    Or is it something that needs to be packaged?
    Thanks!
    SJ

    Apologies for the delay. To get this working in VBA you need to construct a Ribbon XML format version of the menu as you want it. I've copied an example below, but there is a
    Microsoft page with information on how the schema works. Key lessons I've learnt are that:
    button id and group id values - doesn't seem to matter what they are, but they must be unique
    imageMSOs - for the gallery of images that you can choose from is published by Microsoft
    here. I found various pages that described how to add custom images to the ribbon in Excel, but I never managed to get them to work for me, so just stuck with the images in this file.
    Don't expect any meaningful error messages if you make mistakes in the XML - it just won't appear. I found putting the value of the string into an XML editor was useful for highlighting some errors.
    The ribbon menu is actually applied to projects rather than the application, so if you don't have any projects open, then the ribbon menu won't appear.
    Here's my example, which adds a "New Menu" tab to the ribbon, with a couple of buttons to launch macros. This can just be added to a new module in your global file.
    '===========================================================================
    ' Developed by A Simpson, 27 November 2013
    '===========================================================================
    Public Sub evst_AddCustomRibbon()
    Dim customUiXml As String
    Dim pj As Project
    customUiXml = "<mso:customUI xmlns:mso=""http://schemas.microsoft.com/office/2009/07/customui"" loadImage=""LoadImage"" >" _
    & "<mso:ribbon><mso:tabs><mso:tab id=""evst"" label=""New Menu"">"
    customUiXml = customUiXml _
    & "<mso:group id=""group0"" label=""Reporting"">" _
    & "<mso:button id=""button0-1"" label=""Task Usage+"" size=""large"" " _
    & "imageMso=""TaskUsageViewGallery"" onAction=""Macro1"" " _
    & "supertip=""Gives a report of the projected expenditure on the project.""/>" _
    & "<mso:button id=""button0-2"" label=""Resource Usage+"" size=""large"" " _
    & "imageMso=""ResourceAllViewsGallery"" onAction=""Macro2"" " _
    & "supertip=""Gives the projected headcount of the project in FTE values."" />" _
    & "</mso:group>"
    customUiXml = customUiXml _
    & "<mso:group id=""group1"" label=""Eversight QA"">" _
    & "<mso:button id=""button1-1"" label=""DCMA 14 point Analysis"" size=""normal"" " _
    & "imageMso=""GroupResolveConflictsAndErrors"" onAction=""Macro3"" " & "supertip=""Executes the DCMA 14 point assessment of the current schedule.""/>" _
    & "<mso:button id=""button1-2"" label=""Eversight Advanced QA"" size=""normal"" " _
    & "imageMso=""PwaProjectProgressUpdate"" onAction=""Macro4"" " & "supertip=""Executes the Eversight QA Advanced checks, as configured in Eversight > Options."" />" _
    & "<mso:button id=""button1-3"" label=""Eversight Basic QA"" size=""normal"" " _
    & "imageMso=""PwaProjectProgressUpdate"" onAction=""Macro5"" " & "supertip=""Executes the Eversight QA Basic checks, as configured in Eversight > Options.""/>" _
    & "</mso:group>"
    customUiXml = customUiXml _
    & "</mso:tab></mso:tabs></mso:ribbon></mso:customUI>"
    For Each pj In Application.Projects
    pj.SetCustomUI (customUiXml)
    Next pj
    End Sub
    You'll also need an event which executes this macro. The following code goes in the "Microsoft Project Objects > ThisProject (Global.MPT)" module within the global file:
    Option Explicit
    Public WithEvents MSPApp As Application
    Private Sub MSPApp_WindowActivate(ByVal activatedWindow As Window)
    evst_AddCustomRibbon
    End Sub
    I hope that gets you started,
    Thanks,
    Andrew
    Andrew Simpson
    Founder – Eversight Ltd
    E: [email protected]
    W: www.eversight.co.uk
    Download Eversight for MS Project — a free add-on which helps users build high quality schedules with MS project.

  • CS3 Missing KBSCE area for this panel's Windows menu submenu

    Missing KBSCE area for this panel's Windows menu submenu. Does anybody recognize this assert message? I have found posts from other people with the exact same problem, like this one for example: http://forums.adobe.com/message/1303048#1303048 , but no solutions to it.  We have the exact same problem, our menus are listed under the Windows Menu Product area in the Keyboard shortcuts editor and they do not have the “ourPrefix :”. I assume there is something wrong with the resource declarations but we are unable to locate a sdk sample or anything in the documentation about this.

    First, you need to realize that resetting preferences will put them back to ground zero, not the way they were the last time you were happy.
    You can try the key combination again and see if you are any faster (we're talking near instantaneous) or you can open your user profile, show hidden files and folders and navigate to C:\Documents and Settings\Administrator\Application Data\Adobe\InDesign\Version 4.0 and rename the two files InDesign Defaults and InDesign SavedData.
    In your case, a better first option, I think, would be to try System Restore which you'll find in System Tools under the Programs > Accessories heading on the start menu. Go back to the first restore point before you tried to open the file, if you can.
    In any case, for you to open a CS3 .inx file you will need to be fully patched the the last CS2 update, and you should expect to see some text reflow issues, as well as missing any CS3 features that the author used which aren't supported in CS2.
    Peter

Maybe you are looking for