Skip to content

Creating and Enhancing Mobile Development Kit Projects Using Joule

This guide will walk you through the steps to effectively leverage Joule to generate a new Mobile Development Kit project or enhance your new/existing Mobile Development Kit projects. This feature allows you to automate the generation of a fully working Mobile Development Kit project or essential app definitions—such as pages and actions— thereby streamlining the creation of metadata and improving efficiency and consistency throughout your development process.

Additionally, Joule can automate the creation of translation files in multiple languages directly from a source file (i18n.properties) that contains key-value string pairs. This functionality ensures that your applications are not only efficient but also easily adaptable to diverse linguistic requirements.

By integrating Joule into your Mobile Development Kit projects, you can focus more on innovation while reducing the manual effort involved in repetitive tasks.

Generating Mobile Development Kit Project

There are two options to generate an Mobile Development Kit project using the AI Assistant.

Option 1 : Opening the Joule Panel via Storyboard

1
2
3
4
5
1. Click the `Joule` icon under the **UI Applications** column in the storyboard. 
1. You can either compose a prompt based on your requirements or use the sample prompt provided by Joule.
1. Click the send icon to send the prompt to Joule.
1. The Joule opens, and a full working Mobile Development Kit project is generated and displayed below your prompt.
1. Review the code snippets for each file and click **Accept** to save the generated project under the project explorer.

Option 2 : Opening the Joule Panel Directly

1
2
3
4
5
6
7
1. In SAP Business Application Studio, open the AI assistant, Joule, from the activity bar. If you do not see the icon, click **Additional Views** and select **Joule** from the list.
1. Type / to access available Joule's commands.
1. Select the `/mdk-gen-project Generate MDK Project` command.
1. You can either compose a prompt based on your requirements or use the sample prompt provided by Joule.
1. Click the send icon to send the prompt to Joule.
1. A full working Mobile Development Kit project is generated and displayed below your prompt.
1. Review the code snippets for each file and click **Accept** to save the generated project under the project explorer.

Generating Mobile Development Kit Page

  1. In SAP Business Application Studio, open the AI assistant, Joule, from the activity bar. If you do not see the icon, click Additional Views and select Joule from the list.
  2. Type / to access available Joule's commands.
  3. Select the /mdk-gen-page Generate MDK Page command.
  4. You can either compose a prompt based on your requirements or use the sample prompt provided by Joule.
  5. Click the send icon to send the prompt to Joule.
  6. Code for the prompted Mobile Development Kit page, and the corresponding actions or rules are generated and displayed below your prompt.
  7. Review the code snippets and click Accept to save the code under the Pages, Actions and Rules folders, respectively.

Note

Only the following section types are supported in Mobile Development Kit pages:

  • ContactTable
  • KeyValue
  • ObjectCard
  • ObjectTable
  • ObjectCollection
  • SimplePropertyCollection
  • FormCell
  • CardCollection
  • DataTable
  • KPIHeader
  • ProfileHeader
  • Timeline
  • TimelinePreview
  • Calendar

Generating Mobile Development Kit Action

  1. In SAP Business Application Studio, open the AI assistant, Joule, from the activity bar. If you do not see the icon, click Additional Views and select Joule from the list.
  2. Type / to access available Joule's commands.
  3. Select the /mdk-gen-action Generate MDK Action command.
  4. You can either compose a prompt based on your requirements or use the sample prompt provided by Joule.
  5. Click the send icon to send the prompt to Joule.
  6. Code for the prompted Mobile Development Kit action is generated and displayed below your prompt.
  7. Review the code snippets and click Accept to save the code under the Actions folder.

Note

Only the following action types are supported:

OData:

  • CreateODataEntity
  • CreateODataMedia
  • UploadODataMedia
  • CreateODataService
  • DeleteODataEntity
  • DeleteODataMedia
  • DownloadMediaOData
  • DownloadOfflineOData
  • UndoPendingChanges
  • UpdateODataEntity
  • UploadStreamOData
  • UploadOfflineOData
  • CancelUploadOfflineOData
  • CancelDownloadOfflineOData
  • ReadODataService
  • CreateODataRelatedEntity
  • CreateODataRelatedMedia
  • RemoveDefiningRequest
  • ClearOfflineOData
  • CloseOfflineOData
  • InitializeOfflineOData
  • OpenODataService

Logging:

  • LogMessage
  • UploadLog
  • SetState
  • SetLevel
  • ChangeSet

Messaging:

  • Message
  • ProgressBanner
  • Banner
  • ToastMessage
  • ChatCompletion
  • CheckRequiredFields
  • Filter

Navigation:

  • Navigation
  • PopoverMenu

Push:

  • PushNotificationRegister
  • PushNotificationUnregister

Rest:

  • SendRequest
  • OpenDocument

Generating Translation Files

  1. In SAP Business Application Studio, open the AI assistant, Joule, from the activity bar. If you do not see the icon, click Additional Views and select Joule from the list.
  2. Type / to access available Joule's commands.
  3. Select the /mdk-gen-i18n Generate MDK i18n File command.
  4. You can either compose a prompt based on your requirements or use the sample prompt provided by Joule.
  5. Click the send icon to send the prompt to Joule.
  6. Translation files are generated and displayed below your prompt.
  7. Review the files and click Accept to save the files under the i18n folder.
  8. You can either choose the Merge file option to append any new changes to existing files, or select Overwrite file to completely replace an existing file with the new changes.

Last update: August 26, 2025