Skip to content

Business logic masterclass Day 2: UI Elements

 

Go beyond forms and apply business logic across other key app layers. In this session, you’ll learn how to work with custom buttons, commands, calendar behaviors, route planners, and more — all offline-ready, built using Resco’s no-code tools. 

What you’ll learn: 

 
🔘 Custom buttons 

  • How to create custom buttons and define their logic 
  • Examples of button click actions: saving and closing form, creating a new appointment with JSON 

🛠️ Form commands 

  • Understanding form commands: what they are, how standard and DocAction commands behave 
  • Creating and configuring custom commands using onCanExecute and onExecute 
  • Translating commands using Localization 
  • Command icons 
  • Using onCanExecute to dynamically enable/disable commands (e.g., restrict the delete command in specific scenarios) 

🗂️ View logic 

  • Writing row scripts for single and multiple rows 
  • Applying conditional styles 
  • Understanding usage limits, what to keep in mind for indexing 
  • Setting up views: onSave, onChange, onButtonClick, and onCellClick 
  • Exploring different view types: Grid View and Filter View 
  • Using Edit Filter to filter the available records according to a condition 

📅 Calendar rules 

  • Applying logic to calendar views 
  • Calendar entity rules and global rules 
  • Defining different styles based on appointment statuses 

🕒 Scheduler rules 

  • onCreate and onChange events 
  • Managing working hours and weekend availability 
  • Color-coding activities based on type

🗺️ Route planner rules 

  • Triggering actions using onItemAdded and onItemCompleted 
  • Optimizing routes

This session is perfect for anyone designing logic-rich apps where interaction goes far beyond the form level—ensuring users see the right data, take the right actions, and move through the app with purpose. 

Duration: 🕒 1 hour including live Q&A 

Marek Ferenc

Marek Ferenc

IT Support Specialist

 

From the same series:

Book your call today
Choose your preferred time from our calendar and let’s connect.

day1_thumbnail

Business logic masterclass Day 1: Form rules

Master building business logic with our visual rule builder, no coding required. In this first session of our free 4-part masterclass, we will walk you through the building blocks of logic creation, including core rule types, behaviors, and tools to create intelligent mobile experiences. What you’ll learn: Whether you’re building forms for sales, inspections, or […]

Watch here
day3_thumbnail

Business logic masterclass Day 3: Inspections

Discover how to power up your inspections with smart rules. Learn how to work with dynamic questionnaires, use logic across repeatable groups, and interact with entity records: all without writing code and offline-ready. What you’ll learn: This session will equip you to build dynamic, context-aware questionnaires that respond to user input, control logic cleanly, and […]

Watch here
day4_thumbnail

Business logic masterclass Day 4: Adding Javascript

In the final session of the masterclass, we explore how JavaScript can take your business logic beyond what declarative rules allow. Learn when it’s the right tool, how Resco’s JSBridge works, and how to safely use JavaScript across forms, views, planners, inspections, and the home screen. What you’ll learn: When to use JavaScript Where JavaScript […]

Watch here