Offline HTML & JavaScript Bridge: Extended flexibility for any organization

offline_html_main

For any piece of technology – but especially for software products – flexibility is a backbone feature. The requirements of a business dictate which technology can be used, what is a good fit and where are the limits. Inability to deliver or to satisfy a critical need might mean an extended search for the right option, costing time, resources and money.

This is obviously true for enterprise systems in general, but even more true for mobility. The mobility landscape keeps evolving and the requirements of businesses for robust, but at the same time very flexible mobile solutions are growing by the day. That’s why we sat down with Resco’s Product Manager and long-time technical expert, Juraj Mojik, who explained how companies can tailor Resco’s mobile app with offline HTML and JavaScript Bridge. Creating one-of-a-kind user interfaces or implement unique business logic.

Custom colors, images and logos? Complex business logic running offline? Location tracking sending data in real time? Dynamic maps showing records or routes? Flexible navigation within the application? Custom components not envisioned by the product developers? “You name it! Businesses come up with such a wide variety of needs that any software product faces a lot of challenges,” Juraj confirmed.

“Limitations are always problematic. That is why we believe that every good piece of enterprise software is open and extendable. With Resco, the ultimate flexibility and extensibility comes in the form of Offline HTML and JavaScript Bridge, he explained further.

Imagine a field service operation servicing a specific type of machines. These machines display readings – values that the technician needs to enter to the mobile app. But the machine displays the values in a special way, in sort of a grid. It would be best, if the user of the mobile app could also enter the values in a grid, to avoid errors.

“Resco’s standard user interface offers a couple of ways to approach this problem, but none of them would be exactly copying the interface of the machine. What can you do? Create a custom HTML page that looks the same as the one used by the machine and insert it into the mobile app.” 

The customer might not stop there though, Juraj continued: “The entered values may also determine what kind of service the machine needs. So once the user enters the data, the app should calculate the type of service and show the result to the user. This is again something that is not present out of the box in the product, so what can you do? Write the logic in JavaScript and insert it into Resco!”

Resco’s Offline HTML and JavaScript Bridge is a flexible way of extending the mobile application. You can create your own HTML pages and insert them into the mobile application. They become part of your configuration and are available even offline. These pages can be used to extend the application’s user interface for components that are not present in Resco out of the box. Such as the data matrix in the example above. They can be used to replace the Resco’s standard UI completely.  So, you can utilize the reliable data layer with offline mode and synchronization but build your own UI from scratch.

We’ve used this approach ourselves a couple of times. For example, for the Eat with Resco app which allowed attendees of the Microsoft Inspire conference to book a meeting with Resco and order their lunch through the app – utilizing a unique, dedicated user interface, completely different from the standard Resco design.

Finally, you can use the pages and their JavaScript code only for business logic – the pages don’t have to be visible, they can just perform some calculations or other business logic in the background. “Resco’s JavaScript Bridge allows this interaction of your JavaScript code with the mobile app. To create a record in local database, query records from the server or change the form’s caption you just have to call corresponding methods – the API is really extensive! Combined all together this offers a great way to customize the application for any business needs – what can’t be covered with standard Resco configuration tools can be addressed with Offline HTML & JavaScript Bridge, concluded Juraj Mojik, Product Manager at Resco.

Intrigued to learn more? Ask us at mobilecrm@resco.net or stop by our booth at one of the many upcoming events we’ll be visiting this spring. And to learn about all things Resco in one place, you can also already pre-register for resco.next – our enterprise mobility conference, coming to Rome in autumn 2019.