Child pages
  • Specification (.spec file)

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
        "requestFocus": {
            "parameters": [ { "name": "mustExecuteOnFocusGainedMethod", "type": "boolean", "optional": true }],
            "delayUntilFormLoads": true,
            "discardPreviouslyQueuedSimilarCalls": true
        }

Allow server side calls when component or parent form is not visible

By default, serve side call from client are ignored if the component or the parent form is not visible (anymore), such as, calling a server side function when switching to a new form, to do some cleanup. To still allow these calls,
you should add "allowaccess" : "visible" to the function definition in the spec file.

Server Side Scripting

A component or service can have a server-side part as well (optional); this logic is executed directly on the server; in the spec file this is configured like:

...