Skip to Content
author's profile photo Former Member
Former Member

Displaying two different SearchLayoutResult Sets for different users.

Dear All,

I'm trying to display two separate SearchLayoutResultSets for different set users such that the end-user group does NOT see the Details link when they execute a search but the administrator group can see the Details link. The details for the administrator group is to allow them to navigate to the document in the CM repository for maintenance etc.

Is this a case of duplicating the SearchResultLayout Set and removing the details link and associating with a new Search Iview and placing the Iview into the administrator roles.

I have managed to remove the details link and search for end-users is in place.

I'd prefer to execute the different searches off the Search dialog Box in the toolbar, so the users don't notice the difference in the interface (other than the details link for one and not the other).

Appreciate your responses!!

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2005 at 03:48 AM

    Hi ,

    If you are using search option available in the tool area then you can assign two different layout sets by checking which the user belongs to and assign different layoutsets.

    This can be done by changing the framework.jsp in the file.

    There is a variable called glbContextSearchParams which contains the url to the search. You can add a parameter called rndLayoutSet with the LayoutSet name to the url based on the group the user belongs.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member


      I am sorry about that. That variable was used for my project. You can change it in the ToolAreaiView.jsp in the

      There are two functions openSearch() and openAdvancedSearch(). There are two variables url and urlAdv respectively. Append the parameter rndLayoutset to that url.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.