This is the Red Hat Mobile Application Platform (MAP) - JBoss BPMSuite (BPMS) integration demo that provides examples of a form-based client application (Cordova Light Forms App).
- Prerequisites:
- Obtain a login and domain from the Red Hat Mobile team if you don't already have them.
- You have already created a Bare Project and imported the Cloud App
-
Login to the appropriate RH MAP domain.
-
Create a Client App ('+' to the top-right corner of Apps) -> Import Existing App -> Cordova Light -> Next -> Enter App Name -> select Public Git Repository
-
Enter Git URL as https://github.com/jbossdemocentral/mobile-bpms-clientapp-integration-demo.git -> Import and move onto integration
-
Download the form from github gist - https://gist.github.com/hucmaggie/b0a7382d9d6ea49559d7
-
Import the form file by using the RHMAP command line interface:
fhc appforms forms create --formfile=RHSummit2015AutoClaimFormsApp.json
-
The original theme used in the demo is available as a github gist as well if you want to use it - https://gist.github.com/hucmaggie/72c461a2b9d5ac54a7e5
-
Import the themes file by using the RHMAP command line interface:
fhc appforms themes create --themefile=MaggiesSummit2015Theme.json
-
Associate the form and theme with your project by going to Projects -> select your project -> Client App -> Forms -> select the imported theme & form -> Save.
This project is a bare git repo for the client app that can be imported into RH MAP. The form and theme would need to be imported manually using fhc.