Hi,
I am using a SmartTable/SmartFilter with a variant. Everything works fine with it when I test it locally in Business Application Studio. But then when I deploy it via MTA the variants are unable to be saved.
Here is the section of XML where I use the variant:
<smartFilterBar:SmartFilterBar id="smartFilterBar" filterChange="onSmartBarFilterChange" initialise="onInitSmartFilterBar" initialized="onInitSmartFilterBar" class="sapContrastPlus" persistencyKey="AvgDelTimeSmartFilterPKey" entitySet="YY1_POGoodsReceiptWF_API" enableBasicSearch="false" hSpacing="0">When I run it from BAS, it works just fine:

However, once I build/deploy this via the MTA.yaml then when I run it It can not load the variant data:

When you look into the details, the Save Variant fails with a 404 (Not Found) message on the call to /sap/bc/lrep/actions/getcsrftoken/ This appears to be part of the SAPUI5 Flexibility Service.

Is there something that I need to add to the mta.yaml file that will cause that service to be active in the SAP Managed Router, or do I need to re-direct it someplace via a destination?
I'm confused really as to where that variant is being stored when I run it locally, and where it is supposed to be stored when deployed as an MTA app.
Thanks,
Jeff