Surpress "Related Links" tab in LPA Inbasket

 8 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
LisaN
Veteran Member
Posts: 53
Veteran Member
    We don't want our users to see the "Related Links" tab when they select their work item in the inbasket.
    Is it possible to remove or supress it?

    We are LPA and Landmark 10.0.3.12, Portal, 9.0.1 MSP9 / ESP12.
    John Henley
    Posts: 3353
      Do you want to do this for any workunit, or just for a particular service?
      Thanks for using the LawsonGuru.com forums!
      John
      LisaN
      Veteran Member
      Posts: 53
      Veteran Member
        Any workunit.
        John Henley
        Posts: 3353
          I honestly can't think of an easy global solution.
          Couple of options:
          1. You can customize the CSS associated with the inbasket
          (process is documented in the landmark infocenter:
          Landmark Technology Developer Guides > Customizing Landmark Web Applications > Custom Stylesheets):

          #listTable_RelatedLinksInbasketWorkunitFolderList {display:none;}

           This will still display the "Related Links" tab, but not the list (yes, it's a hack!)

           2. Depending on how many flows you have, you can try removing the links/forms associated with the workunit (in the case of RQ for instance, the form link is added in the COBOL RQ code, so you'd have to remove it in the flow to avoid customizing the RQ code...).
          Thanks for using the LawsonGuru.com forums!
          John
          LisaN
          Veteran Member
          Posts: 53
          Veteran Member
            Do you know the name of the file that has that information? I can view the source by right clicking the form but I don't see the file name. Is it on the Landmark server or on the LSF server?

            John Henley
            Posts: 3353
              LisaN, are you referring to the css file?
              Thanks for using the LawsonGuru.com forums!
              John
              LisaN
              Veteran Member
              Posts: 53
              Veteran Member
                Is the CSS file named "landmark.css"? Is it supposed to be on the Landmark server? LPA is installed on our Landmark server.
                Thanks
                John Henley
                Posts: 3353
                  Yes, this is on the Landmark server, but don't make the change directly in landmark.css. Any .css changes should go into the custom.css file (you can use landmark.css to figure out what changes you want to make, but again, make sure you actually make the changes by adding them to custom.css).

                  The documentation isn't very clear on the steps...and it's actually referring to other Landmark apps, not necessarily IPA/LPA, but the basic steps are that you need to get the landmark.css and custom.css by extracting them from /java/jar/xhtml.war (copy xhtml.jar to a temp folder, and then jar -xvf xhtml.jar and look in the styles/default/css folder).

                  Once you make any changes you then need to repackage them back into the .war file which then needs to get redeployed into Websphere.

                  Not trivial is it?
                  Thanks for using the LawsonGuru.com forums!
                  John
                  LisaN
                  Veteran Member
                  Posts: 53
                  Veteran Member
                    Thank you John. I'll talk to our admin about this.