title | description | author | ms.author | ms.date | ms.reviewer | ms.topic | applies_to | search.audienceType | contributors | ||
---|---|---|---|---|---|---|---|---|---|---|---|
setSharedVariable (Client API reference) in model-driven apps| MicrosoftDocs |
Learn about the getEventSource method that returns a reference to the form or an item on the form depending on where the method was called. |
adrianorth |
aorth |
03/12/2022 |
jdaly |
reference |
Dynamics 365 (online) |
|
|
Sets the value of a variable to be used by a handler after the current handler completes.
ExecutionContextObj.setSharedVariable(key, value)
key
: String: The name of the variablevalue
: Object. The values to set
Type: Object
Description: The specific type depends on what the value object is.
getSharedVariable
Execution context
[!INCLUDEfooter-include]