Disable external links on Portal ie...google

Sort:
You are not authorized to post a reply.
Author
Messages
Wendy Varick
New Member
Posts: 2
New Member
    Has anyone been able to disable the links to Google, Excite and Yahoo on Portal for Self Service? I have tried commenting out the URLS in the default.xml, but this has not been successful. We do not want to remove the search box altogether, just limit the direct URL links to these external sites.
    John Henley
    Senior Member
    Posts: 3348
    Senior Member
      Are you commenting out (or removing) the entire ITEM tag (and not just the URL)?
      Are you restarting the web server?

      Thanks for using the LawsonGuru.com forums!

      John
      Thanks for using the LawsonGuru.com forums!
      John
      Wendy Varick
      New Member
      Posts: 2
      New Member
        Thanks John ~ I had thought that I restarted the web server, but to be sure I restarted it again and now, with some minor tweeking, the code changes seem to be OK.
        Phillip Feller
        Basic Member
        Posts: 12
        Basic Member
          The other thing that probably would have worked is an IOSCacheRefresh servlet call. The Profile servlet returns role-file data that your servlet container cached in it's memory; Portal stores this information in a JavaScript object that is used by the DHTML that builds the page layout. IOSCacheRefresh updates this data, among other things (such as data from the logan product line).

          Don't quote me on the details, because I'm working from memory rather than doing the sensible thing and looking at the code.
          John Henley
          Senior Member
          Posts: 3348
          Senior Member
            Since Wendy mentioned modifying default.xml, I assumed she's doing this for all users, so it's not a role-specific modification; therefore web server restart would be required rather than IOSCacheRefresh.
            Thanks for using the LawsonGuru.com forums!
            John
            Phillip Feller
            Basic Member
            Posts: 12
            Basic Member
              John, I was prepared to conceed this point to you, except that I just tried it with default.xml, and I was able to see a change without a reboot.

              Mind you, I've now looked at decompiled code for the IOSCacheRefresh and Profile servlets, and I could swear that the IOSCacheRefresh request shouldn't do anything with roles files or be necessary. A Profile servlet request ought to simply read in, from the file system, the contents of the correct role file. Yet I couldn't see any of my changes until I made the IOSCacheRefresh request. I even made certain that my browser was actually doing the request and getting a response, rather than simply working with cached files.

              Whatever. I did warn you not to quote me on the details.
              John Henley
              Senior Member
              Posts: 3348
              Senior Member
                I made the assumption that Wendy was running IIS, and that it would probably be cached. In any event, it's working for her now, which is the important part.

                Thanks for using the LawsonGuru.com forums!

                John
                Thanks for using the LawsonGuru.com forums!
                John
                You are not authorized to post a reply.