Namespaces

  • Qk - The main library and fastest way to use it.
  • Qk.Entity - Namespace with methods which the form entity is about.
  • Qk.User - Namespace with methods which user information.
  • Qk.Field - Namespace with methods to manipulate the form's fields/controls.
  • Qk.Form - Namespace to do the main operations with the form.
  • Qk.Tab - Namespace to do operations with the tab and its elements.
  • Qk.Section - Namespace to do operations with the section and its elements.
  • Qk.Utilities - Namespace to do common operations.

 

Alias

  • QuickCRM - An alias to access Quick CRM Library too with long name.
  • Util - An alias to access utilities.



Qk.Entity methods

  • Id - Return the record's Id.
  • Name - Return the record's Name.


Qk.User methods

  • Id - Return the User's Id.
  • Lcid - Return the User's Id.
  • Name - Return the User's Id.
  • Roles - Return the User's roles.


Qk.Field methods

  • Disable - Disable the field or fields.
  • Enable - Enable the field or fields.
  • Hide - Hide the field or fields.
  • Show - Show the field or fields.
  • SubmitAlways - Set the submit mode of the field or fields to always.
  • SubmitNever - Set the submit mode of the field or fields to never.
  • SubmitDirty - Set the submit mode of the field or fields to dirty.
  • FieldRequired - Set the requeriment mode of the field or fields to required.
  • FieldRecommended - Sets the requeriment mode of the field or fields to recommended.
  • FieldNotRequired - Sets the requeriment mode of the field or fields to none.
  • Id - Gets the id from a lookup.
  • Name - Gets the name from a lookup.
  • EntityType - Gets the entity type from a lookup.
  • Value - Obtains the values of the field or fields.
  • AttributeType - Gets the attribute type of the field or fields.
  • SetValue - Sets the value of the field or fields.
  • ResetValue - Resets an boolean or optionset attribute type field.
  • Add - Adds an option or options in a field.
  • Remove - Removes all or an option. Could be selected by name.
  • RemoveAll - Removes all options from a picklist.
  • ShowNotification - Sets the notification to show about a control or controls.
  • HideNotification - Clears the notifications about a control or controls.


Qk.Form methods

  • FormType - Enum with the possible form types.
  • Alert - Shows an alert.
  • Confirm - Shows an confirm dialog.
  • Close - Closes the form.
  • SaveRecord - Saves the record.
  • OrgLCID - Gets the organization language Id.
  • IsDirty - Gets the form dirty status.
  • Notification.Info - Shows an info notification.
  • Notification.Error - Shows an error notification.
  • Notification.Warning - Shows a warning notification.
  • Notification.Hide - Clears the form notification.


Qk.Tab methods

  • DisableAllControls - Disables all controls in a tab.
  • EnableAllControls - Enables all controls in a tab.
  • HideAllControls - Hides all controls in a tab.
  • ShowAllControls - Shows all controls in a tab.



Qk.Section methods

  • DisableAllControls - Disables all controls in a section.
  • EnableAllControls - Enables all controls in a section.
  • HideAllControls - Hides all controls in a section.
  • ShowAllControls - Shows all controls in a section.


Qk.Utilities methods

  • IdCompare - Compares two values and determines if are equal.
  • AreValuesEqual - Compares two guids and determines if are equal.
  • CheckTypes - Specifies what kind of type is the field.
  • IsString - Checks if the value is a string.
  • IsArray - Checks if the value is an array.
  • DoesControlHaveAttribute - Checks if the control has attributes (iframe, webresource or subgrid).
  • SingleCheck -Sets booleans in a section to false with a single click.

Last edited Jul 3, 2015 at 12:56 PM by JorgeMoreno, version 1