English
Quick Start
About 160 wordsLess than 1 minute
2025-12-16
This page describes how to create a V2 JS plugin for the mobile list page, how to upload and configure it, and includes a basic example.
Create a Plugin
Directory Structure
root:
- index.js
- config.jsonEntry File: index.js
/** Plugin class */
module.exports = function (context, pluginService, pluginParam) {
return {
enableCustomPluginV2() {
return true;
},
apply() {
return [{
event: "list.render.before",
functional(pluginExecResult, options) {
return {
title: "Custom Plugin - Title Text",
};
}
}];
}
}
}Config File: config.json
{
"main": "index.js"
}Upload Plugin Code
Web side => Admin Backend => Custom Development Platform => Custom Plugin => Create New => choose List Page JS Plugin as the plugin type => upload the code zip package => save and publish.
Note: If publishing fails, check whether the compression method is correct. You must compress from inside the folder.
Plugin Configuration
In Object Management Backend => List Layout => Mobile List Page JS Plugin => choose either a plugin not limited to an object or a plugin bound to the current object => save.
