English
Enhanced Approval Comments
About 382 wordsAbout 1 min
2026-04-16
- The Approval Comments area on the Approval Details page is used to display node comments. When the default presentation data does not meet the business demands, it can be enhanced by mounting logic before the idea area is rendered with the approval details plugin. * *
Typical scenarios include:
- Web: Get comment data before rendering and customize approval comment area display
- Mobile: Replace or crop the presentation data in
controlArgas a whole (includingtasks, etc.) before the opinion content is rendered
Applicable scenarios
Applicable to the requirements of the "regional level display of approval comments" category;
# Applicable Pages
- Approval comments area in the Approval Detail page (web/mobile subject to reference manual)
# When is Approval Enhancement appropriate?
If you encounter any of these needs, it's often a good idea to prioritize the enhancement of your approval:
- Need to control to hide some node comments or replace with custom render data
# Development Ideas
Approval enhancements can often be broken down into three steps:
- Register a web event or mobile hook in the Approval Details plugin (see Recommended Portal)
- Handle
getOpinionsData/setCustomDataorinstancereturned by the mobile side in the callback, strictly as agreed in the reference manual - Publish the plugin and complete configuration and validation in the Target Approval Detail Scenario
DEVELOPMENT WORKFLOW
Check whether the current page shape supports the target event or Hook against the reference manual.
Create the Approval Details plugin and register:
Handle comment data and custom display logic in callbacks.
Jointly adjust multiple nodes, multiple rounds of approval, long opinion text and other scenarios.
Publish and configure the plugin.
# Recommended entrance
Frequently asked questions
Q: Is the Enhanced Approval and Response List the same thing?
No. The idea area display is different from the default expansion of the * * response list * *. See Response List Enhancement ] for the response ability.
Next
- Response List Enhancement: Response List Enhancement
- Distinguish between components and plug-ins: View the Components Guide vs. Plug-ins Guide
