@W-21861732 fix: convert native mobile rental tenant app README from RTF to Markdown The README was accidentally saved in RTF format, causing rendering issues. Stripped RTF formatting and restored plain Markdown. Co-authored-by: gbockus-sf <76090802+gbockus-sf@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| config | ||
| force-app/main/default/digitalExperiences/experiencecontainer/rentalApp | ||
| .forceignore | ||
| .gitignore | ||
| package.json | ||
| README.md | ||
| sfdx-project.json | ||
Native Mobile Rental Tenant App
A sample Agentic Mobile App metadata project for Salesforce. Demonstrates a rental tenant mobile experience scaffold that you can deploy and extend for native iOS or Android.
Table of Contents
- What's Included
- Prerequisites
- Quick Start
- Step-by-Step Setup
- Testing in the Playground App
- Resources
What's Included
| Path | Description |
|---|---|
force-app/main/default/digitalExperiences/experiencecontainer/rentalApp/ |
Agentic Mobile App Digital Experience metadata for the Rental Tenant app (screen definitions, app metadata, build metadata, and language settings) |
config/project-scratch-def.json |
Scratch org definition file for creating a development org |
sfdx-project.json |
Salesforce project configuration (default package directory, login URL, API version) |
package.json |
Lightweight project scripts for basic build/lint/test placeholders |
Prerequisites
Before you begin, ensure the following are in place.
| Tool | Minimum Version | Install |
|---|---|---|
Salesforce CLI (sf) |
v2+ | npm install -g @salesforce/cli |
| Node.js | v22+ | nodejs.org |
| Git | Any recent version | git-scm.com |
Verify your Salesforce CLI version with:
sf --version
Quick Start
Run these commands from this sample directory:
sf org login web --alias <alias>
sf project deploy start --source-dir force-app --target-org <alias>
Replace <alias> with your target org alias or username.
Step-by-Step Setup
Use this section if you prefer to run each step manually.
This project is metadata-first and does not require a local UI build step for deployment.
1. Authenticate Your Org
Log in to your target org using the Salesforce CLI:
sf org login web --alias <alias>
To verify authentication:
sf org display --target-org <alias>
If you are working with a sandbox, use:
sf org login web --alias <alias> --instance-url https://test.salesforce.com
2. Deploy Metadata
Deploy the rental app Digital Experience metadata:
sf project deploy start \
--source-dir force-app/main/default/digitalExperiences \
--target-org <alias>
Testing in the Playground App
After deploying your metadata, you can preview the app on a mobile device using the Salesforce Mobile Playground.
-
In VS Code, open the Command Palette with Cmd+Shift+P and run:
SFDX: Open in Live Preview -
A QR code will appear — scan it with your device and follow the on-screen instructions to launch the app in the Playground.