FM BetterForms
BF Editorfmbetterforms.com
master
master
  • Introduction
  • 🏆Features
  • Getting Started
    • Welcome to FM BetterForms!
    • System Overview
    • Quick Tour of the BetterForms IDE
    • Phase 1: Setting Up Your Foundation
      • 1.1 Configure FileMaker Server
      • 1.2 Install BetterForms Helper File
      • 1.3 Add Your Server to BetterForms (IDE)
    • Phase 2: Building Your First Application
      • 2.1 Create an App (Site) in the IDE
      • 2.2 Create Your First Page (Intro to Page Builder)
      • 2.3 Understanding & Managing Environments (IDE)
      • 2.4 Adding Elements to Your Page
      • 2.5 Understanding Validation
      • 2.6 Adding Actions to Your Page
      • 2.7 Creating Your First List View
      • 2.8 Understanding Page Data Flow
      • 2.9 Creating Your First Hook
      • 2.10 Working with Data Tables (Coming Soon)
    • Phase 3: Understanding Core BetterForms Concepts
      • 3.1 Introduction to Hooks (and where to find them in the IDE)
      • 3.2 Running Your First Hook (Practical Example)
      • 3.3 Introduction to Actions & Action Scripts (IDE Context)
      • 3.4 Understanding the Data Model (and Page Data Model UI)
    • Phase 4: Common Customizations & Expanding Your App
      • 4.1 Adding & Configuring Buttons (Page Builder)
      • 4.2 Implementing Page Navigation (Actions & Site Navigation UI)
      • 4.3 Displaying Data in Tables (Page Builder & Element Config)
      • 4.4 Basic App Styling (Site Styling UI)
    • Phase 5: Mastering the BetterForms Environment & Advancing Your Skills
      • 5.1 Understanding & Managing Environments (In-Depth)
      • 5.2 Deep Dive: Page Configuration & Settings
        • Navigating the Page Builder Interface
        • Working with Page-Level Action Scripts
        • Configuring the Page Data Model
        • Page Integration Settings Explained
        • Managing Page Info & Other Settings
      • 5.3 Working with Global Scripts
      • 5.4 Managing App (Site) Settings & Navigation
      • 5.5 Exploring Further: What to Learn Next
    • Support & Resources
      • Getting Help
      • Learning JSON
  • Reference
    • Site Settings
      • Navigation
      • App Model
      • DOM Header Insertions
      • Global Named Actions
      • Site Structure
      • Slots / Code Injection
    • Page Settings
      • Data Model
      • Card / Window Modals
      • Validation
        • Custom Validators
      • Misc Page Settings
    • Page Elements
      • Copy of Site Structure
      • BetterForms Elements
        • Checkbox
        • Checklist
        • Cleave.js Input Masking
        • DateTime Picker
        • Google Address Autocomplete
        • Image Display Element
        • Input
        • Masked Input
        • Range Slider (noUiSlider)
        • Radios
        • Select
        • Advanced Select (selectEx)
        • TextArea
      • Common
        • Input
        • Button
        • Data Table
        • HTML
      • Grouping Elements
        • Tabs
        • Panel
        • accordion
        • accordion2
        • listrows
      • Uploading Files
        • dropzone
        • dropzone to S3
        • uploadCare
        • 🏗️Uppy File Upload Widget Integration with AWS S3
      • Misc Elements
        • Plain Text / Code Editor
        • signature
        • fullCalendar
        • rangeSlider
      • Payment Gateways
        • Authorize.net
        • PayPal
        • Stripe
      • Adding Custom Page Elements
    • Actions Processor
      • Named Actions (Action Scripts)
      • Actions
        • runUtilityHook
        • path
        • debounce
        • throttle
        • showAlert
        • showModal / hideModal
        • function
        • clipboard
        • cookie
        • setFocus
        • scrollTo
        • wait
        • emit
        • validate
        • channelJoinAnon
        • channelLeaveAnon
        • messageSend
        • messageSendAnonChannel
        • consoleError
        • showStripeCheckout
      • Authentication Actions
    • Script Hooks
      • Globals Variables
        • $$BF_Model
        • $$BF_App
        • $$BF_State
      • Keeping Keys Private
      • Reducing Payload Size
      • API Callback Endpoint
      • Common Hooks
      • Scoped Hooks
    • Users & Authentication
      • Managing User Accounts
      • Custom Login Pages
      • OAuth
    • Advanced Configuration
      • Custom Domains
    • BF Utility Functions
      • Example Usage
        • BF.i18n()
    • BF Error Codes
    • Messaging
      • Adding users to channels
      • Removing users from channels
      • Sending messages
      • Get connected users
      • Get active channels
    • Practices for File Downloads
    • BF Streaming Proxy
    • Updating the Helper File
    • Connection Trouble Shooting Guide
    • Software Testing Overview
    • JavaScript Libraries
    • FM BetterForms - Quality Assurance
    • Rollbacks and Version Control
    • BF Server Proxy
    • Setting up Auth0
    • Create an S3 Bucket on AWS
    • ApexCharts - Getting started
    • BF Enterprise Documentation
    • BetterForms Error Pages API
    • BF Streaming API
    • Creating a PWA
  • Usage Tips
    • Troubleshooting
      • Debugging
      • Frozen Actions Queue
      • Vue Variables
    • JavaScript Tips
      • Calling Named Actions from HTML Vue Events
      • Calculations
    • Hacking a Webpage
    • System Overview
    • Forms Processor
      • Form Types
      • HTML & VueJS
      • Styling and Design
    • Customizing and Styling
      • Custom CSS
      • Custom Components
        • Components Editor
        • Component Best Practices
      • Page Pre-loaders
      • Favicon
    • Design Patterns and Best Practices
      • Working with environments
      • Handling Data
      • Saving Data
      • Data Optimization
      • Business Logic
      • UI / UX
      • Debugging
      • Script Engine Optimization
    • Getting Started
    • Installation
  • Security
    • Authentication
    • Security White Paper
    • Firewalls
    • Technology Stack
  • Compatibility
