Groups
Description
Allow user to join the different group by entering the invites code. For that first need to create invites code from admin panel -> invite codes and setup a security group to that invite code entry and provide that code to another join that group.
Attributes
tile=groupstitlebody: body text to be displaymode: join | list. By default, is list.joinTextField: Placeholder display in textFieldjoinSuccess: Provide a text to display after successful joiningjoinButton: Describe the join button textautoConfirm: true | falseempty: display a text when list is emptybehavior: [Object type]stepactioncallvalue
options: [Objects]except: Provide a group handle to filter out the group list.back: [Object Type]titletarget: share | scriptnameoptions: [objects]id: provide an id to run the scriptparams: provide a params for script by default is {"userId": current user id}success: Indicate a success message
iconClass:deprecatediconpath: valid pathvalid: true | falsecounts: valid pathmatch: valid pathruntimebackgroundcondition: valid condition
Example
{
"tile": "groups",
"title": "Testing a groups tile",
"mode": "join",
"joinButton": "Join Group",
"body": "Hey Please join the group clicking on join button",
"joinTextField": "Please enter the code",
"joinSuccess": "Now you part of this org",
"autoConfirm": "true"
}
Example1
{
"tile": "groups",
"title": "Testing a groups tile for list mode",
"options": {
"except": [
"Test"
],
"back": {
"title": "list mode Group",
"target": "share",
"options": {
"message": "Sharing the group to social site",
"subject": "Testing Group",
"success": "Successfully shared"
}
}
}
}