Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.32 KB

File metadata and controls

56 lines (40 loc) · 1.32 KB
title description ms.author author ms.date ms.reviewer ms.topic ms.subservice contributors
StandardControl.getOutputs (Power Apps component framework API reference) | MicrosoftDocs
This method is called by the framework before a component receives the new data. Returns an object based on nomenclature defined in manifest, expecting objects[s] for the property marked as bound.
hemantg
HemantGaur
05/27/2022
jdaly
reference
pcf
JimDaly

StandardControl.getOutputs

[!INCLUDE./includes/getoutputs-description.md]

Available for

Model-driven apps, canvas apps, & portals.

Syntax

getOutputs()

Remarks

The output contains a value for each property with a usage as bound in the manifest. For example, if the manifest has a property named value that has usage as bound, and you want to set that to the local variable myvalue then you should return:

{
    value: myvalue
}

Example

public getOutputs(): IOutputs
{
    return {
        value: this._value
    };
}

Related articles

Control
Power Apps component framework API reference
Power Apps component framework overview

[!INCLUDEfooter-include]