I would like to be able to make an API call in Bridge to generate a list of all groups/groupIDs that a user is a member of. To my knowledge, this can only be done for me as the "current user" at this time.
Sign in to see the current vote count, add your own vote, or leave a comment.
Unfortunately there isn't an easy way to do this over a single endpoint. As you've seen, getting a user doesn't provide the groups. Getting a group provides the members, but it's not a filterable/searchable list.
I'm assuming you want to sweep down a list of users and find this for a set of people?
Without using Javascript, you could do this natively in Bridge like below. Warning though, it will be slow.
PARENT WORKFLOW
CHILD WORKFLOW 1
CHILD WORKFLOW 2
JAVASCRIPT
BTW, to see how to write Javascript to return a formatted array to do Add Row - check the post here. You may or may not need the "chunking" function described in this, and don't need the Resource Management pieces, but you'll see in the Javascript code that there's a section that takes the data and formats it into an array of row objects to pass along to Add Rows. Your row objects, instead of using toTop: true as the row location specifier, should use the {"parentId": xxxxx, "toBottom": true} format to insert the rows underneath the row that has your user listed in a sheet. You'll need the rowId for parentId, that comes from your user data.
https://community.smartsheet.com/discussion/97621/use-javascript-in-bridge-to-efficiently-import-data-from-an-api
Problem Smartsheet environments quickly become cluttered with inactive Sheets, Reports, and Dashboards that are no longer viewed or updated. This creates confusion for users and significant overhead for admins, especially in large or regulated environments. There is currently no native way to automatically identify, notify…
It would be beneficial to be able to leverage Smartsheet Automations to make REST API calls. This has many potential use cases, but one I could see is adding users to Smartsheet groups when the are added to a 'roster sheet' in Smartsheet. It would allow us to use the full power of Smartsheet's API within easy to use…
I am loving the capabilities in Global Updates under Control Center.However, there are some gaps I would really like addressed.Can we please create a Global Update option to do the following: Update a column formula not just a cell formula Update an automation Note: I know that I could create a new column and delete the…