Quantcast
Channel: SCN : Popular Discussions - SAP NetWeaver Gateway Developer Center
Viewing all articles
Browse latest Browse all 1657

Change/Enhance Generated Gateway Metadata

$
0
0

Is there a way to change the gateway generated metadata?  I understand that there Model Provider Extension Class which allows to manipulate some values however here is what I'm looking for.

 

Smart Filterbar and SmartTable controls require the attribute sap:filterable="true" or sap:required-in-filter="true".  While the gateway doesn't allow to set or return required-in-filter attribute but it does allow to set the filter field to true/false.  The default is true, so the meta doesn't return those values:

 

Capture.JPG

 

The examples from SAPUI5 Explored always contain embedded metadata with correct attributes set, hence work as expected, but they do not work with the gateway metadata.

 

I could modify the metadata and using the mock data make my code work, however I need to be able to do the same to the generated metadata until sap gateway team provides a fix or ui5 development interprets the metadata respecting the defaults.

 

Capture2.JPG

 

Appreciate any help from the Gateway gurus.

 

Thank You


Viewing all articles
Browse latest Browse all 1657

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>