How to import resources and application into Bonita runtime ?

1
0
-1

Hello

I'm trying to import an app developed in Bonita Studio Community Edition into a Bonita runtime bundle but i don't achieve to make it work.

I've imported the default layout, the form, the page. I've created an application in Bonita Runtime but it does not associate elements well.

And also, when i try to open the app url, comes a 403 error in the web browser. Then, the app does not work.

Is it possible to make the apps, processes, forms developed in Bonita Studio Community running in Bonita runtime bundle ?

Thanks for your help

Best regards

Comments

Submitted by nasrin788_1384620 on Mon, 01/10/2022 - 07:53

Hi,

Did you import the program before? or is it the firs time?

Which version are you using?

Submitted by romain_foulon on Tue, 01/11/2022 - 16:29

Hello,

It's the first time i import my app in Bonita runtime.

I've created the program with Bonita Studio 2021.1 but Bonita runtime is 2021.2 u0.

I've created a process with a few forms and a custom page.

All is not yet working but the forms display on screen when i launch portal since Bonita Studio.

Best regards

Submitted by nasrin788_1384620 on Sat, 01/15/2022 - 09:25

Maybe different between Bonita Studio and Bonita runtime causes this problem.

Did you test using the same version?

Submitted by romain_foulon on Mon, 02/21/2022 - 17:14

There is a problem launching the 2021.1 Runtime Tomcat edition.

When you try to log with install user, it just goes to a loading page and stays on that page.

Then, i tried with 2021.2 u0 and i can log in with private mode on my first user.

Now, i have an other problem i described at bottom of this page.

Could someone help me please ?

Best regards, thanks for your help

1 answer

1
+1
-1
This one is the BEST answer!

Hi,

If you have a 403 error when you open the app, you need to make sure the user logged in has the permission to access the application. Say you have created the app for the Profile User but the logged user was not added to the User profile in your Bundle runtime, then you'll get a 403 error. You can also run into a 403 when your user doesn't have the permissions associated to the pages and resources used in your application: https://documentation.bonitasoft.com/bonita/2021.2/identity/rest-api-aut...

Try the following:

- Add the user to the Profile declared in the application on your Bundle runtime.
- Open your browser in private (incognito) mode
- Logout and log back in and open the application again.

If you want to troubleshoot what elements of your application is causing the issue, the best way is to inspect your page with the Developer tool (F12) and open the network tab. You'll be able to see what API call and URL is raising errors and narrow down where the issue is coming from.

HTH

Comments

Submitted by romain_foulon on Mon, 02/21/2022 - 17:11

Hi,

Thanks for this help.

Indeed, the private mode helps to get the right page.

My problem now is to import the layouts I need to get the app work.

I don't really understand how we are supposed to import layouts and pages.

Could you help me about that ?

Thanks for your help

Submitted by marielle.spiteri on Tue, 02/22/2022 - 19:16

Hi,

Sure. The layout and pages must be installed by someone with the profile Administrator, from the Menu Resources.

Here is the documentation page on how to add Resources: https://documentation.bonitasoft.com/bonita/2021.2/resource-management#_....

HTH

Submitted by nasrin788_1384620 on Sun, 03/06/2022 - 07:44

Thanks a lot!

Notifications