Objects accessible in CRM scripting

Script Type

Objects Available

Create Script

CRM Object Model, properties and methods (current context). CurrentUser object and Value property (the value the user is submitting).

Validate Script

CRM Object Model, properties and methods (current context). CurrentUser object and Value property, as well as Valid property and ErrorStr method.

OnChange Script

HTML DOM properties and methods as well as CurrentUser object and Value property.

The Current User and Value are the only CRM Object properties you can reference from the client side.