Add Product Line name in Portal welcome message 9.0

 6 Replies
 0 Subscribed to this topic
 13 Subscribed to this forum
Sort:
Author
Messages
Richard Caldwell
New Member
Posts: 3
New Member

    In Lawson portal 3.x we were able to add the tag <> to the default.xml file so that when a user logged into portail it displayed the product line they were using.

    How/where can this change be made in portal 9.x

    Norm
    Veteran Member
    Posts: 40
    Veteran Member
      There's a Role Manager option in LSF9 for creating and changing the Welcom message, but I haven't seen a way to impact the default role using it. However, there's always the old-fashioned way of changing it directly.

      I'd be careful about changing the default.xml as it's the basis for all of the other role files in the Role manager, but here's what I did (since I can't even follow by own advice)

      In LSF 9.0, the role files, including the default.xml file, reside in $LAWDIR/persistdata/lawson/portal/data/roles

      I think the name fields available are <>, <> and <>. I modified it to include the Product Line, which is <>. The << >> are required. The Role manager has a drop down that includes all of the variables



      Richard Caldwell
      New Member
      Posts: 3
      New Member

        That worked liked a charm

        Had to try a couple of times on the tag name until I got it right - ended up being ProductLine

        ichiben
        Advanced Member
        Posts: 21
        Advanced Member

          can you show me the example of your welcome tag in the default.xml ?

          ichiben
          Advanced Member
          Posts: 21
          Advanced Member
            <!-- this is a SECO customization to display the hardcoded environment and the current productline -blc 1/16/09 -->    home.htm
            <!-- this is a SECO customization to display the hardcoded environment and the current productline -blc 1/16/09 -->
                > to PROD <>]]>


                <!--[CDATA[&&divWel&& <> to PROD < >]]-->

            for the default.xml in $LAWDIR/persistdata/lawson/portal/data/roles



            ichiben
            Advanced Member
            Posts: 21
            Advanced Member
                  home.htm
              <!-- this is a SECO customization to display the hardcoded environment and the current productline -blc 1/16/09 -->
                  > to PROD <>]]>


              ichiben
              Advanced Member
              Posts: 21
              Advanced Member
                home.htm

                home.htm
                <!-- this is a customization to display the hardcoded environment and the current productline -blc 1/16/09 -->
                > to PROD <>]]>