Customizing SAP Business One, Web Client Views Using UI API Extension

Objective

After completing this lesson, you will be able to use the UI API Extension with Visual Studio Code to customize SAP Business One, Web client views

How to Customize a Web Client View

A person in front of the SAP logo.

Emily is a developer and is starting to work on a project for one of their customers, OEC Computers. They asked Emily to add a button to one of the Web client views so when a user clicks the button, the current company information displays from the Service Layer. This information is useful when the users report issues to the system administrator.

The SAP Business One, Web client business partner detail view with a highlight over the “Get Company Information” button.
The SAP Business One, Web client showing a pop-up window with the company information related to that business partner.

In this video, Emily demonstrates how she adds the button to the Business Partner Detail view.

Note

To preview the extension on the SAP Business One, Web client from Visual Studio Code project, you must enable the development mode in the Web client development environment. Follow the process in this link: Running UI API Apps | SAP Help Portal.

By default, the Web client developer mode is off and should stay off in the production environment.

For more details on how to create UI API extensions refer to Working with UI API Apps in Visual Studio Code Plugin for Web Client.

To learn more about the exposed controls used in the Web client, refer to Web Client UI API References.

This extension and more examples are available for you on the Samples page of the SAP Help Portal.

Log in to track your progress & complete quizzes