Manager Self Service custom question

 5 Replies
 0 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
thanef
Veteran Member
Posts: 47
Veteran Member

    I have a question about the Employee Drill Around Info window on the Direct Reports screen in Manager Self Service.

    The Employee Drill Around Info icon loads another window which I can manipulate the characteristics here: manager.htm inside function drillwind(id) for scroll bar, etc.

    But how do I delete or comment out the links from that window?  My HR dept needs several links hidden or taken out.

    At webappjs/drillTOhtml.xsl this section should do it but I cant find a list.....

    listElements

    function initDrill(webappjsUrl, theme)
        {
         if (theme && (theme.toString().toLowerCase() == "9" || theme.toString().toLowerCase() == "lds"))
         {
          styler = new StylerBase();
          styler.showLDS = true;
         
          webappjsUrl = (webappjsUrl) ? webappjsUrl : "/lawson/webappjs";
          StylerBase.webappjsURL = window.location.protocol + "//" + window.location.host + webappjsUrl;     
         
            styler.loadCssFile(window, webappjsUrl + "/lds/css/base/linkElement.css");
            styler.loadCssFile(window, webappjsUrl + "/lds/css/base/tableListElement.css");
          
            // look for all "list" elements
            var listElements = styler.getLikeElements(window, "table", "styler", "list");
            var i = 0;
            for (i = 0; i < listElements.length; i++)
            {
               if (listElements.className != "listStyler")
               {
                  styler.processListElement(window, listElements);
               }
            }
         }
         
         document.body.style.visibility = "visible";
        }

    Roger French
    Veteran Member
    Posts: 549
    Veteran Member
      You need to find the actual screen (the actual html/javascript) which contains the code for the drill, and then comment that out.

      Try looking in mylawson.com as there is an excellent technical document which contains all of the htlm/javascript/css, etc. files, screens, etc. used for ESS and MSS.
      thanef
      Veteran Member
      Posts: 47
      Veteran Member
        It's the manager.htm but there is not an ordered list in that file for me to work at which is what prompted me to post :-) 
        Karen Sheridan
        Veteran Member
        Posts: 142
        Veteran Member
          The drill around in MSS is the same drill around as HR11. You can comment out the drill around link in the manager.htm to stop all of drill around.

          If you want to stop the manager from being able to drill around to certain employee data like Benefits - you have to do that in Lawson security. If you are in LAUA, there is no easy way to do it.

          HTH,
          Karen

          thanef
          Veteran Member
          Posts: 47
          Veteran Member
            Thanks for the response, Karen.  I was hoping to be able to only comment out some of the links once the MSS employee drill around window opens up but looks like I will have to get rid of the icon completely.
            JudeBac
            Veteran Member
            Posts: 129
            Veteran Member
              In the Manager.htm, you may want to try to and replace the content of the variable drillWindow. This is in function drillwind(id). You will need to add your html/javascript code before the drillWindow.focus(). Right click on the drill itself and "View Source" to see the drill html code.

              With this approach, you are actually replacing the dynamically created drill window by your static html code drill window. This way you can comment out links that you don't need.

              Regards,

              Jude