Skip to content

Commit

Permalink
improved outputs, better documented, versioned
Browse files Browse the repository at this point in the history
  • Loading branch information
brendon-colburn committed Jun 21, 2022
1 parent 7adfee8 commit 3510a75
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file added SampleApp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions Shapeshifter/ControlManifest.Input.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<manifest>
<control namespace="DCMTC" constructor="Shapeshifter" version="0.0.1" display-name-key="Shapeshifter" description-key="Shapeshifter description" control-type="virtual" >
<control namespace="DCMTC" constructor="Shapeshifter" version="0.0.2" display-name-key="Shapeshifter" description-key="Shapeshifter description" control-type="virtual" >
<!--external-service-usage node declares whether this 3rd party PCF control is using external service or not, if yes, this control will be considered as premium and please also add the external domain it is using.
If it is not using any external service, please set the enabled="false" and DO NOT add any domain below. The "enabled" will be false by default.
Example1:
Expand All @@ -24,7 +24,7 @@
<value name="Date" display-name-key="Date" description-key="A standard date picker">Date</value>
</property>
<property name="Default" display-name-key="Default" description-key="Default" of-type="SingleLine.Text" usage="bound" required="true" />

<property name="Value" display-name-key="Value" description-key="Value" of-type="SingleLine.Text" usage="output" required="true" />
<resources>
<code path="index.ts" order="1"/>
<platform-library name="React" version="16.8.6" />
Expand Down
2 changes: 1 addition & 1 deletion Shapeshifter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private renderControl(context: ComponentFramework.Context<IInputs>) : React.Reac
*/
public getOutputs(): IOutputs {
return {
Default: this.currentValue == null ? undefined : this.currentValue
Value: this.currentValue == null ? undefined : this.currentValue
};
}

Expand Down

0 comments on commit 3510a75

Please sign in to comment.