Question 1single_choice
Build code that targets the Client API object model
A developer is writing a shared validation function for a model-driven app targeting version 9.0 or later. The function expects form context. A main-form ribbon command passes the CrmParameter value PrimaryControl to one JavaScript wrapper. An editable-grid row event passes execution context to another wrapper. Validation must operate on the form or row that triggered the action. How should the wrappers obtain the context passed to the shared function?
Choose one answer.
