Utility Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)
Inheritance Hierarchy
System.Object
Microsoft.Crm.UnifiedServiceDesk.Dynamics.Utility
Syntax
public class Utility
Public Class Utility
Constructors
Name | Description | |
---|---|---|
Utility() | Initializes a new instance of the Utility class. |
Properties
Name | Description | |
---|---|---|
MaxCRMSearchResults | Gets the number of search results. |
Methods
Name | Description | |
---|---|---|
ActionFromEntity(Entity, String) | Intenal function used to create an ActionDefinition from a CRM entity. |
|
CalculateGridLength(String, String) | Creates a XAML GridLength object giving a string value an type defining the value. See .NET documentation for GridLength for more information |
|
CheckScriptCondition(String, Context, Session) | Given the condition string, determines whether the condition is true or false. |
|
CheckScriptCondition(String, Context, Session, Dictionary<String, String>) | Given the condition string, determines whether the condition is true or false. |
|
CheckScriptCondition(String, Context, Session, List<LookupRequestItem>) | Given the condition string, determines whether the condition is true or false. |
|
ConvertListToDictionary(List<LookupRequestItem>) | Converts a LookupRequestItem list to a dictionary. |
|
EnsureQualifiedRootUrl(String) | 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. |
|
EnsureQualifiedUrl(String, HostedControlType) | ||
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetAndRemoveParameter(List<KeyValuePair<String, String>>, Int32) | Retrieves a specific parameter by line number |
|
GetAndRemoveParameter(List<KeyValuePair<String, String>>, String) | Takes a parameter list from a prior call to SplitLines and retrieves a specific parameter by name. The parameter is removed from the list so it can only be retrieved once with this call. |
|
GetApplicationDisplayName(IHostedApplication) | Gets the application’s display name. |
|
GetConfigurationValue(String) | Shortcut function to retrieve a configuration value from the server. |
|
GetContextReplacedString(String, Context, DynamicsCustomerRecord, Dictionary<String, String>, Nullable<UInt32>) | Takes a string with replacement parameters embedded within it, and returns a string with those replacement parameters with values replaced. |
|
GetContextReplacedString(String, Context, DynamicsCustomerRecord, List<LookupRequestItem>) | Takes a string with replacement parameters embedded within it, and returns a string with those replacement parameters with values replaced. |
|
GetContextReplacedString(String, Context, Session) | Takes a string with replacement parameters embedded within it, and returns a string with those replacement parameters with values replaced. |
|
GetContextReplacedString(String, Context, Session, Dictionary<String, String>) | Takes a string with replacement parameters embedded within it, and returns a string with those replacement parameters with values replaced. |
|
GetContextReplacedString(String, Context, Session, List<LookupRequestItem>) | Takes a string with replacement parameters embedded within it, and returns a string with those replacement parameters with values replaced. |
|
GetCrmUiUrl() | Retrieves the UI URL. This one will include the org name. |
|
GetDetailedException(Exception) | ||
GetHashCode() | (Inherited from Object.) |
|
GetImage(String, ImageResources) | Retrieves an image from CRM resources or a URL. |
|
GetImage(String, ImageResources, Boolean) | Retrieves an image from CRM resources or a URL |
|
GetInnerExceptionMessage(Exception) | ||
GetISHUiUrl() | ||
GetReplacementList() | Retrieves the list of replacement parameters. This is primarily used by the debugger. |
|
GetRootCrmUiUrl() | Retrieves the root CRM URL. All URLs in the CRM site will start with this URL. |
|
GetSecureImage(String) | Retrieves an image via URL. Default network credentials are supplied. |
|
GetType() | (Inherited from Object.) |
|
IsAllReplacementValuesReplaced(String) | Determines if all replacement parameters are replaced in the supplied string. |
|
isXml(String) | Checks if the string is XML based or not. |
|
LoadElement(String) | Loads the elements. |
|
MemberwiseClone() | (Inherited from Object.) |
|
ProcessActionParamsForEmptyKeys(List<KeyValuePair<String, String>>) | ||
RemainderParameter(List<KeyValuePair<String, String>>) | Retrieves the rest of the parameters as a multiline string. |
|
RemoveRibbon(String) | Removes the ribbon. |
|
ReplaceMultiValueData(CRMApplicationData, String, String) | Internal function used to replace multiple value data. It is public because it is used by the DynamicsCustomerRecord. |
|
ReplaceMultiValueData(String, String, String) | Internal function used to replace multiple value data. It is public because it is used by the DynamicsCustomerRecord. |
|
SplitLines(String, Context, Session) | Takes data parameters as a flat string and splits the lines into a CCD parameter list. |
|
SplitLines(String, Context, Sessions) | Takes data parameters as a flat string and splits the lines into a CCD parameter list. |
|
ToString() | (Inherited from Object.) |
|
Unescape(String) | Unescapes an escaped string. |
Fields
Name | Description | |
---|---|---|
FatalExceptionExitCode | ||
IEPROCESSKEYBOARDSHORTCUT | ||
SyncFlushErrorCode | ||
SyncFlushErrorText |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright