Skip to main content
ankushs0002
April 11, 2024
Solved

Group properties visibility

  • April 11, 2024
  • 11 replies
  • 0 views

Hi All,

Need your assistence i just wanted to update all the groups visibility to public by expression is there any way to do that.

For example, If i have multiple groups and there visibility is restricted then i want to update it to as public please let me know if you have anything. Please check below secreenshot.

Best answer by venkatrea696188

I don't get it , you want to know  whether the expression executed successfully?? 

This one gives properties of your group . Or use Onsuccess Parameter of the editgroup function (Use Smart Service or if you want to use function use it in saveinto)

group(
        groupId: togroup(GroupId),
        property: "securityMapName"
      )


11 replies

venkatrea696188
April 11, 2024

 Edit group  this will do it. But u need to have administrator access. Use it in loop and pass groupid's

ankushs0002
April 11, 2024

So you mean to say i need to change securityType to PUBLIC 

venkatrea696188
April 11, 2024

Yes , Use the function and set the SecurityType as Public.

srmm0001
April 17, 2024

high-level outline :

  1. a process model that will handle the update of group properties.

  2. Use a query to retrieve all group IDs with restricted visibility.

  3. Set up a loop in your process model that iterates over each group ID.

  4. Inside the loop, use the Edit Group smart service, setting the securityType parameter to PUBLIC