on 2017 Sep 11 1:38 PM
Hi all,
I am quite new to the Fiori, CDS, gateway topics and I have a requirement on the backend side for a Fiori app.
We need to implement a Smart Table and use dynamic field control. In the CDS view I used the annotation @ObjectModel.readOnly:'EXTERNAL_CALCULATION' in order to achieve this. Now in the service, at entity level, for each field a new one was generated (eg. field 'matnr' => field 'matnr_fc' which should contain values for the field control options like read-only - 1, editable - 3, hidden - 7, etc.). The UI developer will use these values in order to adjust the field proprieties in the smart table. The problem is that all the '_fc' fields will be displayed in the table. As they are generated fields I cannot hide them explicitly in the CDS.
How can I achieve this either in CDS or in Gateway ?
From a front end perspective, the service metada should include annotations like:
<Annotations Target="TEST_SRV.EntityType/Field1"><Annotation Term="Common.FieldControl" EnumMember="Common.FieldControlType/Hidden"/><Annotation Term="UI.Hidden"/></Annotations>
Request clarification before answering.
Hi ,
I am facing the same issue, can you please tell me how to resolved this.
Thank you.
Regards,
Tasneem K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
22 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.