PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 1/27/2006 2:16 AM by  John Henley
Disable external links on Portal ie...google
 6 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Wendy Varick
Private
Private
New Member
(4 points)
New Member
Posts:2


Send Message:

--
1/23/2006 8:59 PM
    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
    Private
    Private
    Senior Member
    (9899 points)
    Senior Member
    Posts:3317


    Send Message:

    --
    1/23/2006 10:37 PM
    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
    Private
    Private
    New Member
    (4 points)
    New Member
    Posts:2


    Send Message:

    --
    1/24/2006 2:31 PM
    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
    Private
    Private
    Basic Member
    (36 points)
    Basic Member
    Posts:12


    Send Message:

    --
    1/26/2006 4:07 AM
    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
    Private
    Private
    Senior Member
    (9899 points)
    Senior Member
    Posts:3317


    Send Message:

    --
    1/26/2006 4:31 PM
    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
    Private
    Private
    Basic Member
    (36 points)
    Basic Member
    Posts:12


    Send Message:

    --
    1/27/2006 12:56 AM
    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
    Private
    Private
    Senior Member
    (9899 points)
    Senior Member
    Posts:3317


    Send Message:

    --
    1/27/2006 2:16 AM
    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.