Skip to Content

SAP Business One SDK UI API

The UI API is part of the SAP Business One Software Development Kit (SDK), and exposes user interface elements of the SAP Business One front end. It: Provides objects and methods to access screen objects of the user interface, allows access to system internal events of the user interface, allows you to change system forms and add menus, windows and fields , and allows you to generate an integrated user interface for SAP Business One and third-party applications.


How to Auto-Increment Business Partner Code for SAP Business One                  

This article includes two proposed solutions to address how to set up SAP Business One to automatically calculate the next card code for new Business Partners.

Loading XML Elements to System Forms                  

The following document will describe how to load GUI elements into a system form, when these elements (Tabs, buttons, fields, etc) are contained in an XML file. You will learn how to modify a system form by adding two new Tabs into it. These Tabs will contain additional elements such as checkboxes and radio buttons. In this way your own GUI elements can be easily identified and you assure an area in which standard fields will not be placed.

SAP Business One UI API Performance Tips                   

A question that arises very often is: How can I improve performances in my add-on? Am I taking the best from the SDK? This article provides several tips that will help you improve the performance of you add-ons developed using the UI API of SAP Business One SDK.

How to Look for System Form Changes Between Two SAP Business One Versions                 

SAP Business One Development publishes UI changes documentation every SAP Business One major release. From time to time we receive questions about the documentation location and how to use it. Read a simple example of changes made between SAP Business One 2005A SP01 and SAP Business One 2007A that illustrates how to work with this documentation.

SDK User Interface Design Guidelines                  

The User Interface Standards and Guidelines provide best practices for designing the SAP Business One interface. This document describes the structure and look of the interface and the rules used to execute the actions that affect the system.

Working with Data Sources in SAP Business One UI API                    

This article presents the two types of data sources in SAP Business One: DB Data Sources and User Data Sources.


How to create ActiveX Controls with .Net - Part 1  

Part 1: ActiveX Control is enabled in SAP Business One UI API, significantly enriching the user exprience of UI Add-On. This blog is to introduce ActiveX Control with C#, taking password ActiveX Control for example.

UI API For Dummies - Part 3 DataSources  

In the third  blog of this blog series Lisa Mulchinock will show how to use some of the UI Functionality. In this blog she will focus on DataSources and how to use them in your AddOn.

UI API For Dummies - Part 2 Items  

In the second blog in this blog series Lisa Mulchinock will show how to use some of the UI Functionality. In this blog she will focus on making a number of small changes to the GUI in relation to items on a form.

UI API For Dummies - Part 1 Menus  

In this blog series Lisa Mulchinock will show how to use some of the UI Functionality. This blog will focus on making a number of small changes to the GUI in relation to menus.

How to create Password TextBox Using ActiveX Control  

In this blog you will learn about the feature of ActiveX control can be used from SDK. Read more in János Nagy'S blog.

How to create new folders/tabs via the UI API  

Adding a folder/tab to your own user form or to a system form is a good way to add functionality to your add-on. In this blog Lisa Mulchinock will go through some examples of how to add and manipulate folder/tabs.

Simple Sample Blog - UI API Matrix SerializeAsXML Method  

Handling matrixes is a common action done by add-ons. In previous versions (6.5, 2004 & 2005) reading values from system matrixes could be done cell by cell in the GUI level or by reading from DataSource objects. This is Slow. And can result with performance issues. The SerializeAsXML function returns an xml string containing all the matrix data. It saves time and improves the performance dramatically.Another benefit of this function is that the XML that is returned from this function is compatible with .Net objects, and can be used easily in .Net projects.
Note: The SerializeAsXML is available only for reading values from matrix! Before reading the blog, download the code samples from here.


UI API Handling Grid Type Data with SDK                    (Time: 00:43:30)

This session will give a comprehensive overview of the options and limitations how to get grid type data displayed and saved through the SAP Business One SDK. This session is not targeting experts, but rather beginners. Download the presentation.

Code Samples

Add-on Technical Demo for SAP Business One                    

This code sample, written in Visual Basic .NET, shows how to connect to SAP Business One. It includes how to add a menu, how to include multilingual forms, how to add controls via code, and how to add a form via XML in SAP Business One. It also provides a framework for add-on development and form development.

Automatic Generation of SAP Business One Forms                

Use the powerful XML representation of a SAP Business One form to generate automatically forms based on this format. Automatic Generation of SAP Business One Forms article covers two examples of what can be done. Take a look on how this form is generated from UDO definitions while in the second case they are generated starting from Windows .NET forms. Code samples are provided.

Add-on Tehcnical Demo v2 for SAP Business One 2005                

The version 2 has been upgraded to 2005 using the new object of the SDK. It includes most of the 2004 and 2005 UI SAP samples. It also includes: UDO sample and the same form hard coding and how to create modal form (on the application, and on its father form).

SAP Business One SDK UI API Samples  

This article includes several samples of code for the SAP Business One Software Development Kit (SDK) for Visual Basic 6.0 and Visual Basic .NET development environments. The samples demonstrate typical work with the DI API, which enables SAP Business Partners to enhance and extend SAP Business One as well as integrate external solutions.

TechEd Summit 2005 SDK Features Demo                

This code sample, which was shown at the 2005 Tech Summit, shows how to work with forms by using SAP Business One SDK. It includes code samples that demonstrate how to download a form designed by using Screen Painter (.srf format), use Grids, use Data Tables, use Choose From Lists, work with events, and add menus on a Right Click event.

Former Member

No comments