cancel
Showing results for 
Search instead for 
Did you mean: 

Upload form with B1 Studio Suite for VS in SAP B1 Browser Access

former_member183397
Participant
0 Kudos

Hello everyone.

I have some time developing AddOns under the framework of SAP B1 Studio Suite for Visual Studio, so far everything had worked correctly on the desktop client, but when I tried these programs recently in SAP B1 Browser Access 9.2, when calling "complex" user forms, , These are not fully loaded, only show some items (These are basic items that according to SAP documentation, the browser access should handle without problems).

For example, we have this form with some items, designed in the B1 studio for VS:

B1 Browser Access is loaded like this (It does well on the desktop client):

You will see that a lot of items are missing.

This happens when the form is called as follows:

            FormTest2 activeForm = new FormTest2();
            activeForm.Show();

But if I load the form from the classic form using "SBO_Application.Forms.AddEx (formDefinition)" or "SBO_Application.LoadBatchActions (ref sXML)", it is displayed correctly.

            SAPbouiCOM.Form activeForm = LoadFormToProjectB1s("FormTest2.b1f", "PruebaCarga.FormTest2", SAPbouiCOM.BoFormModality.fm_None);
            activeForm.Visible = true;

The problem with using AddEx or LoadBatchActions is that I lose all the functionality provided by the B1 Studio Suite when handling events directly by the form class (without the need to explicitly use the ItemEvent Handler)

Any solution or suggestion?If there is no other way to use XML, how can I associate the newly created form (Forms.AddEx) with the events defined for the form's items (

private void Button1_ClickAfter) according to B1 Studio Suite

Regards

Accepted Solutions (0)

Answers (0)