Create an application

The last step of this Getting Started tutorial is to create an application.

To create and deploy a first application in your local environment, use the Application descriptor. This editor defines the skeleton of an application, as it contains references to resources installed in Bonita Portal and used by a given application. It will also help deploy the application directly from Bonita Studio.

The page you have created in the UI Designer, as well as the forms, have been automatically added to project resources under Pages/Forms/Layout.

To create the application, add a new application descriptor:

  1. In the Bonita Studio menu click on Development  Application descriptors  New

  2. A guidance pop-up appears. Click on OK

  3. Click on Add a new application descriptor. In the pop-up window, type claims in the Application Token field, and Claims as Display name.

The applicationDescriptorFile.xml is initialized and the editor will help you create the application directly from Bonita Studio.

Application Descriptor Editor

To create an application, you have to define:

  • The application token

  • The application name

  • Which profile will have access to the application

  • The menu and pages of our application

  • The homepage

    1. Click on the button Add one-page menu under Navigation section.

    2. Type My dashboard in the column Menu

    3. Type the page name claimsList in the column Application page

    4. Enter dashboard in the column Token

      Application deployment

The look & feel can be fully customized by modifying the layout and adding a custom theme.

The application is ready to be used. Now you need to deploy it in Bonita Portal:

  1. Click on the Deploy icon deploy icon

  2. Click on Select all to make sure everything is deployed: test organization, business data model, process definition, application page

  3. Make sure that Clean BDM database before deployment is not checked as you want to keep your data for testing

  4. Click on Deploy

  5. In the Deploy status pop up window, click on Close

    Application deployment

Congratulations! You have successfully created your first process and your first application with Bonita.

Verify that the application has been created in Bonita Portal.

  1. Click on the Portal icon Portal icon in the Bonita Studio coolbar.

  2. In the upper right corner of the window, click on the User drop down menu

  3. Select Administrator

  4. Click on the Applications tab

You will see the application Claims that you have just deployed listed in the Applications list. If you click on the URL, My Dashboard page will be displayed in your brower.

To learn more about Bonita components and concepts, we recommend the Bonita Camp tutorial. Of course official documentation is also a great place to learn more about Bonita. If you prefer to learn from examples, you can find several on the community website. And finally, remember that you can always get help and ask questions of the Bonita Community.