createOrgNotification

createOrgNotification

Function
createOrgNotification(optionsICreateOrgNotificationOptions): Promise<ICreateOrgNotificationResult>

Send a notification to members of the requesting user's org. Operation success will be indicated by a flag on the return object. If there are any errors, they will be placed in an errors array on the return object

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
const authentication: IAuthenticationManager; // Typically passed into to the function

const options: IInviteGroupUsersOptions = {
 id: 'group_id',
 users: ['larry', 'curly', 'moe'],
 notificationChannelType: 'email',
 expiration: 20160,
 authentication
}

const result = await createOrgNotification(options);

const if_success_result_looks_like = {
 success: true
}

const if_failure_result_looks_like = {
 success: false,
 errors: [ArcGISRequestError]
}
Parameters
ParameterTypeNotes
options
ICreateOrgNotificationOptions
Returns 
Promise<ICreateOrgNotificationResult>

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close