Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Grouper filter question

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Grouper filter question


Chronological Thread 
  • From: Shilen Patel <>
  • To: SUN Michael <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] Grouper filter question
  • Date: Tue, 2 Sep 2014 19:04:03 +0000
  • Accept-language: en-US

I think you just need to adjust your sources.xml:

From:

        <init-param>
         <param-name>searchAttribute0</param-name>
         <param-value>uun</param-value>
        </init-param>

To something like:

     <init-param>
       <param-name>subjectVirtualAttribute_0_searchAttribute0</param-name>
       <param-value>${subjectUtils.defaultIfBlank(subject.getAttributeValue('UUN'), "")},${subjectUtils.defaultIfBlank(subject.getAttributeValue('Full Name'), "")}</param-value>
     </init-param>
     <init-param>
       <param-name>searchAttribute0</param-name>
       <param-value>searchAttribute0</param-value>
     </init-param>
     <internal-attribute>searchAttribute0</internal-attribute>

After making the config change, you'll have to refresh the member data in grouper, which can be done by running usdu() using gsh.

Let me know if that works?

Thanks!

-- Shilen

From: SUN Michael <>
Date: Tuesday, September 2, 2014 11:51 AM
To: "" <>
Subject: [grouper-users] Grouper filter question

Hello there,

 

We are running grouper 2.2, a quick question on [Apply filter] function on groups, see attached.

 

The filter seems to on member’s UUN(id of the member) only but not on their names i.e. first name, last name.

 

For example, suppose we have a user called Mark White in the group, his UUN is mwhite, first name is Mark, last name is White, the [apply filter] option can only return results if I put mwhite in the box, but not Mark nor White. I’d like to make the filter works on name as well.

 

I played with the source.xml configuration file in grouper.apiBinary-2.2.0/conf, doesn’t seem to do anything, source.xml attached for your reference. Am I looking at the wrong configuration file?

 

F.Y.I Search function (see the attachment, top right) works on both UUN and name.

 

Many Thanks,

 

Michael

 

Application Developer

The University of Edinburgh

 

 




Archive powered by MHonArc 2.6.16.

Top of Page