Function setData

  • This operation assigns the specified properties to the specified data targets.

    Parameters

    Returns TOperationResult<ISetDataOperationData>

    Example

    The various ways of assigning data

    setData({
    'operationdata.foo': 'context.currentItem', // context.currentItem will be assigned to operationdata.foo
    'globaldata.foo': 'context.currentItem', // context.currentItem will be assigned to globaldata.foo
    'context.newIndex': 100, // The constant 100 will be assigned to context.newIndex
    })

Generated using TypeDoc