Powered by GitBook
On this page
  • What is an "App" or "Site" in BetterForms?
  • Steps to Create Your New App

Was this helpful?

  1. Getting Started
  2. Phase 2: Building Your First Application

2.1 Create an App (Site) in the IDE

PreviousPhase 2: Building Your First ApplicationNext2.2 Create Your First Page (Intro to Page Builder)

Last updated 2 days ago

Was this helpful?

After (including configuring your FileMaker Server and adding it to BetterForms), you're ready to create your first web application, which BetterForms refers to as an "App" or "Site".

What is an "App" or "Site" in BetterForms?

An App/Site in BetterForms is the front-end code and configuration for an entire web application. Apps can have multiple environments (e.g., development, staging, production), where each environment is technically a separate instance of the app with its own settings and data connections.

To learn more about the comprehensive settings available for an App/Site, you can refer to the documentation later.

Steps to Create Your New App

  1. Navigate to the Apps Menu: In the BetterForms IDE (usually at https://app.fmbetterforms.com/#/sites), locate and click the "Create / New App" button (or a similar button like "Build your first app" if you're a new user).

  2. Choose a Starting Point (Optional: Using a Template):

    • You may be presented with an option to start from scratch or use a pre-built template.

    • If templates are available, you can browse them, view details (often in a popup window), and select one that suits your needs by clicking "Use This Template".

    *

    **Template Documentation:** Some templates may have additional specific documentation. [Check for template-specific guides here (example link - replace if necessary)](https://www.notion.so/delfsengineering/db16310d3e164bea8efe390cf9031c36?v=0fa6ecea0466457fad10edd331dc8a0b).
  3. Input App Details: Whether starting from scratch or a template, you'll need to provide some basic details for your new app:

    * **App Name:** This is the internal name displayed in the BetterForms editor and on your dashboard. * **Public Name:** This is the name that can be displayed on your live site (e.g., in the browser title bar). Keep it concise; you can usually change it later. * **Domain Name:** Enter the desired subdomain for your app (e.g., `myawesomeapp`.bfm.app). The system may check for availability. You can configure a custom domain later. * **Select Your Server:** From the dropdown list, choose the FileMaker Server connection you configured in [Phase 1.3](../setup/add-server-to-bf.md). If you haven't added your server yet, you might be prompted or need to go back to that step. *(The UI for this might be integrated with the "Input App Details" form or a subsequent step).*

  4. Configure Core App Settings (often on a "General" tab or similar after initial creation):

    • Set Server Credentials: Click the "Set Credentials" button (or a similar section, possibly per environment) to securely enter the username and password for the FileMaker account BetterForms will use to connect to your database. This user should have the necessary privileges as outlined in the server setup.

    • Common Hook Set Name: Enter a name for the common hook FileMaker script set for this app. For your first app, using "app" (or a similar default like "bf_hooks") is typical. This refers to a set of FileMaker scripts that BetterForms will call. You were introduced to hooks in .

    • Enable Dev Mode (Recommended for Development): While testing and developing, it's helpful to have "Dev Mode" enabled (this might be an environment-level setting). This often provides more detailed error messages and disables certain caching.

  5. Save and Prepare:

    • Save your app settings. You should see your new app preparing its development environment.

    • If you selected a server during the initial details input, the connection might be tested here. If server selection is a post-creation step, ensure you assign your configured server to the appropriate environment.

  6. Set Helper File Credentials (Environment Specific):

    • Once the app environment is available (e.g., "development"), navigate to its specific settings. This is often done by clicking a menu (e.g., three dots) associated with the app's development environment and selecting "Credentials" or "Helper File Credentials".

    • Enter the name of your FileMaker helper file (e.g., YourSolution_BF_Helper.fmp12) and the FileMaker account credentials that BetterForms will use to interact with the scripts in this helper file (as set up in ).

  7. Test Integration (Optional but Recommended):

    • You can often test the basic API integration by navigating to https://YOURDOMAIN/api (replace YOURDOMAIN with your app's assigned domain). If you see a JSON object (often a success message or status), your basic connection is working.

You have now created your first app structure! The next step is to .

create your first page within this app
setting up your foundation
Site Settings Reference
Phase 1.2
Phase 1.2
Template Selection Page
Input App Details Form