
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.


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.