Hi everyone, pretty new to PCFs, and having endless problems with control properties breaking the CRM form editor (either the data-set control doesn't show up, or all data-set controls disappear).
With the manifest below, code compiles and imports without error, but control does not show up in form editor unless I change the bound properties to input properties. But then I can't pass data back to the form.
What I'm trying to do here is create a data-set control that allows for multiple allocation records to be updated (works great), while rolling up the total allocated and unallocated amounts back to the form through bound properties.
Any input/direction on how to get bound properties to work would be greatly appreciated!
Manifest:
<manifest>
<control namespace="capsITK" constructor="ExpenditureAllocationGrid" version="0.0.41" display-name-key="ExpenditureAllocationGrid" description-key="ExpenditureAllocationGrid description" control-type="standard">
<data-set name="ExpenditureAllocationDataSet" display-name-key="Dataset_Display_Key">
</data-set>
<property name="totalCost" display-name-key="Total Cost" description-key="The field that holds the total allocatable cost" of-type="Decimal" usage="input" required="true" />
<property name="totalAllocated" display-name-key="Total Allocated" description-key="The field that holds the calculated allocatable cost" of-type="Decimal" usage="bound" required="true" />
<property name="totalUnallocated" display-name-key="Total Unallocated" description-key="The field that holds the calculated unallocatable cost" of-type="Decimal" usage="bound" required="true" />
<property name="yearlyExpenditureFieldName" display-name-key="Yearly Expenditure Field Name" description-key="The name of the field that holds the yearly expenditure amounts" of-type="SingleLine.Text" usage="input" required="false" />
<property name="lockOnInactiveState" display-name-key="Lock on Inactive State" description-key="Lock the control if the state field is inactive true or false" of-type="SingleLine.Text" usage="input" required="false" />
<resources>
<code path="index.ts" order="1"/>
<css path="css/ExpenditureAllocationGrid.css" order="2" />
<resx path="strings/ExpenditureAllocationGrid.1033.resx" version="1.0.0" />
</resources>
<feature-usage>
<uses-feature name="WebAPI" required="true" />
</feature-usage>
</control>
</manifest>