Utility Members

The following tables list the members exposed by the Utility type.

Public Constructors

  Name Description
  Utility Initializes a new instance of the Utility class.

Top

Public Properties

  Name Description
public property static MaxCRMSearchResults Gets the number of search results.

Top

Public Methods

(see also Protected Methods)

  Name Description
public methodstatic ActionFromEntity Intenal function used to create an ActionDefinition from a CRM entity.
public methodstatic CalculateGridLength Creates a XAML GridLength object giving a string value an type defining the value. See .NET documentation for GridLength for more information
public methodstatic CheckScriptCondition Overloaded.  
public methodstatic ConvertListToDictionary Converts a LookupRequestItem list to a dictionary.
public methodstatic EnsureQualifiedRootUrl This takes a relative URI and prepends the CRM URL to create a fully qualified URL without the ORG name if it appears after the hostname.
public methodstatic EnsureQualifiedUrl This takes a relative URI and prepends the CRM URL to create a fully qualified CRM URL
public method Equals  (inherited from Object)
public methodstatic GetAndRemoveParameter Overloaded.  
public methodstatic GetApplicationDisplayName Gets the application’s display name.
public methodstatic GetConfigurationValue Shortcut function to retrieve a configuration value from the server.
public methodstatic GetContextReplacedString Overloaded.  
public methodstatic GetCrmUiUrl Retrieves the UI URL. This one will include the org name.
public method GetHashCode  (inherited from Object)
public methodstatic GetImage Overloaded.  
public methodstatic GetReplacementList Retrieves the list of replacement parameters. This is primarily used by the debugger.
public methodstatic GetRootCrmUiUrl Retrieves the root CRM URL. All URLs in the CRM site will start with this URL.
public methodstatic GetSecureImage Retrieves an image via URL. Default network credentials are supplied.
public method GetType  (inherited from Object)
public methodstatic IsAllReplacementValuesReplaced Determines if all replacement parameters are replaced in the supplied string.
public methodstatic isXml Checks if the string is XML based or not.
public methodstatic LoadElement Loads the elements.
public methodstatic RemainderParameter Retrieves the rest of the parameters as a multiline string.
public methodstatic RemoveRibbon Removes the ribbon.
public methodstatic ReplaceMultiValueData Overloaded.  
public methodstatic SplitLines Overloaded.  
public method ToString  (inherited from Object)
public methodstatic Unescape Unescapes an escaped string.

Top

Protected Methods

  Name Description
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)

Top

See Also

Reference

Utility Class
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.