Though, I have read a few posts on how to achieve this using Community Edition of Bonitasoft, yet I have not been very successful in committing the changes. Every time we re-login from within Bonita Studio, we get the original BonitaSoft theme.
Kindly direct me on how to proceed with this in the Community Edition of the software?
First things first there is Community and Subscription. These are the same thing, except for some exceptions that effect Enterprises rather than low-cost community/free services. LDAP for example should not be used for Free, nor should multi-processor/Load-Balancing services. These are not in community but are in subscription. Some things like Layout and Theme are also in Subscription and not Community but these just make it easier to customize for the enterprise and do not affect how the system actually works.
Note that I say Community and Subscription in the above because both come with a Studio (with in-built Portal) and Production Portal. They are effectively the same thing.
Production Studio (Community and Subscription) can be changed following these instructions:
Following these instructions Production Portal will stay the colour you want, and the logo will be your logo every time.
Studio Portal (Community and Subscription) cannot be changed this way. This is because Studio Portal is effectively regenerated every time you shut down Studio and restart it. It is the way it is built.
You ask - Change and Recompile from source - Is there a way we can do this?
However, if we wish to change the theme for our production portal using community edition of the software, is there a way that can be achieved? Change and Recompile from source - Is there a way we can do this? So far, what we have tried is to make modifications to the skin/skin.config.less file to replace the Bonita logo with our own but since the tenant_id is generated dynamically everytime, the changes do not affect (as you explained)
Moreover, I want to understand what is the difference between the portal that is launched from the studio and the Production Portal.
EDIT :
Following one of the earlier posts in this issue, we took the bonita.war file and created a zipped folder for it. On uncompressing the folder, we made necessary changes to the bonita-console and bonita.css to modify the logo. Then, we recreated the .war file from within the uncompressed folder using the following command: jar -cvf bonita.war *
We replaced the previous war with the changed war file, but the changes were not affected.
How do we recompile the code to affect the changes? Also, when we deploy Bonita on a hosting server, how will we export the changes to the deploy bundle?
This is a bit confusing when trying to do from Community edition, so some hints would definitely help us.
Appreciate all the guidance I can get in this regard.
Thanks, Sean for the prompt and detailed reply to the comment.
What I was trying to do is to unpack and change the war file, but on making all these changes, nothing changed. Will rebooting the system work as mentioned in one of the comments here
Though I still have a doubt:
In order to test the system, we have deployed the Bonita Community Edition deploy bundle on to the server. So, if we were to change the look and feel of this deployed version, is it possible to do so with the instructions to be followed in case of Production Portal as you mention above. Is this the link you are talking about for changing the Production Portal??
The link is correct yes for doing Production Portal, the text is repeated here:
To Customize Production Portal and is explained in various other posts, however here is the short version:
Backup the Bonitasoft database
Extract the two files Content.Zip and CSSContent.txt from the Bonitasoft database table Theme (these are BLOB columns (CONTENT and CSSCONTENT respectively))
Import the two files Content.Zip and CSSContent.txt to the Bonitasoft database table Theme overwriting the previous data (CONTENT and CSSCONTENT columns respectively)
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.