Skip to Content
author's profile photo Former Member
Former Member

Implement Auto-Complete Search in Fiori Apps

Hello Experts,

We have already built an application as a POC in SAPUI5 and implemented auto-complete (Google-like) search feature. We have done this using XSJS services, since we are building complex SQL queries and eventually hit the calculation views to display the relevant data on the screen.

Now, as part of the actual implementation, we intend to migrate to Web IDE and follow Fiori guidelines to build this App. However, we figured that Fiori Apps stress on using XSOData service against XSJS variant.

We tried exploring the following options, but did not get a concrete solution:

1) Convert the existing XSJS service to XSOData service

2) Implement auto-complete feature in Fiori using some standard features (like the one that can be enabled for the Fiori Launchpad)

3) Use the existing XSJS service itself

Please can you suggest if any of the above approaches would be feasible to implement, following the Fiori architecture and standards and how we can achieve it? Any help or pointers would be highly appreciated, since this is a kinda roadblock for us.


Divyata Dal

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2016 at 08:52 AM

    Just an attempt to reframe my above question... Request your expertise in clearing my doubts... 😊

    In HANA XS, there are two major ways to expose data to clients - OData and XSJS... We have already implemented XSJS in an existing SAPUI5 application, since we are building complex queries... This XSJS service is intrinsically calling a Calculation view to implement the auto-complete (Google-like search) functionality...

    However, now we intend to migrate to Web IDE and want to migrate this application to the cloud using the Fiori architecture... We wanted to understand whether it would still be possible to continue using the XSJS services created? Means, itis valid by Fiori standards? Since it isn't the standard way of exposing data in UI5...

    Also, if we have to move away from XSJS and implement using XSODATA, can we reuse any of the existing objects? Like the Calculation View, or building the complex query in Java Script... How else can we implement the auto-complete search functionality in Fiori???

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.