Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Customizing group member listing in new UI

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Customizing group member listing in new UI


Chronological Thread 
  • From: Paul Engle <>
  • To: "Hyzer, Chris" <>, "" <>
  • Subject: Re: [grouper-users] Customizing group member listing in new UI
  • Date: Wed, 8 Mar 2017 10:27:00 -0600
  • Ironport-phdr: 9a23:sViewxD3UFz3f22r4VzkUyQJP3N1i/DPJgcQr6AfoPdwSPT/osbcNUDSrc9gkEXOFd2CrakV1qyK7+uwBiQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9GiTe5Yb5+Nhq7oAreusQVg4ZpN7o8xAbOrnZUYepd2HlmJUiUnxby58ew+IBs/iFNsP8/9MBOTLv3cb0gQbNXEDopPWY15Nb2tRbYVguA+mEcUmQNnRVWBQXO8Qz3UY3wsiv+sep9xTWaMMjrRr06RTiu86FmQwLuhSwaNTA27XvXh9RtgqxFrhKvpx9xzYDab46aNvVxYqzTcMgGRWdDRMtdSzBND428YoYJEuEPPfxYr474p1YWtxWxHxSsBOfywTFHgH/20qk63Po8GgzBxAwvAdQOsHvQrNrrL6oSS+G1w7XWwjnZcfxZxCr95ZHOfxs8r/+MWrdwftDQyUkpDw7Fj1OQqZD7MDOP0OQCrXSb4/R6We2xlmEnthl9rSapxss2l4nJnYQYwU3H+yVh2Is5OMO0RU1hbdOrDpdcrT+WO5drTs84Xm1kpDo2xqUbtZKlfyUG0psqywDFZ/CZb4SE/wjvWPiNLTp+mXlrYqiwhwyo/kil0uD8Vte70FJNridditnMrm0B2wbJ6siGVvRy4F2t1iiS2ADO8u1EIEY0mrTHK5M537I8iJkevV7MEyPogkn6krOaelg+9uS19+jrfq3qppqGOI91jgH+PL4umsu6AekgKggBQW6b+eu41LL95kD5WrRKgeEonaXDrp/VONkbqrajAwBJyoYj9wq/DzC+3dQXh3kHK09FeAqZgIjzIl3OPev4Aumlg1S3izprw/HGPqb9ApXWMHTPirbhfbBh60FC0gozy85Q545KBr0bPv38R1Lx55TkCUpzEx2mzvyjQP59zIIFEyrbB6SZIbHfq3eJ/elpPvGBYolTtTrgfbxtrfH0imIhlEVYYLKkx4A/aXakE+5gLlnDJ3fgn51JRWgQuRcmQfavlUaPSyV7ZnCuUrg66y1hTo+qENGQaJqqhem51Tq/VrBQaWRLQgSUHHHnc4isQfYHZWSfLtI3wW9MbqSoV4J0jULmjwT90bcyduc=


Chris,
Here's the output from the diagnostics, but I think I have it worked
out now. The diagnostics output led me to where to make the change, in
the grouper.text.en.us.properties file. It looks like the base file is
using the displayName in guiGroupShortLink. If I override that property
and change it, it displays as desired.

Thanks!
-paul

######## SUBJECT ATTRIBUTES ########

Subject id: 89b65ea4-aaf8-4157-a317-4f4b85e0fce6 with subject.getId()
- the subject id should be an unchanging opaque identifier
- the subject id is stored in the grouper_members table
Subject name: testStem:group1 with subject.getName()
- the subject name is generally first last
Subject description: with subject.getDescription()
- the subject description can have more info such as the id, name,
dept, etc
Subject type: group with subject.getTypeName()
- the subject type is not really used
Subject attribute 'name' has 1 value: 'testStem:group1'
- with subject.getAttributeValue("name")
Subject attribute 'displayname' has 1 value: 'Folder for testing:Test
group 1'
- with subject.getAttributeValue("displayname")
Subject attribute 'alternatename' has no value
- with subject.getAttributeValue("alternatename")
Subject attribute 'extension' has 1 value: 'group1'
- with subject.getAttributeValue("extension")
Subject attribute 'displayextension' has 1 value: 'Test group 1'
- with subject.getAttributeValue("displayextension")
Subject attribute 'description' has 1 value: ''
- with subject.getAttributeValue("description")
Subject attribute 'modifytime' has 1 value: 'Wed Aug 19 14:53:25 CDT 2009'
- with subject.getAttributeValue("modifytime")
Subject attribute 'createtime' has 1 value: 'Mon Apr 28 13:56:36 CDT 2008'
- with subject.getAttributeValue("createtime")
Subject attribute 'createsubjectid' has 1 value: 'GrouperSystem'
- with subject.getAttributeValue("createsubjectid")
Subject attribute 'createsubjecttype' has 1 value: 'application'
- with subject.getAttributeValue("createsubjecttype")
Subject attribute 'modifysubjectid' has 1 value: 'pengle'
- with subject.getAttributeValue("modifysubjectid")
Subject attribute 'modifysubjecttype' has 1 value: 'person'
- with subject.getAttributeValue("modifysubjecttype")

