This solution allows you to combine the "Current User" filter and Smartsheet Group membership to filter records based on who is a member of a Smartsheet Group.
Solution overview
- Python
- Create scheduled task to run daily Python script that pulls all Smartsheet groups and group members and saves as CSV on SharePoint site.
- DataShuttle
- Schedule DataShuttle to load "Group-Member" CSV into "Groups" DataTable
- DataTable
- Create DataTable Connection to load "Groups" DataTable data into "Group-Members" sheet.
- Group-Members sheet
- The "Group-Members" sheet will contain a record for each Group-Member combination. There will be one record for every member of every group.
- DataMesh - Group names to Group Summary sheet
- Create DataMesh to transfer Group names from "Group-Members" sheet to "Group Summary" sheet.
- Group Summary sheet
- The "Group Summary" sheet will contain a list of every group and all members. There will be one record per Group.
- On "Group Summary" sheet use a Join Collect formula to gather all the group member emails into the "Group members - Text" field.
- =IF([# of members]@row <= 30, JOIN(COLLECT({Smartsheet Group List - Member email}, {Smartsheet Group List - Group name}, [Smartsheet group name]@row ), ";"), "Too many members to display")
- The Group members will appear as emails separated by ";"
- DataMesh - Convert member emails into Contacts
- Create a DataMesh to transfer the text group members into a Contact column called "Group members" on the same "Group summary" sheet. The text emails will be converted into Contacts.
At this point you will now have a automatically updating list of groups with their members as Contacts in Smartsheet. You can you DataMesh or cros ssheet references to pull the Group members onto other sheets using the Group name.
Tools required
- Computer to run scheduled Python query to pull Groups and Group members and save it to a SharePoint location
- SharePoint location to save the Group-Member list
- Smartsheet API access
- DataShuttle
- DataTable
- DataMesh
I hope this is useful to you.
Neil Egsgard
Business Solutions Architect
Southern Alberta Institute of Technology