cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Element - how to hide the Search Field with local annotation or other way...

luc_olivier2
Explorer
0 Kudos

Hello all,

We create a Fiori Element app with a List Report and an Object Page.

As we are using an XS OData, we have no annotation in the Metadata file. I cannot put in the metadata file sap:searchable="false", for example.

Is there a local annotation or manifest.json parameter to hide the Search field ?

The Variant and the Smart Filter Fields are working fine (LOCATIONTAG on the picture) but not the Search Field.

Thanks for any help.

Luc

Accepted Solutions (1)

Accepted Solutions (1)

leonardofreitas
Active Participant
0 Kudos

Hi,

l hope you are well.

Go to this link, http://scn.sap.com/community/mobile/blog/2014/07/14/fiori--how-to-hide-catalog-button-on-fiori-launc...

That document goes through, how to hide (Catalog Button / Search field / etc)

Att,

Leonardo de Freitas

luc_olivier2
Explorer

Hello Leonardo,

This looks perfect and even useful for other projects !

I will try it asap and answer you.

Thanks,

Luc

Answers (3)

Answers (3)

Joseph_BERTHE
Active Contributor

Hi,

On your EntitySet, in SEGW, unselect the floag Searchable. Rebuild the project, clear all metadat cache and reload your app.

Regards,

Joseph

luc_olivier2
Explorer
0 Kudos

Hello Joseph,

Thanks for your answer but as I mentioned we got the OData from XS Engine Hana and not from SAP GW. I cannot use SEGW.

I agree this would have been the easy way 🙂

Luc

luc_olivier2
Explorer
0 Kudos

Thanks Joseph. At the end,we didn't use Fiori Elements and annotations but we designed a Freestyle app.

Luc

Joseph_BERTHE
Active Contributor
0 Kudos

Did you try using local annotation in the application side ? if not, with XSOdata it seams not possible to interact with Annotation. Some insigth here : https://archive.sap.com/discussions/thread/3914236

Regards,

Joseph