Skip to Main Content
Feature Request FR-3779
Product Area Application Builder
Status CLOSED

3 Voters

Improve Help Texts for Attributes with JavaScript

jochen.zehe Public
· May 2 2024

Idea Summary
The Help Texts often contain VERY basic information. It got better for newer attributes but the great Help Feature could show way more examples than it currently does. Especially for JS init attributes which need Code.

The place to start would be the Initialization JavaScript Function for the IG.

Also the JET Charts have much potential for JavaScipt code examples. (check the Sample Charts custom code)

Use Cases

Example code for Grid Initialization  - Show all existing options for the grid. Very helpful !

function(options) {
    console.log("options: ", options);
    return options;
}

Example code for IG Column:  Grid Column - Column Initialization JavaScript Function

The Help Text for this Field should definitely include this code:

function(options) {
    options.defaultGridColumnOptions = {
        cellCssClassesColumn: "CELL_CLASS"
    }
    return options;
}

Preferred Solution (Optional)
Put more love and way more examples in the JavaScript related Help Texts.

We reviewed this idea carefully and came to the conclusion that it does not constitute an appropriate APEX feature request.