- Getting Started
- Before You Begin
- How To
- Notifications
- Using VB Expressions
- Designing your App
- Events and Rules
- Rule: If-Then-Else
- Rule: Open a Page
- Rule: Open URL
- Rule: Close Pop-Over/Bottom Sheet
- Rule: Log Message
- Rule: Show Message
- Rule: Show/Hide Spinner
- Rule: Set Value
- Rule: Start Process
- Rule: Reset Values
- Rule: Upload File to Storage Bucket
- Rule: Download File From Storage Bucket
- Rule: Create Entity Record
- Rule: Update Entity Record
- Rule: Delete Entity Record
- Rule: Add to Queue
- Rule: Trigger workflow
- Leveraging RPA in your App
- Leveraging Entities in Your App
- Leveraging Queues in Your App
- Application Lifecycle Management (ALM)
- Basic Troubleshooting Guide

Apps User Guide
You can add logic to your external webpage, making your embedded app responsive to screen size changes. This can be useful if you use small-screen devices, such as mobile phones, because it mitigates the need for you to scroll multiple times to see the embedded app content.
If you do not add this logic to your webpage, the embed maintains a static height and displays a scroll bar.
The script performs the following operations:
-
When a control is added to or removed from the app, the script triggers the
APP_CONTENT_HEIGHT_UPDATEDevent, and updates the height of theembedvariable.-
The
APP_CONTENT_HEIGHT_UPDATEDevent triggersAPP_CONTENT_RESIZED, which reduces the height of theembedvariable by 10 pixels.-
The
APP_CONTENT_RESIZEDevent triggers anotherAPP_CONTENT_RESIZEDevent, which again reduces the height of theembedvariable by 10 pixels.
-
-
The script repeats these operations, until:
-
The
embedvariable is at the minimum height where a scroll bar is not required to view the app. -
The
embedvariable is reduced to the initial value, which is specified byMIN_HEIGHT.
Demo
Responsive and mobile-friendly embedded app
Introduction
This webpage embeds a mobile app inside a device frame. The app displays content responsively for mobile usage. An iFrame loads content dynamically, and displays it inside the device frame. The app content adjusts its height based on its content, in order to prevent scrollbars.