ibihelpme_ReplaceVariablesAsync
| Signature |
|
|---|---|
| Description | Asynchronously replaces all variables occurring in input with the respective value. When the task is completed, the method reference transfered under callback is called up |
| Available from API version | 1.0.0 |
Parameter
| Name | Type | Description |
|---|---|---|
| input | string | Character string that may contain variables |
| callback | (string) => void | Reference to a method without a return value that receives a string object as a parameter. |
Return value
No return value
Example
JS
var input = 'Hello {%ActiveDirectory.User.DisplayName%}';
window.external.ibihelpme_ReplaceVariablesAsync(input, function(output) {
alert(output);
});