Hello,
When importing in PowerApps model driven app, the property does not showup, only property-set shows up , and I noticed for property-set with of-type="OptionSet" does not seem work.
here is the code of the manifest:
<?xml version="1.0" encoding="utf-8" ?>
<manifest>
<control namespace="FDNControl" constructor="CustomTimeline" version="0.0.1" display-name-key="TS_DataSetGrid_Display_Key" description-key="TS_DataSetGrid_Desc_Key" control-type="standard">
<!--<property name="title" display-name-key="TitleGridProperty_Display_Key" description-key="TitleGridProperty_Desc_Key" of-type="SingleLine.Text" usage="input" required="true" /> -->
<!-- dataset node represents a set of entity records on CDS; allow more than one datasets -->
<property name="DisplayDate" display-name-key="Display Date" description-key="Type true or false" of-type="SingleLine.Text" usage="input" required="true" />
<property name="JsonColorConfig" display-name-key="JSON color config" description-key="JSON object used to render color according to color event field." of-type="SingleLine.Text" usage="input" required="false" />
<data-set name="dataset" display-name-key="DataSetGridProperty_Display_Key" cds-data-set-options="displayCommandBar:false;displayViewSelector:false;displayQuickFindSearch:false">
<!-- 'property-set' node represents a unique, configurable property that each record in the dataset must provide. -->
<property-set name="ColorField" display-name-key="Event color field" description-key="Setup the event colorfield , only OptionSet Supported." of-type="OptionSet" usage="bound" required="false" />
<property-set name="NameField" display-name-key="NameField" description-key="The field name" of-type="SingleLine.Text" usage="bound" required="true" />
<property-set name="DescField" display-name-key="DescField" description-key="The field description" of-type="SingleLine.Text" usage="bound" required="false" />
<property-set name="DateField" display-name-key="DateField" description-key="The sorted field" of-type="DateAndTime.DateAndTime" usage="bound" required="true" />
</data-set>
<resources>
<code path="index.ts" order="1"/>
<css path="css/style.css" order="2" />
<resx path="strings/FDN_timeline.1033.resx" version="1.0.0" />
<!-- UNCOMMENT TO ADD MORE RESOURCES
<css path="css/Timeline.css" order="1" />
<resx path="strings/Timeline.1033.resx" version="1.0.0" />
-->
</resources>
<!-- UNCOMMENT TO ENABLE THE SPECIFIED API
<feature-usage>
<uses-feature name="Device.captureAudio" required="true" />
<uses-feature name="Device.captureImage" required="true" />
<uses-feature name="Device.captureVideo" required="true" />
<uses-feature name="Device.getBarcodeValue" required="true" />
<uses-feature name="Device.getCurrentPosition" required="true" />
<uses-feature name="Device.pickFile" required="true" />
<uses-feature name="Utility" required="true" />
<uses-feature name="WebAPI" required="true" />
</feature-usage>
-->
</control>
</manifest>
Thanks , indeed the order of the xmlnodes was the issue !
Once I moved the property nodes after the dataset node, The configs shown !
thank you again
Hi @Dotnetprog ,
I have quite similar parameters in my ColorfulOptionsetGrid PCF. It worked for me. You can have a look at my manifest here: https://github.com/brasov2de/ColorfulOptionsetGrid/blob/master/ColorfulOptionsetGrid/ControlManifest.Input.xml
Maybe the properties are shown, but you need to scroll a little to see them. Sometimes I get confused too, beceause I don't directly notice that I can scroll down to see the other parameters.
I have also property-set of type OptionSet, which allows me to choose this columns (I even get the statuscode in the list, not only real OptionSets).
Silly idea, but if you don't get it to work, maybe it's worth to try to change the order in the manifest: the data-set first, and the properties after that.
Hope it helps.
Kind regards,
Diana
WarrenBelz
109
Most Valuable Professional
Michael E. Gernaey
82
Super User 2025 Season 1
MS.Ragavendar
72