2. Create CAP Application with Joule

2. Create CAP Application with Joule

  1. Launch the Joule digital assistant.

    • Wait for the digital assistant to open. If it fails to open then please refresh your browser.

    2_E2E_BuildCode
  2. To ask Joule to generate a CAP application, enter /cap-gen-app into the prompt field.

    2_E2E_BuildCode
  3. Generate the data model and services by copying and pasting the prompt into the field where it says Describe what you need to do.

Create an application to submit purchase transactions. It should contain the fields: customer, material, quantity, product, delivery date.

  1. Select Generate.

    2_E2E_BuildCode
  2. The code should be generated now below your prompt.

    2_E2E_BuildCode
  3. Select Accept.

    2_E2E_BuildCode
  4. Once the code is accepted, the update will be reflected on the Storyboard. Please allow up to two minutes for Joule to generate the data models and services.

    2_E2E_BuildCode