{"id":208,"date":"2016-10-27T15:50:39","date_gmt":"2016-10-27T14:50:39","guid":{"rendered":"https:\/\/blogs.ncl.ac.uk\/integration\/?p=208"},"modified":"2020-12-01T11:24:53","modified_gmt":"2020-12-01T11:24:53","slug":"composite-groups","status":"publish","type":"post","link":"https:\/\/blogs.ncl.ac.uk\/integration\/2016\/10\/27\/composite-groups\/","title":{"rendered":"Composite groups"},"content":{"rendered":"<p>Inside of Grouper is a little-known feature that allows you to create new groups through\u00a0applying logic to existing groups. This feature is known as <strong>composite groups.<\/strong><\/p>\n<p>Whilst the functionality of using this &#8216;group logic&#8217; brings great power, it\u2019s easy to get yourself in a knot. The following simple example works through the creation of new groups containing students studying a specific stage on a specific programme.<\/p>\n<p><strong>Creating a group containing Stage 1 students studying on H200:<\/strong><\/p>\n<p>We already publish groups containing Student to Programme <em>(Corporate Data:Student_Programme_Enrolments)<\/em>, and Student to Stage <em>(Corporate Data:Student_Stage_Enrolments)<\/em> assignments which are updated daily using\u00a0data derived from SAP. If your school is not published already, get in touch and we&#8217;ll add it it.<br \/>\nWe need to combine these two corporate data sources&#8230;<\/p>\n<p>1. Browse to where you want to create the group (if you\u2019re publishing to Active Directory then this will need to be in the <em>Applications<\/em> stem).<\/p>\n<p>2. Create your new group as per normal, and give it a sensible name, e.g. MyExample_H200_Stage1<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-213\" src=\"https:\/\/blogs.ncl.ac.uk\/integration\/files\/2016\/10\/1-1.png\" alt=\"1\" width=\"818\" height=\"568\" srcset=\"https:\/\/blogs.ncl.ac.uk\/integration\/files\/2016\/10\/1-1.png 818w, https:\/\/blogs.ncl.ac.uk\/integration\/files\/2016\/10\/1-1-300x208.png 300w, https:\/\/blogs.ncl.ac.uk\/integration\/files\/2016\/10\/1-1-768x533.png 768w, https:\/\/blogs.ncl.ac.uk\/integration\/files\/2016\/10\/1-1-432x300.png 432w\" sizes=\"auto, (max-width: 818px) 100vw, 818px\" \/><\/p>\n<p>3. Click More Actions &gt; Edit composite<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-214\" src=\"https:\/\/blogs.ncl.ac.uk\/integration\/files\/2016\/10\/2-1.png\" alt=\"2\" width=\"820\" height=\"506\" srcset=\"https:\/\/blogs.ncl.ac.uk\/integration\/files\/2016\/10\/2-1.png 820w, https:\/\/blogs.ncl.ac.uk\/integration\/files\/2016\/10\/2-1-300x185.png 300w, https:\/\/blogs.ncl.ac.uk\/integration\/files\/2016\/10\/2-1-768x474.png 768w, https:\/\/blogs.ncl.ac.uk\/integration\/files\/2016\/10\/2-1-486x300.png 486w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><\/p>\n<p>4. Select the two factors that will build this composite group, then select \u2018AND\u2019 as the operation (implying that a user will only become a member of your\u00a0new group if they\u2019re a member of both of the composite groups)<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-215\" src=\"https:\/\/blogs.ncl.ac.uk\/integration\/files\/2016\/10\/3-1.png\" alt=\"3\" width=\"817\" height=\"587\" srcset=\"https:\/\/blogs.ncl.ac.uk\/integration\/files\/2016\/10\/3-1.png 817w, https:\/\/blogs.ncl.ac.uk\/integration\/files\/2016\/10\/3-1-300x216.png 300w, https:\/\/blogs.ncl.ac.uk\/integration\/files\/2016\/10\/3-1-768x552.png 768w, https:\/\/blogs.ncl.ac.uk\/integration\/files\/2016\/10\/3-1-418x300.png 418w\" sizes=\"auto, (max-width: 817px) 100vw, 817px\" \/><\/p>\n<p>Note that in addition to an &#8216;AND&#8217; (intersection) operation, you also have the option of using a &#8216;NOT&#8217; (complement) to exclude members.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Inside of Grouper is a little-known feature that allows you to create new groups through\u00a0applying logic to existing groups. This feature is known as composite groups. Whilst the functionality of using this &#8216;group logic&#8217; brings great power, it\u2019s easy to &hellip; <a href=\"https:\/\/blogs.ncl.ac.uk\/integration\/2016\/10\/27\/composite-groups\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":5721,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[6,4],"class_list":["post-208","post","type-post","status-publish","format-standard","hentry","category-group-management","tag-grouper-ui","tag-tips"],"_links":{"self":[{"href":"https:\/\/blogs.ncl.ac.uk\/integration\/wp-json\/wp\/v2\/posts\/208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ncl.ac.uk\/integration\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.ncl.ac.uk\/integration\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/integration\/wp-json\/wp\/v2\/users\/5721"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/integration\/wp-json\/wp\/v2\/comments?post=208"}],"version-history":[{"count":4,"href":"https:\/\/blogs.ncl.ac.uk\/integration\/wp-json\/wp\/v2\/posts\/208\/revisions"}],"predecessor-version":[{"id":319,"href":"https:\/\/blogs.ncl.ac.uk\/integration\/wp-json\/wp\/v2\/posts\/208\/revisions\/319"}],"wp:attachment":[{"href":"https:\/\/blogs.ncl.ac.uk\/integration\/wp-json\/wp\/v2\/media?parent=208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/integration\/wp-json\/wp\/v2\/categories?post=208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/integration\/wp-json\/wp\/v2\/tags?post=208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}