RE: Customise Schedule Board - Field Service
Hi Jeevan, I have a similar problem while customizing the filter layout. I added a new field on the Bookable Resource entity called Resource Kind, it is an option set with two values "Static" and "Mobile". I would like to add a filter criteria based on this new field, I edited the xml layout as follow, but the result is not what expected:
<?xml version="1.0" encoding="utf-8" ?>
<filter>
<controls>
<control type="characteristic" key="Characteristics" label-id="ScheduleAssistant.West.Skills" />
<control type="combo" source="entity" key="Roles" inactive-state="1" label-id="ScheduleAssistant.West.Roles" entity="bookableresourcecategory" multi="true" />
<control type="combo" source="entity" key="Territories" unspecified-key="UnspecifiedTerritory" label-id="ScheduleAssistant.West.Territories" entity="territory" multi="true" />
<control type="combo" source="optionset" key="ResourceTypes" label-id="SB_FilterPanel_ResourceTypesFilter_Title" entity="bookableresource" attribute="resourcetype" multi="true">
<data>
<value id="2" />
<value id="3" />
<value id="4" />
<value id="5" />
</data>
</control>
<control type="combo" source="optionset" key="ResourceKind" label-id="SB_FilterPanel_ResourceKindFilter_Title" entity="bookableresource" attribute="resourcekind" multi="true">
<data>
<value id="100000000" />
<value id="100000001" />
</data>
</control>
<control type="order" key="Orders" label-id="FilterControl_OrderLabel">
<order name="name" entity="bookableresource" attribute="name" />
<order name="proficiencyscore" entity="bookableresourcecharacteristic" attribute="ratingvalue" />
</control>
</controls>
</filter>
Do you have any hint?
I am wondering also if it exists a documentation for this syntax, it is unbelievable that we have to programming by attempts,
Regards,
Paolo