diff --git a/tree/master/cloud/src/solution/Microsoft.Legal.MatterCenter.Service/Microsoft.Legal.MatterCenter.Utility/Constants/ServiceConstants.cs b/tree/master/cloud/src/solution/Microsoft.Legal.MatterCenter.Service/Microsoft.Legal.MatterCenter.Utility/Constants/ServiceConstants.cs
index d2b043ce..e528e4cd 100644
--- a/tree/master/cloud/src/solution/Microsoft.Legal.MatterCenter.Service/Microsoft.Legal.MatterCenter.Utility/Constants/ServiceConstants.cs
+++ b/tree/master/cloud/src/solution/Microsoft.Legal.MatterCenter.Service/Microsoft.Legal.MatterCenter.Utility/Constants/ServiceConstants.cs
@@ -1,822 +1,822 @@
-// ***********************************************************************
-// Assembly : Microsoft.Legal.MatterCenter.Utility
-// Author : v-lapedd
-// Created : 04-07-2016
-//
-// ***********************************************************************
-//
-// Copyright (c) . All rights reserved.
-//
-
-// ***********************************************************************
-
-namespace Microsoft.Legal.MatterCenter.Utility
-{
-
+// ***********************************************************************
+// Assembly : Microsoft.Legal.MatterCenter.Utility
+// Author : v-lapedd
+// Created : 04-07-2016
+//
+// ***********************************************************************
+//
+// Copyright (c) . All rights reserved.
+//
+
+// ***********************************************************************
+
+namespace Microsoft.Legal.MatterCenter.Utility
+{
+
public enum SPORoleIdMapping
{
FullControl=1073741829,
Contribute= 1073741827,
Read= 1073741826
- }
-
- ///
- /// All the constants that are used in matter center will be defined here
- ///
- public class ServiceConstants
+ }
+
+ ///
+ /// All the constants that are used in matter center will be defined here
+ ///
+ public class ServiceConstants
{
- ///
- /// Base64 string format for the image
- ///
- public const string IS_FOLDER_STRUCTURE_PRESENT_FALSE = "FALSE";
- public const string IS_FOLDER_STRUCTURE_PRESENT_TRUE = "TRUE";
+ ///
+ /// Base64 string format for the image
+ ///
+ public const string IS_FOLDER_STRUCTURE_PRESENT_FALSE = "FALSE";
+ public const string IS_FOLDER_STRUCTURE_PRESENT_TRUE = "TRUE";
public const string BASE64_IMAGE_FORMAT = "data:image/png;base64, "; //ends with a space
public const int Matter_ONE_NOTE_LENGTH = 120;
public const string CLIENT_TERM_PATH = "/";
public const string CACHE_PERMISSIONS = "Permissions";
public const string DOUBLE_INVERTED_COMMA = "\"";
- public const string SUCCESS = "200";
- ///
- /// The underscore constant
- ///
- public const string UNDER_SCORE = "_";
-
+ public const string SUCCESS = "200";
+ ///
+ /// The underscore constant
+ ///
+ public const string UNDER_SCORE = "_";
+
+ ///
+ /// The invalid char regex
+ ///
+ public const string INVALID_CHARREGEX = @"[\*\?\|\\\t/:""'<>#{}%~&]";
+
+ ///
+ /// The start end regex
+ ///
+ public const string START_END_REGEX = @"^[\. ]|[\. ]$";
+
+ ///
+ /// The invalid rule regex
+ ///
+ public const string INVALID_RULE_REGEX = @"\.{2,}";
+
+ ///
+ /// The extra space regex
+ ///
+ public const string EXTRA_SPACE_REGEX = " {2,}";
+
+ ///
+ /// The mail address field regular expression
+ ///
+ public const string MAIL_ADDRESS_FIELD_REGEX = @"""[^""]*""";
+
+ ///
+ /// The invalid file name regex
+ ///
+ public const string INVALID_FILENAME_REGEX = "_fajlovi|.files|-Dateien|_fichiers|_bestanden|_file|_archivos|-filer|_tiedostot|_pliki|_soubory|_elemei|_ficheiros|_arquivos|_dosyalar|_datoteke|_fitxers|_failid|_fails|_bylos|_fajlovi|_fitxategiak$";
+
+
+
+ #region Azure Cache keys
+ ///
+ /// Clients cache key
+ ///
+ public const string CACHE_CLIENTS = "Clients";
+
+ ///
+ /// Matter type cache key
+ ///
+ public const string CACHE_MATTER_TYPE = "MatterType";
+
+ ///
+ /// Roles cache key
+ ///
+ public const string CACHE_ROLES = "Roles";
+
+ ///
+ /// The encoded double quotes
+ ///
+ public const string ENCODED_DOUBLE_QUOTES = """;
+
+ ///
+ /// The Double quote constant
+ ///
+ public const string DOUBLE_QUOTE = "\"";
+
+ ///
+ /// The (*) asterisk constant
+ ///
+ public const string ASTERISK = "*";
+
+ ///
+ /// The comma constant
+ ///
+ public const string COMMA = ",";
+
+ ///
+ /// The semi colon constant
+ ///
+ public const string SEMICOLON = ";";
+
+ ///
+ /// The space constant
+ ///
+ public const string SPACE = " ";
+
+ ///
+ /// The Period constant
+ ///
+ public const string PERIOD = ".";
+
+ ///
+ /// Horizontal tab constant
+ ///
+ public const string HORIZONTAL_TAB = "\t";
+
+ ///
+ /// The opening bracket constant
+ ///
+ public const string OPENING_BRACKET = "(";
+
+ ///
+ /// The backward slash constant
+ ///
+ public const string BACKWARD_SLASH = "\\";
+
+ ///
+ /// The forward slash constant
+ ///
+ public const string FORWARD_SLASH = "/";
+
+ ///
+ /// The lists constant
+ ///
+ public const string LISTS = "Lists";
+
+ ///
+ /// The pipe constant
+ ///
+ public const string PIPE = "|";
+
+ ///
+ /// Hash Symbol
+ ///
+ public const string SYMBOL_HASH = "#";
+
+ ///
+ /// The @ symbol constant
+ ///
+ public const string SYMBOL_AT = "@";
+
+ ///
+ /// The closing bracket constant
+ ///
+ public const string CLOSING_BRACKET = ")";
+
+ ///
+ /// The opening angular bracket
+ ///
+ public const string OPENING_ANGULAR_BRACKET = "<";
+
+ ///
+ /// The closing angular bracket
+ ///
+ public const string CLOSING_ANGULAR_BRACKET = ">";
+
+ ///
+ /// The dollar constant
+ ///
+ public const string DOLLAR = "$";
+
+ ///
+ /// The colon constant
+ ///
+ public const string COLON = ":";
+
+ ///
+ /// The operator ampersand constant
+ ///
+ public const string OPERATOR_AMPERSAND = "&";
+
+ ///
+ /// The ?(question) constant
+ ///
+ public const string QUESTION = "?";
+
+ ///
+ /// The OR operator
+ ///
+ public const string OPERATOR_OR = "OR";
+
+ ///
+ /// The AND operator
+ ///
+ public const string OPERATOR_AND = "AND";
+
+ ///
+ /// Constant required for range operator
+ ///
+ public const string OPERATOR_RANGE = "range";
+
+
+ ///
+ /// Placeholder for minimum value of date for date filtering in range operator
+ ///
+ public const string MIN_DATE = "min";
+
+ ///
+ /// Placeholder for maximum value of date for date filtering in range operator
+ ///
+ public const string MAX_DATE = "max";
+
+ ///
+ /// Constant required for document library filter condition
+ ///
+ public const string DOCUMENT_LIBRARY_FILTER_CONDITION = "or(contentclass:STS_ListItem_DocumentLibrary,contentclass:STS_View)";
+
+ ///
+ /// Constant required for document item filter condition
+ ///
+ public const string DOCUMENT_ITEM_FILTER_CONDITION = "or(contentclass:STS_ListItem_DocumentLibrary,contentclass:STS_View)";
+
+ ///
+ /// Open square brace
+ ///
+ public const string OPEN_SQUARE_BRACE = "[";
+
+ ///
+ /// The (=)operator equal constant
+ ///
+ public const string OPERATOR_EQUAL = "=";
+
+ ///
+ /// Close square brace
+ ///
+ public const string CLOSE_SQUARE_BRACE = "]";
+
+ ///
+ /// Opening curly brace
+ ///
+ public const string OPENING_CURLY_BRACE = "{";
+
+ ///
+ /// Closing curly brace
+ ///
+ public const string CLOSING_CURLY_BRACE = "}";
+
+ ///
+ /// Name of the path field in results returned from SharePoint search
+ ///
+ public const string PATH_FIELD_NAME = "Path";
+
+ ///
+ /// Event type information
+ ///
+ public const string EVENT_INFORMATION = "INFO";
+
+ ///
+ /// Event type error
+ ///
+ /// Event type warning
+ ///
+ public const string EVENT_WARNING = "WARNING";
+
+ ///
+ /// Exception Message
+ ///
+ public const string EXCEPTION_MESSAGE = "EXCEPTION MESSAGE:";
+
+ ///
+ /// Class Name
+ ///
+ public const string CLASS_NAME = "CLASS NAME:";
+
+ ///
+ /// Class Name
+ ///
+ public const string METHOD_NAME = "METHOD NAME:";
+
+ ///
+ /// Class Name
+ ///
+ public const string LINE_NUMBER = "LINE NUMBER:";
+
+ ///
+ /// Default Event ID
+ ///
+ public const int DEFAULT_EVENT_ID = 1000;
+
+ ///
+ /// Default Failed to logging code
+ ///
+ public const int LOGGING_FAILED_CODE = 2000;
+
+ ///
+ /// Default Failed to logging code
+ ///
+ public const string LOGGING_FAILED_MESSAGE = "Failed to Logging";
+
+ ///
+ /// The error code constant
+ ///
+ public const string ERROR_CODE = "{0}" + SYMBOL_HASH + PIPE + SYMBOL_HASH + "{1}";
+
+ ///
+ /// The Escape character pattern
+ ///
+ public const string ESCAPE_CHARACTER_PATTERN = @"[\a|\b|\f|\n|\r|\t|\v]";
+
+ ///
+ /// Constant required for no pinned matters message
+ ///
+ public const string NO_PINNED_MESSAGE = "You do not have any pinned matters/documents";
+
+ ///
+ /// The column name for document GUID
+ ///
+ public const string DOCUMENT_GUID_COLUMN_NAME = "UniqueId";
+
+ ///
+ /// Title column for list item
+ ///
+ public const string TITLE = "Title";
+
+ ///
+ /// Default layout
+ ///
+ public const string DefaultLayout = "ReportCenterLayout";
+
+ ///
+ /// Master Page Gallery
+ ///
+ public const string MasterPageGallery = "Master Page Gallery";
+
+ ///
+ /// Top Zone
+ ///
+ public const string TOP_ZONE = "TopLeftZone";
+
+ ///
+ /// Header Zone
+ ///
+ public const string HEADER_ZONE = "HeaderZone";
+
+ ///
+ /// Footer Zone
+ ///
+ public const string FOOTER_ZONE = "FooterZone";
+
+ ///
+ /// Middle left zone
+ ///
+ public const string MIDDLE_LEFT_ZONE = "MiddleLeftZone";
+
+ ///
+ /// Right Zone
+ ///
+ public const string RIGHT_ZONE = "RightZone";
+
+ ///
+ /// Bottom Left Zone
+ ///
+ public const string BOTTOM_ZONE = "BottomLeftZone";
+
+ ///
+ /// Middle Center Zone
+ ///
+ public const string MIDDLE_CENTER_ZONE = "MiddleMiddleZone";
+
+ ///
+ /// Links static string
+ ///
+ public const string LINKS_STATIC_STRING = "Links";
+
+ ///
+ /// Represents the entity type user in people picker control
+ ///
+ public const string PEOPLE_PICKER_ENTITY_TYPE_USER = "User";
+
+ ///
+ /// Calendar Id
+ ///
+ public const string CALENDARID = "106";
+
+ ///
+ /// Calendar Name
+ ///
+ public const string CALENDAR_NAME = "Calendar";
+
+ ///
+ /// Alternate name for Calendar list
+ ///
+ public const string CALENDAR_NAME_ALTERNATE = "Calendar List";
+
+ ///
+ /// Provision Matter CreateMatter validation value
+ ///
+ public const string PROVISION_MATTER_CREATEMATTER = "2";
+
+ ///
+ ///Provision Matter common validation value
+ ///
+ public const string PROVISION_MATTER_COMMON_VALIDATION = "0";
+
+ ///
+ /// Provision Matter CheckMatterExists validation value
+ ///
+ public const string PROVISION_MATTER_CHECK_MATTER_EXISTS = "1";
+
+
+
+ ///
+ /// Provision Matter AssignUserPermissions value
+ ///
+ public const string PROVISION_MATTER_ASSIGN_USER_PERMISSIONS = "3";
+
+ ///
+ /// Provision Matter MatterLandingPage validation value
+ ///
+ public const string PROVISIONMATTER_MATTER_LANDING_PAGE = "4";
+
+ ///
+ /// Provision Matter UpdateMetadataForList validation value
+ ///
+ public const string ProvisionMatterUpdateMetadataForList = "6";
+
+ ///
+ /// Provision Matter ShareMatter validation value
+ ///
+ public const string ProvisionMatterShareMatter = "7";
+
+ ///
+ /// Edit Matter permission validation value
+ ///
+ public const string EditMatterPermission = "8";
+
+ ///
+ /// Provision Matter AssignContentType validation value
+ ///
+ public const string ProvisionMatterAssignContentType = "5";
+
+
+
+ ///
+ /// The false constant
+ ///
+ public const string FALSE = "false";
+
+ ///
+ /// The false constant
+ ///
+ public const string TRUE = "true";
+
+ ///
+ /// The false constant
+ ///
+ public const string YES = "Yes";
+
+ ///
+ /// The false constant
+ ///
+ public const string NO = "No";
+
+ ///
+ /// Page extension
+ ///
+ public const string ASPX_EXTENSION = ".aspx";
+ ///
+ /// The service response HTML chunk for role information
+ ///
+ public const string RoleInfoHtmlChunk = "
{0}: {1}
";
+
///
- /// The invalid char regex
+ /// The HTTPS header constant
///
- public const string INVALID_CHARREGEX = @"[\*\?\|\\\t/:""'<>#{}%~&]";
+ public const string HTTPS = "https";
///
- /// The start end regex
+ /// The HTTP header constant
///
- public const string START_END_REGEX = @"^[\. ]|[\. ]$";
+ public const string HTTP = "http";
///
- /// The invalid rule regex
+ /// The string for matter
///
- public const string INVALID_RULE_REGEX = @"\.{2,}";
+ public const string MATTER = "Matter";
///
- /// The extra space regex
+ /// Modified date column
///
- public const string EXTRA_SPACE_REGEX = " {2,}";
-
- ///
- /// The mail address field regular expression
- ///
- public const string MAIL_ADDRESS_FIELD_REGEX = @"""[^""]*""";
-
+ public const string MODIFIED_DATE_COLUMN = "Modified";
+
+
///
- /// The invalid file name regex
+ /// String to be used for creating default value for metadata. This string is in following format: WSSID;#VAL|GUID
///
- public const string INVALID_FILENAME_REGEX = "_fajlovi|.files|-Dateien|_fichiers|_bestanden|_file|_archivos|-filer|_tiedostot|_pliki|_soubory|_elemei|_ficheiros|_arquivos|_dosyalar|_datoteke|_fitxers|_failid|_fails|_bylos|_fajlovi|_fitxategiak$";
+ public const string MetadataDefaultValue = "{0};#{1}|{2}";
+ #endregion
+
+ #region Mail
+
+ ///
+ /// The SOAP envelop URI
+ ///
+ public const string SOAP_ENVELOP_URI = "http://schemas.xmlsoap.org/soap/envelope/";
+
+ ///
+ /// The exchange service message
+ ///
+ public const string EXCHANGE_SERVICE_MESSAGE = "http://schemas.microsoft.com/exchange/services/2006/messages";
+
+ ///
+ /// Constant required for email file extension
+ ///
+ public const string EMAIL_FILE_EXTENSION = ".eml";
+
+ ///
+ /// The mail file extension key
+ ///
+ public const string MAIL_FILE_EXTENSION_KEY = "fileExtension";
+
+ ///
+ /// The mail sender key
+ ///
+ public const string MAIL_SENDER_KEY = "mailSender";
+
+ ///
+ /// The mail search email subject
+ ///
+ public const string MAIL_SEARCH_EMAIL_SUBJECT = "searchEmailSubject";
+
+ ///
+ /// The mail received date key
+ ///
+ public const string MAIL_RECEIVED_DATEKEY = "receivedDate";
+ ///
+ /// The mail search email from mailbox key
+ ///
+ public const string MAIL_SEARCH_EMAIL_FROM_MAIL_BOX_KEY = "searchEmailFromMailbox";
+
+ ///
+ /// The mail receiver key
+ ///
+ public const string MAIL_RECEIVER_KEY = "mailReceiver";
+
+ ///
+ /// The mail CC field identifier
+ ///
+ public const string MAIL_CC_ADDRESS_KEY = "ccMailAddress";
+ ///
+ /// The mail categories identifier
+ ///
+ public const string MAIL_CATEGORIES_KEY = "categories";
- #region Azure Cache keys
- ///
- /// Clients cache key
- ///
- public const string CACHE_CLIENTS = "Clients";
-
- ///
- /// Matter type cache key
- ///
- public const string CACHE_MATTER_TYPE = "MatterType";
-
- ///
- /// Roles cache key
- ///
- public const string CACHE_ROLES = "Roles";
-
- ///
- /// The encoded double quotes
- ///
- public const string ENCODED_DOUBLE_QUOTES = """;
-
- ///
- /// The Double quote constant
- ///
- public const string DOUBLE_QUOTE = "\"";
-
- ///
- /// The (*) asterisk constant
- ///
- public const string ASTERISK = "*";
-
- ///
- /// The comma constant
- ///
- public const string COMMA = ",";
-
- ///
- /// The semi colon constant
- ///
- public const string SEMICOLON = ";";
-
- ///
- /// The space constant
- ///
- public const string SPACE = " ";
-
- ///
- /// The Period constant
- ///
- public const string PERIOD = ".";
-
- ///
- /// Horizontal tab constant
- ///
- public const string HORIZONTAL_TAB = "\t";
-
- ///
- /// The opening bracket constant
- ///
- public const string OPENING_BRACKET = "(";
-
- ///
- /// The backward slash constant
- ///
- public const string BACKWARD_SLASH = "\\";
-
- ///
- /// The forward slash constant
- ///
- public const string FORWARD_SLASH = "/";
-
- ///
- /// The lists constant
- ///
- public const string LISTS = "Lists";
-
- ///
- /// The pipe constant
- ///
- public const string PIPE = "|";
-
- ///
- /// Hash Symbol
- ///
- public const string SYMBOL_HASH = "#";
-
- ///
- /// The @ symbol constant
- ///
- public const string SYMBOL_AT = "@";
-
- ///
- /// The closing bracket constant
- ///
- public const string CLOSING_BRACKET = ")";
-
- ///
- /// The opening angular bracket
- ///
- public const string OPENING_ANGULAR_BRACKET = "<";
-
- ///
- /// The closing angular bracket
- ///
- public const string CLOSING_ANGULAR_BRACKET = ">";
-
- ///
- /// The dollar constant
- ///
- public const string DOLLAR = "$";
-
- ///
- /// The colon constant
- ///
- public const string COLON = ":";
-
- ///
- /// The operator ampersand constant
- ///
- public const string OPERATOR_AMPERSAND = "&";
-
- ///
- /// The ?(question) constant
- ///
- public const string QUESTION = "?";
-
- ///
- /// The OR operator
- ///
- public const string OPERATOR_OR = "OR";
-
- ///
- /// The AND operator
- ///
- public const string OPERATOR_AND = "AND";
-
- ///
- /// Constant required for range operator
- ///
- public const string OPERATOR_RANGE = "range";
-
-
- ///
- /// Placeholder for minimum value of date for date filtering in range operator
- ///
- public const string MIN_DATE = "min";
-
- ///
- /// Placeholder for maximum value of date for date filtering in range operator
- ///
- public const string MAX_DATE = "max";
-
- ///
- /// Constant required for document library filter condition
- ///
- public const string DOCUMENT_LIBRARY_FILTER_CONDITION = "contentclass:STS_List_DocumentLibrary";
-
- ///
- /// Constant required for document item filter condition
- ///
- public const string DOCUMENT_ITEM_FILTER_CONDITION = "contentclass:STS_ListItem_DocumentLibrary";
-
- ///
- /// Open square brace
- ///
- public const string OPEN_SQUARE_BRACE = "[";
-
- ///
- /// The (=)operator equal constant
- ///
- public const string OPERATOR_EQUAL = "=";
-
- ///
- /// Close square brace
- ///
- public const string CLOSE_SQUARE_BRACE = "]";
-
- ///
- /// Opening curly brace
- ///
- public const string OPENING_CURLY_BRACE = "{";
-
- ///
- /// Closing curly brace
- ///
- public const string CLOSING_CURLY_BRACE = "}";
-
- ///
- /// Name of the path field in results returned from SharePoint search
- ///
- public const string PATH_FIELD_NAME = "Path";
-
- ///
- /// Event type information
- ///
- public const string EVENT_INFORMATION = "INFO";
-
- ///
- /// Event type error
- ///
- /// Event type warning
- ///
- public const string EVENT_WARNING = "WARNING";
-
- ///
- /// Exception Message
- ///
- public const string EXCEPTION_MESSAGE = "EXCEPTION MESSAGE:";
-
- ///
- /// Class Name
- ///
- public const string CLASS_NAME = "CLASS NAME:";
-
- ///
- /// Class Name
- ///
- public const string METHOD_NAME = "METHOD NAME:";
-
- ///
- /// Class Name
- ///
- public const string LINE_NUMBER = "LINE NUMBER:";
-
- ///
- /// Default Event ID
- ///
- public const int DEFAULT_EVENT_ID = 1000;
-
- ///
- /// Default Failed to logging code
- ///
- public const int LOGGING_FAILED_CODE = 2000;
-
- ///
- /// Default Failed to logging code
- ///
- public const string LOGGING_FAILED_MESSAGE = "Failed to Logging";
-
- ///
- /// The error code constant
- ///
- public const string ERROR_CODE = "{0}" + SYMBOL_HASH + PIPE + SYMBOL_HASH + "{1}";
-
- ///
- /// The Escape character pattern
- ///
- public const string ESCAPE_CHARACTER_PATTERN = @"[\a|\b|\f|\n|\r|\t|\v]";
-
- ///
- /// Constant required for no pinned matters message
- ///
- public const string NO_PINNED_MESSAGE = "You do not have any pinned matters/documents";
-
- ///
- /// The column name for document GUID
- ///
- public const string DOCUMENT_GUID_COLUMN_NAME = "UniqueId";
-
- ///
- /// Title column for list item
- ///
- public const string TITLE = "Title";
-
- ///
- /// Default layout
- ///
- public const string DefaultLayout = "ReportCenterLayout";
-
- ///
- /// Master Page Gallery
- ///
- public const string MasterPageGallery = "Master Page Gallery";
-
- ///
- /// Top Zone
- ///
- public const string TOP_ZONE = "TopLeftZone";
-
- ///
- /// Header Zone
- ///
- public const string HEADER_ZONE = "HeaderZone";
-
- ///
- /// Footer Zone
- ///
- public const string FOOTER_ZONE = "FooterZone";
-
- ///
- /// Middle left zone
- ///
- public const string MIDDLE_LEFT_ZONE = "MiddleLeftZone";
-
- ///
- /// Right Zone
- ///
- public const string RIGHT_ZONE = "RightZone";
-
- ///
- /// Bottom Left Zone
- ///
- public const string BOTTOM_ZONE = "BottomLeftZone";
-
- ///
- /// Middle Center Zone
- ///
- public const string MIDDLE_CENTER_ZONE = "MiddleMiddleZone";
-
- ///
- /// Links static string
- ///
- public const string LINKS_STATIC_STRING = "Links";
-
- ///
- /// Represents the entity type user in people picker control
- ///
- public const string PEOPLE_PICKER_ENTITY_TYPE_USER = "User";
+ ///
+ /// The mail sensitivity identifier
+ ///
+ public const string MAIL_SENSITIVITY_KEY = "sensitivity";
- ///
- /// Calendar Id
- ///
- public const string CALENDARID = "106";
-
- ///
- /// Calendar Name
- ///
- public const string CALENDAR_NAME = "Calendar";
-
- ///
- /// Alternate name for Calendar list
- ///
- public const string CALENDAR_NAME_ALTERNATE = "Calendar List";
-
- ///
- /// Provision Matter CreateMatter validation value
- ///
- public const string PROVISION_MATTER_CREATEMATTER = "2";
-
- ///
- ///Provision Matter common validation value
- ///
- public const string PROVISION_MATTER_COMMON_VALIDATION = "0";
-
- ///
- /// Provision Matter CheckMatterExists validation value
- ///
- public const string PROVISION_MATTER_CHECK_MATTER_EXISTS = "1";
-
-
-
- ///
- /// Provision Matter AssignUserPermissions value
- ///
- public const string PROVISION_MATTER_ASSIGN_USER_PERMISSIONS = "3";
-
- ///
- /// Provision Matter MatterLandingPage validation value
- ///
- public const string PROVISIONMATTER_MATTER_LANDING_PAGE = "4";
-
- ///
- /// Provision Matter UpdateMetadataForList validation value
- ///
- public const string ProvisionMatterUpdateMetadataForList = "6";
-
- ///
- /// Provision Matter ShareMatter validation value
- ///
- public const string ProvisionMatterShareMatter = "7";
-
- ///
- /// Edit Matter permission validation value
- ///
- public const string EditMatterPermission = "8";
-
- ///
- /// Provision Matter AssignContentType validation value
- ///
- public const string ProvisionMatterAssignContentType = "5";
-
-
-
- ///
- /// The false constant
- ///
- public const string FALSE = "false";
-
- ///
- /// The false constant
- ///
- public const string TRUE = "true";
-
- ///
- /// The false constant
- ///
- public const string YES = "Yes";
-
- ///
- /// The false constant
- ///
- public const string NO = "No";
-
- ///
- /// Page extension
- ///
- public const string ASPX_EXTENSION = ".aspx";
- ///
- /// The service response HTML chunk for role information
- ///
- public const string RoleInfoHtmlChunk = "{0}: {1}
";
-
- ///
- /// The HTTPS header constant
- ///
- public const string HTTPS = "https";
-
- ///
- /// The HTTP header constant
- ///
- public const string HTTP = "http";
-
- ///
- /// The string for matter
- ///
- public const string MATTER = "Matter";
-
- ///
- /// Modified date column
- ///
- public const string MODIFIED_DATE_COLUMN = "Modified";
+ ///
+ /// The mail sent date identifier
+ ///
+ public const string MAIL_SENT_DATE_KEY = "sentDate";
+ ///
+ /// Conversation Id identifier
+ ///
+ public const string MAIL_CONVERSATIONID_KEY = "conversationId";
///
- /// String to be used for creating default value for metadata. This string is in following format: WSSID;#VAL|GUID
+ /// Conversation Topic identifier
///
- public const string MetadataDefaultValue = "{0};#{1}|{2}";
- #endregion
-
- #region Mail
-
- ///
- /// The SOAP envelop URI
- ///
- public const string SOAP_ENVELOP_URI = "http://schemas.xmlsoap.org/soap/envelope/";
-
- ///
- /// The exchange service message
- ///
- public const string EXCHANGE_SERVICE_MESSAGE = "http://schemas.microsoft.com/exchange/services/2006/messages";
-
- ///
- /// Constant required for email file extension
- ///
- public const string EMAIL_FILE_EXTENSION = ".eml";
-
- ///
- /// The mail file extension key
- ///
- public const string MAIL_FILE_EXTENSION_KEY = "fileExtension";
-
- ///
- /// The mail sender key
- ///
- public const string MAIL_SENDER_KEY = "mailSender";
-
- ///
- /// The mail search email subject
- ///
- public const string MAIL_SEARCH_EMAIL_SUBJECT = "searchEmailSubject";
-
- ///
- /// The mail received date key
- ///
- public const string MAIL_RECEIVED_DATEKEY = "receivedDate";
-
- ///
- /// The mail search email from mailbox key
- ///
- public const string MAIL_SEARCH_EMAIL_FROM_MAIL_BOX_KEY = "searchEmailFromMailbox";
-
- ///
- /// The mail receiver key
- ///
- public const string MAIL_RECEIVER_KEY = "mailReceiver";
-
- ///
- /// The mail CC field identifier
- ///
- public const string MAIL_CC_ADDRESS_KEY = "ccMailAddress";
-
- ///
- /// The mail categories identifier
- ///
- public const string MAIL_CATEGORIES_KEY = "categories";
-
- ///
- /// The mail sensitivity identifier
- ///
- public const string MAIL_SENSITIVITY_KEY = "sensitivity";
-
- ///
- /// The mail sent date identifier
- ///
- public const string MAIL_SENT_DATE_KEY = "sentDate";
-
- ///
- /// Conversation Id identifier
- ///
- public const string MAIL_CONVERSATIONID_KEY = "conversationId";
-
- ///
- /// Conversation Topic identifier
- ///
- public const string MAIL_CONVERSATION_TOPIC_KEY = "conversationTopic";
-
- ///
- /// Has Attachments identifier
- ///
- public const string MAIL_HAS_ATTACHMENTS_KEY = "hasAttachments";
-
- ///
- /// The mail attachment key
- ///
- public const string MAIL_ATTACHMENT_KEY = "attachment";
-
- ///
- /// The mail importance key
- ///
- public const string MAIL_IMPORTANCE_KEY = "importance";
-
- ///
- /// The mail default importance
- ///
- public const string MAIL_DEFAULT_IMPORTANCE = "normal";
-
- ///
- /// The original name of uploaded mail
- ///
- public const string MAIL_ORIGINAL_NAME = "originalName";
-
- ///
- /// Categories text
- ///
- public const string CATEGORIES = "category";
-
-
-
- ///
- /// The upload succeeded
- ///
- public const bool UPLOAD_SUCCEEDED = true;
-
- ///
- /// The upload failed
- ///
- public const bool UPLOAD_FAILED = false;
- ///
- /// Mail content type
- ///
- public const string MAIL_CONTENT_TYPE = "text/plain; charset=us-ascii";
-
- ///
- /// The mail media sub type
- ///
- public const string MAIL_MEDIA_SUBTYPE = "plain";
-
- ///
- /// The text media main type
- ///
- public const string TEXT_MEDIA_MAIN_TYPE = "text";
-
- ///
- /// The HTML media main type
- ///
- public const string HtmlMediaMainType = "html";
-
- ///
- /// The image media main type
- ///
- public const string IMAGE_MEDIA_MAIN_TYPE = "image";
-
- ///
- /// The application media main type
- ///
- public const string APPLICATION_MEDIA_MAIN_TYPE = "application";
-
- ///
- /// The message media main type
- ///
- public const string MESSAGE_MEDIA_MAIN_TYPE = "message";
-
- ///
- /// The multipart media type
- ///
- public const string MULTI_PART_MEDIA_TYPE = "MULTIPART/ALTERNATIVE";
-
- ///
- /// The string hyphen
- ///
- public const string HYPHEN = "-";
-
- ///
- /// The mail media type
- ///
- public const string MailMediaType = "text/plain";
-
- ///
- /// Constant required for extension for OneNote table of content
- ///
- public const string EXTENSION_ONENOTE_TABLE_OF_CONTENT = ".onetoc2";
-
- ///
- /// Constant required for extension for OneNote table of content
- ///
- public const string ONE_NOTE_RELATIVE_FILE_PATH = "Open Notebook.onetoc2";
-
- ///
- /// The managing attorney value constant
- ///
- public const string MANAGING_ATTORNEY_VALUE = "Responsible Attorney";
-
- ///
- /// Task list template type
- ///
- public const string TASK_LIST_TEMPLATE_TYPE = "Tasks";
-
- ///
- /// Web Query string
- ///
- public const string WEB_STRING = "?Web=1";
-
- ///
- /// Constant required for HTML file type constant
- ///
- public const string HtmlFileType = "HTML_x0020_File_x0020_Type";
-
- ///
- /// Constant required for impersonation claim type trust
- ///
- public const string TRUSTED_FOR_IMPERSONATION_CLAIMTYPE = "trustedfordelegation";
-
- ///
- /// The mail attachment media main type
- ///
- public const string MAIL_ATTACHMENT_MEDIA_MAINT_YPE = "message";
-
- ///
- /// The mail search email from mailbox key
- ///
- public const string MAIL_SEARCH_EMAIL_FROM_MAILBOX_KEY = "searchEmailFromMailbox";
-
- ///
- /// The exchange service types
- ///
- public const string EXCHANGE_SERVICE_TYPES = "http://schemas.microsoft.com/exchange/services/2006/types";
-
- ///
- /// The hexadecimal decoder regular expression
- ///
- public const string HEX_DECODER_REGEX = "(\\=([0-9A-F][0-9A-F]))";
-
-
- ///
- /// The Document content type in user's OneDrive.
- ///
- public const string ONEDRIVE_DOCUMENT_CONTENTTYPE = "Document";
-
- ///
- /// The Folder content type in user's OneDrive.
- ///
- public const string ONEDRIVE_FOLDER_CONTENTTYPE = "Folder";
-
-
- ///
- /// The property associated with content type
- ///
- public const string OneDrive_ContentType_Property = "ContentTypeId";
-
- ///
- /// The mail message receiver header
- ///
- public const string Mail_Message_Receiver_Header = "x-receiver";
-
- ///
- /// The mail message sender header
- ///
- public const string Mail_Message_Sender_Header = "x-sender";
-
- ///
- /// Event type information
- ///
- public const string Event_Information = "INFO";
-
- ///
- /// Event type error
- ///
- public const string Event_Error = "ERROR";
-
- ///
- /// Event type warning
- ///
- public const string EventWarning = "WARNING";
-
- ///
- /// Exception Message
- ///
- public const string ExceptionMessage = "EXCEPTION MESSAGE:";
-
- ///
- /// Class Name
- ///
- public const string ClassName = "CLASS NAME:";
-
- ///
- /// Class Name
- ///
- public const string MethodName = "METHOD NAME:";
-
- ///
- /// Class Name
- ///
- public const string LineNumber = "LINE NUMBER:";
-
- ///
- /// Default Event ID
- ///
- public const int DefaultEventId = 1000;
-
- ///
- /// Default Failed to logging code
- ///
- public const int LoggingFailedCode = 2000;
-
- ///
- /// Default Failed to logging code
- ///
- public const string LoggingFailedMessage = "Failed to Logging";
-
-
+ public const string MAIL_CONVERSATION_TOPIC_KEY = "conversationTopic";
+
+ ///
+ /// Has Attachments identifier
+ ///
+ public const string MAIL_HAS_ATTACHMENTS_KEY = "hasAttachments";
+
+ ///
+ /// The mail attachment key
+ ///
+ public const string MAIL_ATTACHMENT_KEY = "attachment";
+
+ ///
+ /// The mail importance key
+ ///
+ public const string MAIL_IMPORTANCE_KEY = "importance";
+
+ ///
+ /// The mail default importance
+ ///
+ public const string MAIL_DEFAULT_IMPORTANCE = "normal";
+
+ ///
+ /// The original name of uploaded mail
+ ///
+ public const string MAIL_ORIGINAL_NAME = "originalName";
+
+ ///
+ /// Categories text
+ ///
+ public const string CATEGORIES = "category";
+
+
+
+ ///
+ /// The upload succeeded
+ ///
+ public const bool UPLOAD_SUCCEEDED = true;
+
+ ///
+ /// The upload failed
+ ///
+ public const bool UPLOAD_FAILED = false;
+ ///
+ /// Mail content type
+ ///
+ public const string MAIL_CONTENT_TYPE = "text/plain; charset=us-ascii";
+
+ ///
+ /// The mail media sub type
+ ///
+ public const string MAIL_MEDIA_SUBTYPE = "plain";
+
+ ///
+ /// The text media main type
+ ///
+ public const string TEXT_MEDIA_MAIN_TYPE = "text";
+
+ ///
+ /// The HTML media main type
+ ///
+ public const string HtmlMediaMainType = "html";
+
+ ///
+ /// The image media main type
+ ///
+ public const string IMAGE_MEDIA_MAIN_TYPE = "image";
+
+ ///
+ /// The application media main type
+ ///
+ public const string APPLICATION_MEDIA_MAIN_TYPE = "application";
+
+ ///
+ /// The message media main type
+ ///
+ public const string MESSAGE_MEDIA_MAIN_TYPE = "message";
+
+ ///
+ /// The multipart media type
+ ///
+ public const string MULTI_PART_MEDIA_TYPE = "MULTIPART/ALTERNATIVE";
+
+ ///
+ /// The string hyphen
+ ///
+ public const string HYPHEN = "-";
+
+ ///
+ /// The mail media type
+ ///
+ public const string MailMediaType = "text/plain";
+
+ ///
+ /// Constant required for extension for OneNote table of content
+ ///
+ public const string EXTENSION_ONENOTE_TABLE_OF_CONTENT = ".onetoc2";
+
+ ///
+ /// Constant required for extension for OneNote table of content
+ ///
+ public const string ONE_NOTE_RELATIVE_FILE_PATH = "Open Notebook.onetoc2";
+
+ ///
+ /// The managing attorney value constant
+ ///
+ public const string MANAGING_ATTORNEY_VALUE = "Responsible Attorney";
+
+ ///
+ /// Task list template type
+ ///
+ public const string TASK_LIST_TEMPLATE_TYPE = "Tasks";
+
+ ///
+ /// Web Query string
+ ///
+ public const string WEB_STRING = "?Web=1";
+
+ ///
+ /// Constant required for HTML file type constant
+ ///
+ public const string HtmlFileType = "HTML_x0020_File_x0020_Type";
+
+ ///
+ /// Constant required for impersonation claim type trust
+ ///
+ public const string TRUSTED_FOR_IMPERSONATION_CLAIMTYPE = "trustedfordelegation";
+
+ ///
+ /// The mail attachment media main type
+ ///
+ public const string MAIL_ATTACHMENT_MEDIA_MAINT_YPE = "message";
+
+ ///
+ /// The mail search email from mailbox key
+ ///
+ public const string MAIL_SEARCH_EMAIL_FROM_MAILBOX_KEY = "searchEmailFromMailbox";
+
+ ///
+ /// The exchange service types
+ ///
+ public const string EXCHANGE_SERVICE_TYPES = "http://schemas.microsoft.com/exchange/services/2006/types";
+
+ ///
+ /// The hexadecimal decoder regular expression
+ ///
+ public const string HEX_DECODER_REGEX = "(\\=([0-9A-F][0-9A-F]))";
+
+
+ ///
+ /// The Document content type in user's OneDrive.
+ ///
+ public const string ONEDRIVE_DOCUMENT_CONTENTTYPE = "Document";
+
+ ///
+ /// The Folder content type in user's OneDrive.
+ ///
+ public const string ONEDRIVE_FOLDER_CONTENTTYPE = "Folder";
+
+
+ ///
+ /// The property associated with content type
+ ///
+ public const string OneDrive_ContentType_Property = "ContentTypeId";
+
+ ///
+ /// The mail message receiver header
+ ///
+ public const string Mail_Message_Receiver_Header = "x-receiver";
+
+ ///
+ /// The mail message sender header
+ ///
+ public const string Mail_Message_Sender_Header = "x-sender";
+
+ ///
+ /// Event type information
+ ///
+ public const string Event_Information = "INFO";
+
+ ///
+ /// Event type error
+ ///
+ public const string Event_Error = "ERROR";
+
+ ///
+ /// Event type warning
+ ///
+ public const string EventWarning = "WARNING";
+
+ ///
+ /// Exception Message
+ ///
+ public const string ExceptionMessage = "EXCEPTION MESSAGE:";
+
+ ///
+ /// Class Name
+ ///
+ public const string ClassName = "CLASS NAME:";
+
+ ///
+ /// Class Name
+ ///
+ public const string MethodName = "METHOD NAME:";
+
+ ///
+ /// Class Name
+ ///
+ public const string LineNumber = "LINE NUMBER:";
+
+ ///
+ /// Default Event ID
+ ///
+ public const int DefaultEventId = 1000;
+
+ ///
+ /// Default Failed to logging code
+ ///
+ public const int LoggingFailedCode = 2000;
+
+ ///
+ /// Default Failed to logging code
+ ///
+ public const string LoggingFailedMessage = "Failed to Logging";
+
+
///
/// The mail SOAP request
///
@@ -876,7 +876,7 @@ public class ServiceConstants
";
- #endregion
+ #endregion
///
@@ -902,13 +902,13 @@ public class ServiceConstants
///
/// The AttachmentID tag in Exchange response
///
- public const string ATTACHMENT_ID_TAG = "AttachmentId";
-
+ public const string ATTACHMENT_ID_TAG = "AttachmentId";
+
///
/// The Id attribute in Exchange response
///
- public const string ID_ATTRIBUTE = "Id";
-
+ public const string ID_ATTRIBUTE = "Id";
+
///
/// The name of the HTTP header for web request
///
@@ -927,393 +927,393 @@ public class ServiceConstants
///
/// The value of the Content-type HTTP header for web request
///
- public const string REQUEST_CONTENT_TYPE = "text/xml; charset=utf-8";
- ///
- /// The mail attributes
- ///
- public static class MailAttributes
- {
- ///
- /// The BCC mail attribute
- ///
- public const string BCC = "BCC";
-
- ///
- /// The cc mail attribute
- ///
- public const string CC = "CC";
-
- ///
- /// The attachment mail attribute
- ///
- public const string ATTACHMENT = "ATTACHMENT";
-
- ///
- /// The content description
- ///
- public const string CONTENT_DESCRIPTION = "CONTENT-DESCRIPTION";
-
- ///
- /// The content disposition
- ///
- public const string CONTENT_DISPOSITION = "CONTENT-DISPOSITION";
-
- ///
- /// The content identifier
- ///
- public const string CONTENT_ID = "CONTENT-ID";
-
- ///
- /// The content transfer encoding
- ///
- public const string CONTENT_TRANSFER_ENCODING = "CONTENT-TRANSFER-ENCODING";
-
- ///
- /// The content type mail attribute
- ///
- public const string CONTENT_TYPE = "CONTENT-TYPE";
-
- ///
- /// The date mail attribute
- ///
- public const string DATE = "DATE";
-
- ///
- /// From mail attribute
- ///
- public const string FROM = "FROM";
-
- ///
- /// The sender mail attribute
- ///
- public const string SENDER = "SENDER";
-
- ///
- /// The subject mail attribute
- ///
- public const string SUBJECT = "SUBJECT";
-
- ///
- /// To mail attribute
- ///
- public const string TO = "TO";
-
- ///
- /// The filename mail attribute
- ///
- public const string FILENAME = "FILENAME";
-
- ///
- /// The size mail attribute
- ///
- public const string SIZE = "SIZE";
-
- ///
- /// The creation date mail attribute
- ///
- public const string CREATION_DATE = "CREATION-DATE";
-
- ///
- /// The modification date mail attribute
- ///
- public const string MODIFICATION_DATE = "MODIFICATION-DATE";
-
- ///
- /// The read date mail attribute
- ///
- public const string READ_DATE = "READ-DATE";
-
- ///
- /// The 7biT encoding
- ///
- public const string BIT_7 = "7BIT";
-
- ///
- /// The 8biT encoding
- ///
- public const string BIT_8 = "8BIT";
-
- ///
- /// The quoted printable
- ///
- public const string QUOTED_PRINTABLE = "QUOTED-PRINTABLE";
-
- ///
- /// The base 64 encoding
- ///
- public const string BASE64 = "BASE64";
-
- ///
- /// The importance mail attribute
- ///
- public const string IMPORTANCE = "IMPORTANCE";
-
- ///
- /// The mail categories attribute
- ///
- public const string CATEGORIES = "KEYWORDS";
-
- ///
- /// The mail received attribute
- ///
+ public const string REQUEST_CONTENT_TYPE = "text/xml; charset=utf-8";
+ ///
+ /// The mail attributes
+ ///
+ public static class MailAttributes
+ {
+ ///
+ /// The BCC mail attribute
+ ///
+ public const string BCC = "BCC";
+
+ ///
+ /// The cc mail attribute
+ ///
+ public const string CC = "CC";
+
+ ///
+ /// The attachment mail attribute
+ ///
+ public const string ATTACHMENT = "ATTACHMENT";
+
+ ///
+ /// The content description
+ ///
+ public const string CONTENT_DESCRIPTION = "CONTENT-DESCRIPTION";
+
+ ///
+ /// The content disposition
+ ///
+ public const string CONTENT_DISPOSITION = "CONTENT-DISPOSITION";
+
+ ///
+ /// The content identifier
+ ///
+ public const string CONTENT_ID = "CONTENT-ID";
+
+ ///
+ /// The content transfer encoding
+ ///
+ public const string CONTENT_TRANSFER_ENCODING = "CONTENT-TRANSFER-ENCODING";
+
+ ///
+ /// The content type mail attribute
+ ///
+ public const string CONTENT_TYPE = "CONTENT-TYPE";
+
+ ///
+ /// The date mail attribute
+ ///
+ public const string DATE = "DATE";
+
+ ///
+ /// From mail attribute
+ ///
+ public const string FROM = "FROM";
+
+ ///
+ /// The sender mail attribute
+ ///
+ public const string SENDER = "SENDER";
+
+ ///
+ /// The subject mail attribute
+ ///
+ public const string SUBJECT = "SUBJECT";
+
+ ///
+ /// To mail attribute
+ ///
+ public const string TO = "TO";
+
+ ///
+ /// The filename mail attribute
+ ///
+ public const string FILENAME = "FILENAME";
+
+ ///
+ /// The size mail attribute
+ ///
+ public const string SIZE = "SIZE";
+
+ ///
+ /// The creation date mail attribute
+ ///
+ public const string CREATION_DATE = "CREATION-DATE";
+
+ ///
+ /// The modification date mail attribute
+ ///
+ public const string MODIFICATION_DATE = "MODIFICATION-DATE";
+
+ ///
+ /// The read date mail attribute
+ ///
+ public const string READ_DATE = "READ-DATE";
+
+ ///
+ /// The 7biT encoding
+ ///
+ public const string BIT_7 = "7BIT";
+
+ ///
+ /// The 8biT encoding
+ ///
+ public const string BIT_8 = "8BIT";
+
+ ///
+ /// The quoted printable
+ ///
+ public const string QUOTED_PRINTABLE = "QUOTED-PRINTABLE";
+
+ ///
+ /// The base 64 encoding
+ ///
+ public const string BASE64 = "BASE64";
+
+ ///
+ /// The importance mail attribute
+ ///
+ public const string IMPORTANCE = "IMPORTANCE";
+
+ ///
+ /// The mail categories attribute
+ ///
+ public const string CATEGORIES = "KEYWORDS";
+
+ ///
+ /// The mail received attribute
+ ///
public const string RECEIVED = "RECEIVED";
-
+
}
- ///
- /// The original name of uploaded mail
- ///
+ ///
+ /// The original name of uploaded mail
+ ///
public const string MailOriginalName = "originalName";
- #region Matter Landing Page Constants
-
- ///
- /// Zone index to be used while creating matter page
- ///
+ #region Matter Landing Page Constants
+
+ ///
+ /// Zone index to be used while creating matter page
+ ///
public const int ZONE_INDEX = 1;
- #region Web Part Constants
- ///
- /// XML definition of the left web part
- ///
- public const string CONTENT_EDITOR_WEB_PART = @"
-
- Content Editor
- None
- Allows authors to enter rich text content.
- true
- MiddleLeftZone
- 0
- Normal
-
-
- true
- true
- true
- true
- true
- true
- true
-
-
- Modeless
- Default
-
- Cannot import this Web Part.
- /_layouts/15/images/mscontl.gif
-
- Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
- Microsoft.SharePoint.WebPartPages.ContentEditorWebPart
-
-
-
-
-
- ";
-
- ///
- /// XML definition of the RSS feed web part
- ///
- public const string RSS_FEED_WEB_PART = @"
-
-
-
- Cannot import this web part.
-
-
-
- False
- None
-
-
- True
-
- <ParameterBinding Name=""RequestUrl"" Location=""WPProperty[FeedUrl]""/>
- True
- False
-
-
- 5
- False
-
-
- 0
-
- 600
- 60
- True
- http://www.bing.com/search?q={0}&format=rss
- True
- False
- False
- False
-
-
- True
- False
- None
- Normal
- True
-
-
- False
- NotSet
- RSS Viewer
- 00000000-0000-0000-0000-000000000000
- Displays an RSS feed.
- True
-
-
- <%@ Register TagPrefix=""WebControls"" Namespace=""Microsoft.SharePoint.WebControls"" Assembly=""Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"" %>
- <%@ Register TagPrefix=""WebPartPages"" Namespace=""Microsoft.SharePoint.WebPartPages"" Assembly=""Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"" %>
- <WebControls:XmlUrlDataSource runat=""server"" AuthType=""None"" HttpMethod=""GET"">
- <DataFileParameters>
- <WebPartPages:DataFormParameter Name=""RequestUrl"" ParameterKey=""RequestUrl"" PropertyName=""ParameterValues""/>
- </DataFileParameters>
- </WebControls:XmlUrlDataSource>
-
- PAGE_NORMALVIEW
-
- True
- All
- 120
- -1
-
-
-
- True
-
- Cannot import this web part.
- Modeless
-
-
-
- ";
- ///
- /// XML definition of the list view web part
- ///
- public const string LIST_VIEW_WEBPART = @"
-
-
-
-
- Cannot import this Web Part.
-
-
-
- False
-
-
- True
-
-
- False
-
- {0}
- {1}
- False
- NotSet
- False
- Html, TabularView, Hidden, Mobile
- True
- {2}
-
- True
- Normal
- False
-
-
- All
- False
- True
- True
-
- Modeless
-
- True
- 86400
- None
-
-
- /_layouts/15/images/itdl.png?rev=33
-
- True
-
- -1
- True
- 750px
-
- False
-
- PAGE_NORMALVIEW
-
- True
- True
- 00000000-0000-0000-0000-000000000000
-
- main.xsl
- False
-
- False
- <View Name=""{3}"" MobileView=""TRUE"" Type=""HTML"" Hidden=""TRUE"" DisplayName="" "" Url=""{4}"" Level=""1"" BaseViewID=""1"" ContentTypeID=""0x"" ImageUrl=""/_layouts/15/images/dlicon.png?rev=37"" ><Query><OrderBy><FieldRef Name=""FileLeafRef""/></OrderBy></Query><ViewFields><FieldRef Name=""DocIcon""/><FieldRef Name=""LinkFilename""/><FieldRef Name=""Modified""/><FieldRef Name=""Editor""/></ViewFields><RowLimit Paged=""TRUE"">30</RowLimit><JSLink>clienttemplates.js</JSLink><XslLink Default=""TRUE"">main.xsl</XslLink><Toolbar Type=""Standard""/></View>
- False
- True
-
- <ParameterBinding Name=""dvt_sortdir"" Location=""Postback;Connection""/>
- <ParameterBinding Name=""dvt_sortfield"" Location=""Postback;Connection""/>
- <ParameterBinding Name=""dvt_startposition"" Location=""Postback"" DefaultValue="" ""/>
- <ParameterBinding Name=""dvt_firstrow"" Location=""Postback;Connection""/>
- <ParameterBinding Name=""OpenMenuKeyAccessible"" Location=""Resource(wss,OpenMenuKeyAccessible)"" />
- <ParameterBinding Name=""open_menu"" Location=""Resource(wss,open_menu)"" />
- <ParameterBinding Name=""select_deselect_all"" Location=""Resource(wss,select_deselect_all)"" />
- <ParameterBinding Name=""idPresEnabled"" Location=""Resource(wss,idPresEnabled)"" /><ParameterBinding Name=""NoAnnouncements"" Location=""Resource(wss,noitemsinview_doclibrary)"" /><ParameterBinding Name=""NoAnnouncementsHowTo"" Location=""Resource(wss,noitemsinview_doclibrary_howto2)"" />
- List
- 60
- False
-
- Cannot import this Web Part.
-
-
- False
-
-
-
- ";
-
-
-
-
- ///
- /// Section to be appended on the page
- ///
- public const string MATTER_LANDING_SECTION_CONTENT = "";
-
- ///
- /// Style tag
- ///
- public const string STYLE_TAG = "";
-
- ///
- /// Script tag
- ///
- public const string SCRIPT_TAG = "";
-
- ///
- /// Script tag with contents
- ///
- public const string SCRIPT_TAG_WITH_CONTENTS = "";
-
- ///
- /// Matter landing stamp properties
- ///
+ #region Web Part Constants
+ ///
+ /// XML definition of the left web part
+ ///
+ public const string CONTENT_EDITOR_WEB_PART = @"
+
+ Content Editor
+ None
+ Allows authors to enter rich text content.
+ true
+ MiddleLeftZone
+ 0
+ Normal
+
+
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+
+
+ Modeless
+ Default
+
+ Cannot import this Web Part.
+ /_layouts/15/images/mscontl.gif
+
+ Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
+ Microsoft.SharePoint.WebPartPages.ContentEditorWebPart
+
+
+
+
+
+ ";
+
+ ///
+ /// XML definition of the RSS feed web part
+ ///
+ public const string RSS_FEED_WEB_PART = @"
+
+
+
+ Cannot import this web part.
+
+
+
+ False
+ None
+
+
+ True
+
+ <ParameterBinding Name=""RequestUrl"" Location=""WPProperty[FeedUrl]""/>
+ True
+ False
+
+
+ 5
+ False
+
+
+ 0
+
+ 600
+ 60
+ True
+ http://www.bing.com/search?q={0}&format=rss
+ True
+ False
+ False
+ False
+
+
+ True
+ False
+ None
+ Normal
+ True
+
+
+ False
+ NotSet
+ RSS Viewer
+ 00000000-0000-0000-0000-000000000000
+ Displays an RSS feed.
+ True
+
+
+ <%@ Register TagPrefix=""WebControls"" Namespace=""Microsoft.SharePoint.WebControls"" Assembly=""Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"" %>
+ <%@ Register TagPrefix=""WebPartPages"" Namespace=""Microsoft.SharePoint.WebPartPages"" Assembly=""Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"" %>
+ <WebControls:XmlUrlDataSource runat=""server"" AuthType=""None"" HttpMethod=""GET"">
+ <DataFileParameters>
+ <WebPartPages:DataFormParameter Name=""RequestUrl"" ParameterKey=""RequestUrl"" PropertyName=""ParameterValues""/>
+ </DataFileParameters>
+ </WebControls:XmlUrlDataSource>
+
+ PAGE_NORMALVIEW
+
+ True
+ All
+ 120
+ -1
+
+
+
+ True
+
+ Cannot import this web part.
+ Modeless
+
+
+
+ ";
+ ///
+ /// XML definition of the list view web part
+ ///
+ public const string LIST_VIEW_WEBPART = @"
+
+
+
+
+ Cannot import this Web Part.
+
+
+
+ False
+
+
+ True
+
+
+ False
+
+ {0}
+ {1}
+ False
+ NotSet
+ False
+ Html, TabularView, Hidden, Mobile
+ True
+ {2}
+
+ True
+ Normal
+ False
+
+
+ All
+ False
+ True
+ True
+
+ Modeless
+
+ True
+ 86400
+ None
+
+
+ /_layouts/15/images/itdl.png?rev=33
+
+ True
+
+ -1
+ True
+ 750px
+
+ False
+
+ PAGE_NORMALVIEW
+
+ True
+ True
+ 00000000-0000-0000-0000-000000000000
+
+ main.xsl
+ False
+
+ False
+ <View Name=""{3}"" MobileView=""TRUE"" Type=""HTML"" Hidden=""TRUE"" DisplayName="" "" Url=""{4}"" Level=""1"" BaseViewID=""1"" ContentTypeID=""0x"" ImageUrl=""/_layouts/15/images/dlicon.png?rev=37"" ><Query><OrderBy><FieldRef Name=""FileLeafRef""/></OrderBy></Query><ViewFields><FieldRef Name=""DocIcon""/><FieldRef Name=""LinkFilename""/><FieldRef Name=""Modified""/><FieldRef Name=""Editor""/></ViewFields><RowLimit Paged=""TRUE"">30</RowLimit><JSLink>clienttemplates.js</JSLink><XslLink Default=""TRUE"">main.xsl</XslLink><Toolbar Type=""Standard""/></View>
+ False
+ True
+
+ <ParameterBinding Name=""dvt_sortdir"" Location=""Postback;Connection""/>
+ <ParameterBinding Name=""dvt_sortfield"" Location=""Postback;Connection""/>
+ <ParameterBinding Name=""dvt_startposition"" Location=""Postback"" DefaultValue="" ""/>
+ <ParameterBinding Name=""dvt_firstrow"" Location=""Postback;Connection""/>
+ <ParameterBinding Name=""OpenMenuKeyAccessible"" Location=""Resource(wss,OpenMenuKeyAccessible)"" />
+ <ParameterBinding Name=""open_menu"" Location=""Resource(wss,open_menu)"" />
+ <ParameterBinding Name=""select_deselect_all"" Location=""Resource(wss,select_deselect_all)"" />
+ <ParameterBinding Name=""idPresEnabled"" Location=""Resource(wss,idPresEnabled)"" /><ParameterBinding Name=""NoAnnouncements"" Location=""Resource(wss,noitemsinview_doclibrary)"" /><ParameterBinding Name=""NoAnnouncementsHowTo"" Location=""Resource(wss,noitemsinview_doclibrary_howto2)"" />
+ List
+ 60
+ False
+
+ Cannot import this Web Part.
+
+
+ False
+
+
+
+ ";
+
+
+
+
+ ///
+ /// Section to be appended on the page
+ ///
+ public const string MATTER_LANDING_SECTION_CONTENT = "";
+
+ ///
+ /// Style tag
+ ///
+ public const string STYLE_TAG = "";
+
+ ///
+ /// Script tag
+ ///
+ public const string SCRIPT_TAG = "";
+
+ ///
+ /// Script tag with contents
+ ///
+ public const string SCRIPT_TAG_WITH_CONTENTS = "";
+
+ ///
+ /// Matter landing stamp properties
+ ///
public const string MATTER_LANDING_STAMP_PROPERTIES = "var documentLibraryName = \"{0}\", isNewMatterLandingPage = true, documentLibraryGUID=\"{1}\", matterExtraProperties=\"{2}\";";
- #endregion
-
-
-
- #endregion
- }
-}
+ #endregion
+
+
+
+ #endregion
+ }
+}