Remove objects from Portal Page

 5 Replies
 0 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
Robert Spurr
Veteran Member
Posts: 130
Veteran Member
    I've created a variety of data entry screens which will be accessed via a button on another form.  When it opens I want to achieve as close as possible a modal style view.  To that end I what to remove the tabs, search box, content, preference and help buttons.  So far the best I could achieve is to clear the tab area of all bookmarks and hide it when the form is opened.  Does anyone have experience dealing with portal objects and be willing to point me in the right direction.

    Thanks
    Robert
    David Williams
    Veteran Member
    Posts: 1127
    Veteran Member
      You are removing objects from a User Form (not a Portal Page)? You should be able to just delete what objects you don't want, or better yet, in your case, why not start with a Blank form and add what you want back on?
      David Williams
      Robert Spurr
      Veteran Member
      Posts: 130
      Veteran Member
        Thanks but I'm trying to remove objects from the page (Tab that holds the bookmarks, search box etx..) I already know how to deal with form objects but I can't seem to zero in on the portal page objects. (Not ofr a lack of trying...think I used every example provided in the object reviewer and a few that weren't)
        David Williams
        Veteran Member
        Posts: 1127
        Veteran Member
          The Search box can be removed for all forms via Portal admin but I don't know if it can be removed by modifying the Source code. The list of forms you can transfer to can be modified (removed) on the Form Properties.
          David Williams
          Jwiff
          Basic Member
          Posts: 12
          Basic Member
            (You are going to hate this answer - or, at least I did!)
            Last year - over great objection by myself, I was 'asked' to do the same for the majority of the EMSS we deploy.
            To get this done, I launched the page in a new session (this would typically display the protal objects); I also passed a parm to suppress the protal 'look'.
            Than in \lawson\portal\portal.js -- function

            lawPortalFinishAuthen, I changed all the visibility parms to 'hidden'.

            Note: You will also need to add code to bypass the login page (for the new session), and display the specific page you want without user selection from the nav bar (which is now suppressed).

            This works, but it still wastes time building (what doesn't get displayed) and is a significant 'customization' -- which will plague me for each and every upgrade.

            A better solution is to force the oPortalConfig.isPortalLessMode value, but that does not get rid of everything.

            Good Luck! -- My recommendation: Tell them it can't be done!

            Rod
            Basic Member
            Posts: 10
            Basic Member
              You can customize what options are displayed in the Portal by modifying the portal role, then assign that portal role to what ever users you want to have those restrictions. You need to be a Portal Admin in order to modify/create the role.