The CloudRadialUserInit function is an external JavaScript function that is declared but not implemented within the CloudRadial Angular application. This enables header scripts and body scripts to access key information about the context. As the app is loading the user's profile, CloudRadial calls this function, if it is implemented, and passes the email, display name and company name to it. If you have defined a @HeaderScriptToken token, this value is passed to the function as well.
Here are the key details:
Function Declaration
declare function CloudRadialUserInit( email: string, displayname: string, companyname: string, token?: string, ): any;
Parameters
- email: User's email address
- displayname: User's display name
- companyname: Company name
-
token: Optional authentication token (retrieved from
@HeaderScriptTokenvariable)
Examples:
Integrating Social Intents Chat with CloudRadial – CloudRadial
Comments
0 comments
Article is closed for comments.