Custom Page Development

1
0
-1

I am looking to get some documentation on custom page creation and have not found anything good yet. Looked at the below link but it does not explain how to start creating the custom page.
http://documentation.bonitasoft.com/how-access-and-display-business-data...

My questions are:

  1. Is it possible to create custom groovy pages from scratch in Community Edition? Or is my only option to export the sample groovy page and then try to modify it?

  2. When I export the sample groovy page and open it in eclipse as a Groovy project, it is unable to find the below classes and I don't see them in the jars included with this page lib as well.
    import org.bonitasoft.console.common.server.page.PageContext
    import org.bonitasoft.console.common.server.page.PageController
    import org.bonitasoft.console.common.server.page.PageResourceProvider

  3. My custom application pages need to have some tables fetching data from business data and then links to let the user do his tasks from this main page instead of going to the cases individually. Do I need Groovy and/or Angular custom pages or can this be achieved using a html page?

2 answers

1
+1
-1

read this:

http://community.bonitasoft.com/project/ping

1) A custom page does not have to be Grrovy it can be anything, even PHP if you want it to be...

2) See Ping above

3) I already answered this one, you can use HTML with JavaScript to access the database with AJAX calls and a webservice.

regards
Seán

1
0
-1

I still can't find PageController and other classes and hence my Groovy script shows errors in eclipse. I get that html and ajax can be used but where is the documentation? These examples like ping don't help either because they don't have any documentation.

I created a custom page using UI designer and used BDM API to query on the business objects and get the results and display in a table. So far so good. But I am having trouble displaying links for the user to directly go to the form for their tasks right from this custom page so that they don't have to go to the portal and then to the tasks and click 'DO IT'.

Comments

Submitted by Sean McP on Sun, 03/20/2016 - 05:30

I don't think there are examples of HTML and AJAX, so you effectively have to create your own.

Here is an example of how to do AJAX from JavaScript which you can add to your HTML page.

http://community.bonitasoft.com/node/22070#node-22071

regards
Seán

PS: Maybe I should write a book...?

Notifications