Widget Argument / Method to Filter on Content Ownership within a Group

I have a profile type (“Blocks”) where various groups make profiles for the Blocks they offer.

I have one group that will need to do the following simultaneously:

  1. List the set of Block profiles it owns and manages.
  2. List a curated list of Block profiles shared with it from other groups.

What I’m hoping for is a widget argument that achieves these two without any additional input from editors (i.e. tagging).

Group filtering doesn’t seem to work here. If limited to the current group, then all Live Blocks the group has (owned or linked) are listed. If excluding the current group, then will include all Live Blocks on the site rather than the curated set; will also list any of the group’s Blocks shared to other groups.

I want to be able to, within a group, divide by this owned/linked status. Something like:

  • <arg id="filter" name="is_linked_copy" action="equals">true/false</arg>
    • True: show only items from other groups
    • False: show only own items
  • <arg id="filter" name="owned_by_me" action="equals">true/false</arg>
    • True: show only items owned by “me”
    • False: show only items from groups that are not “me”
  • etc.

Does something like this exist, or a (relatively easy) method to achieve the desired result?

Thanks,
Nick

Sure, I think you can do this using the filter widget setting to look at the parent field. For shared and linked copies, the parent column holds the ID of the original item in its originating group. So you can filter by:

  • parent has = this is a linked copy from another group
  • parent not_having = this is an original item from this group

Thanks Karl for this. I’m getting the sense I asked this once before, but couldn’t find the right term to find it.

Turns out I won’t need it for this case– switching from decentralized to centralized management of the profiles– but I’ll try and remember this option moving forward.

Thanks,
Nick