I have implemented this view and when i am able to save new variant , i am doing changes through filter option but when i am loading the changed variant again then data fields are not loading back.
could anyone help regarding the same.
I have found something
UI2 service for personalization
UI5 service for flexibility
I am confused now. Please Help.
<mvc:View
height="100%"
controllerName="zvariantnews.Punter"
xmlns:mvc="sap.ui.core.mvc"
xmlns:l="sap.ui.layout"
xmlns:c="sap.ui.core"
xmlns:t="sap.ui.table"
xmlns:fb="sap.ui.comp.filterbar"
xmlns="sap.m"
xmlns:v="sap.ui.comp.variants">
<Page id="idXMLView1" title="Detailed Scheduling Planning Board">
<content>
<VBox fitContainer="true">
<fb:FilterBar advancedMode="false" search="onSearch" persistencyKey="XXX" >
<fb:filterItems>
<fb:FilterItem name="A" label="Overall Profile">
<fb:control>
<Input id="overallProfile" type="Text" placeholder="Overall Profile ..." showSuggestion="true" showValueHelp="true" valueHelpRequest="overallProfileValueHelp"/>
</fb:control>
</fb:FilterItem>
<fb:FilterItem name="B" label="Time Profile" labelTooltip="Tooltip Example" mandatory="false">
<fb:control>
<Input id="timeProfile" type="Text" placeholder="Time Profile ..." showSuggestion="true" showValueHelp="true" valueHelpRequest="timeProfileValueHelp"></Input>
</fb:control>
</fb:FilterItem>
<fb:FilterItem name="C" label="Location" labelTooltip="Tooltip Example" mandatory="false">
<fb:control>
<Input id="location" type="Text" placeholder="Location ..." showSuggestion="true" showValueHelp="true" valueHelpRequest="locationValueHelp"></Input>
</fb:control>
</fb:FilterItem>
<fb:FilterItem name="D" label="Planner" labelTooltip="Tooltip Example" mandatory="false">
<fb:control>
<Input id="planner" type="Text" placeholder="Planner ..." showSuggestion="true" showValueHelp="true" valueHelpRequest="plannerValueHelp"></Input>
</fb:control>
</fb:FilterItem>
</fb:filterItems>
</fb:FilterBar>
</VBox>
</content>
</Page>
</mvc:View>