If the custom JavaScript function is coded incorrectly and does not invoke the expected behavior, the button will not work as expected. If these configurations are correct, a JavaScript code error might be the cause. Refer to Define ribbon actions for more configuration help. Incorrect parameter type or order: The parameters are declared by using an incorrect type or are in a different order than the one in which they're listed in the JavaScript function declaration.Missing parameters: The JavaScript function is expecting specific parameters, and the command definition does not declare them.Invalid Library: This path is not referring to a valid JavaScript web resource or is not prefixed with $webresource.Invalid FunctionName: The name of the JavaScript function does not match a valid function name in the JavaScript web resource that's assigned to the Library property.These mistakes can cause a button to malfunction and seem as though it does nothing when selected. The following are typical command configuration mistakes that are made when declaring the JavaScriptFunction value for the action. When a button is selected and nothing occurs, this is typically caused by an incorrect configuration of the command that's associated with the button. Fix a button that does nothing when selected
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |