Fxiaoke Developer Manual Fxiaoke Developer Manual
  • APL Development Manual
  • PWC Development Manual
  • OpenAPI Documentation
APL Code Introduction
API Reference
Development Tools
Release Notes
  • 简体中文
  • English
APL Code Introduction
API Reference
Development Tools
Release Notes
  • 简体中文
  • English
  • Getting Started

  • APL Function Open Scenarios

  • APL Class Open Scenarios

    • Common Library

    • Electronic Signature

    • Authentication Provider

    • Available Business Types

    • Object Controller Plugin

    • Event Listener

    • Object Export Plugin

    • ERP Integration Platform

    • Field Service Type Function Validation

    • FMCG Order Business Plugin

    • Object Business Handler

      • 1.Overview
      • 2.Configuration Steps
        • Adding a Custom Business Handler for the [New] Button
        • Adding a Custom Business Handler for the [Edit] Button
      • 3.Groovy Code Examples
      • 4.FAQ
    • Online Documentation

    • Custom Model

    • Environment Deployment

Table of Contents

Configuration Steps

# Adding a Custom Business Handler for the [New] Button

Navigate to the backend object button list and locate the [Save New] button. If this button doesn't exist, find the [New] button instead.
Object Button List - Save New

Click the edit button in the last column of the table to enter the edit page. Switch to the [Special] tab under the 5th configuration item [Actions triggered when user clicks the button].
Save New Button Edit Page

Click the [+] button next to the platform's preset business operations to enter the function selection page.
Function Selection Page

Select a function and click [Confirm] to return to the edit page. Alternatively, click [New] to enter the function creation page.
New Function Page

Enter the code name, code API Name, and code description, then click [Next] to proceed to the function template selection page.
Function Template Selection Page

Select the empty template and click [OK] to enter the function code editing page.
Function Code Editing Page

Modify the function code to implement your business logic. Click [Save], enter remarks in the pop-up dialog, then click [OK and Close] to return to the button edit page where you can see the custom business handler has been successfully added.
Save New Button Edit Page - Custom Business Handler

Click [Save] to return to the button list page, completing the process of adding a custom business handler for the [New] button.

# Adding a Custom Business Handler for the [Edit] Button

Navigate to the backend object button list and locate the [Save Edit] button. If this button doesn't exist, find the [Edit] button instead.
Object Button List - Save Edit

Click the edit button in the last column of the table to enter the edit page. Switch to the [Special] tab under the 5th configuration item [Actions triggered when user clicks the button].
Save Edit Button Edit Page

Click the [+] button next to the platform's preset business operations to enter the function selection page.
Function Selection Page 2

Select a function and click [Confirm] to return to the edit page. Alternatively, click [New] to enter the function creation page.
New Function Page 2

Enter the code name, code API Name, and code description, then click [Next] to proceed to the function template selection page.
Function Template Selection Page 2

Select the empty template and click [OK] to enter the function code editing page.
Function Code Editing Page 2

Modify the function code to implement your business logic. Click [Save], enter remarks in the pop-up dialog, then click [OK and Close] to return to the button edit page where you can see the custom business handler has been successfully added.
Save Edit Button Edit Page - Custom Business Handler

Click [Save] to return to the button list page, completing the process of adding a custom business handler for the [Edit] button.

1.Overview
3.Groovy Code Examples

← 1.Overview 3.Groovy Code Examples→

  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式