######## SUBJECT IN UI ########

Short link with icon: testStem:group1
- This is configured in grouper.text.en.us.base.properties with
guiGroupShortLink
- By default this is the display extension with a tooltip for path and
description
Link with icon: Folder for testing:Test group 1
- This is configured in grouper.text.en.us.base.properties with
guiGroupLink
- By default this is the display name with a tooltip for path and
description

######## SUBJECT IN WS ########

Look in grouper-ws.properties to see how the WS uses subjects. This is
the default configuation:

# subject attribute names to send back when a WsSubjectResult is sent,
comma separated
# e.g. name, netid
# default is none
ws.subject.result.attribute.names =

# subject result attribute names when extended data is requested (comma
separated)
# default is name, description
# note, these will be in addition to ws.subject.result.attribute.names
ws.subject.result.detail.attribute.names =

######## SOURCE CONFIGURATION ########

Adapter class: 'edu.internet2.middleware.grouper.GrouperSourceAdapter'
- configured in subject.properties: subjectApi.source.g:gsa.adapterClass
SUCCESS: Found adapter class
SUCCESS: Instantiated adapter class
Source id: 'g:gsa'
- configured in subject.properties: subjectApi.source.g:gsa.id
Source name: 'Grouper: Group Source Adapter'
- configured in subject.properties: subjectApi.source.g:gsa.name
Source types: 'group'
- configured in subject.properties: subjectApi.source.g:gsa.types
Source param name: 'searchAttribute0' has value: 'searchAttribute0'
- configured in subject.properties:
subjectApi.source.g:gsa.param.searchAttribute0.value
Source param name: 'sortAttribute0' has value: 'displayExtension'
- configured in subject.properties:
subjectApi.source.g:gsa.param.sortAttribute0.value
Source param name: 'subjectVirtualAttribute_0_searchAttribute0' has
value:
'${subject.getAttributeValue('name')},${subject.getAttributeValue('displayName')},${subject.getAttributeValue('alternateName')}'
- configured in subject.properties:
subjectApi.source.g:gsa.param.subjectVirtualAttribute_0_searchAttribute0.value
Source param name: 'maxPageSize' has value: '100'
- configured in subject.properties:
subjectApi.source.g:gsa.param.maxPageSize.value
No internal attributes configured
No attributes configured

######## SUBJECT SEARCH RESULTS ########

No subjects found in search

######## SUBJECT PAGE RESULTS ########

No subjects found in search page

On 3/8/2017 9:45 AM, Hyzer, Chris wrote:
> Can you use a fully patched 2.3 and look at the subject source diagnostics?
>
>
> https://spaces.internet2.edu/display/Grouper/Grouper+subject+API+diagnostics+in+UI
>
>
> Thanks
>
> Chris
>
> ------------------------------------------------------------------------
> *From:*
>
> <>
> on behalf of Paul Engle
> <>
> *Sent:* Tuesday, March 7, 2017 4:20:03 PM
> *To:*
>
> *Subject:* [grouper-users] Customizing group member listing in new UI
>
>
> When viewing a group's members in the new UI, I'm having trouble
> figuring out what property to use to change the way member groups are
> displayed.
>
> For our own (person) sources, I have the following in
> grouper-ui.properties, which seems to work just fine:
>
> grouperUi.screenLabel2.sourceId.4 = rice
> grouperUi.screenLabel2.screenEl.4 = ${subject.getAttributeValue('fullName')}
>
> And in the grouper-ui.base.properties, I see similar definitions for the
> internal group source:
>
> grouperUi.screenLabel2.sourceId.1 = g:gsa
> grouperUi.screenLabel2.screenEl.1 =
> ${subject.getAttributeValue('displayExtensio
> n')}
>
> But trying to override grouperUi.screenLabel2.screenEl.1 in my own
> properties file does not seem to be working. Is there some other
> property which governs the display of member groups? We have many groups
> with the same displayExtension, and having to mouse over the entries to
> see exactly which one is which can be maddening. I'd much rather have
> the name attribute there.
>
> -paul
>
>
> --
> Paul Engle
> Office of Information Technology
>
> 713-348-4702
>

--
Paul Engle
Office of Information Technology

713-348-4702



Archive powered by MHonArc 2.6.19.

Top of Page