cancel
Showing results for 
Search instead for 
Did you mean: 

Implement Auto-Complete Search in Fiori Apps

Former Member
0 Kudos

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.

Regards,

Divyata Dal

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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???