What's New
New concepts - MatchPoint Framework
- DatabaseActions are arbitrary SQL statements which can be defined within ModelConfigurations and can be used in various places. Refer to the general documentation for more details.
API Changes
Sub namespaces of Colygon.MatchPoint:
Core.Administration.ConfigurationFile
- removed
public bool DoesUserHavePermissions(SPUser user, SPBasePermissions permissionMask)
Core.Administration.IConfiguration
- renamed from
AferSave
toAfterSave
Core.Administration.XmlSerialization.XmlSerializer
- removed
public static object Deserialize(Type type, XmlReader reader, MPInstance instance)
- removed
public static void Serialize(object obj, XmlWriter writer, MPInstance instance)
Core.Controls.BaseContextMenuBuilder
- removed
protected virtual void PopuplateDefaultContextMenu(DataGridClientPopupMenu p)
, usePopuplateDefaultContextMenu(DataItemClientPopupMenu)
instead - removed
protected void PopuplateCustomContextMenu(DataGridClientPopupMenu p)
, usePopulateCustomContextMenu(DataItemClientPopupMenu)
instead
Core.DataAdapters.BaseDataAdapter
- removed
public virtual IEnumerable<RibbonElement> GetCommands(Control container, IUpdatable updatable, MPInstance instance)
Core.DataProviders.BaseDataProviderInstance
- removed constructor
BaseDataProviderInstance(BaseDataProvider provider, IEnumerable<string> columnNames)
- removed
public virtual IEnumerable<ListButton> GetListActionButtons(Control container)
, useGetContextualRibbonElements
orGetCommandLinks
instead
Core.DataProviders.CamlProvider.ListDataProvider
- removed
ListActions
(of type ListAction) property, useActionButtons
instead. - removed
public BaseDataProviderInstance CreateInstance(IEnumerable<string> columnNames, IEnumerable<BaseCondition> conditions)
- removed
public BaseDataProviderInstance CreateInstance(IEnumerable<string> columnNames, IEnumerable<BaseCondition> conditions)
- removed
public string[] ListIds
, usepublic PatternString[] Lists
instead
Core.Expressions.Expression
- removed
public static HashSet<string> ExtractMemberNames(string varName, params Expression[] expressions)
, useCodeAnalyzer.ExtractMemberNames
instead
Core.Expressions.Extensions
- removed
public static string EncodeHtml(string obj)
- removed
public static string EncodeUrl(string obj)
- removed
public static string EncodeSql(string obj)
- removed
public static string EncodeScript(string obj)
Core.Extensions
- removed
public static string GetNewFormUrl(this SPList list)
- removed
public static SPUser GetAuthor(this SPListItemVersion item)
- removed
public static SPUser GetEditor(this SPListItemVersion item)
- removed
public static SPUser GetAuthor(this SPListItem item)
- removed
public static SPUser GetEditor(this SPListItem item)
- removed
public static string GetIconUrl(this SPListItem item)
- removed
public static string GetEditFormUrl(this SPListItem item)
- removed
public static string GetDisplayFormUrl(this SPListItem item)
Core.MPInstance
- removed
public bool IsAdministrator(Identity identity)
, useUserIsAdministrator()
instead
Core.SPHelper
- removed
public static string GetParentFolderUrl(SPListItem item)
- removed
public static SPUser GetUserBySid(string sddlSid), use SPHelper.GetUser()
instead
Core.WebParts.BaseListWebPart
- removed
protected void AddCustomRibbonButtons(IEnumerable<RibbonButton> buttons)
, useAddCustomRibbonElements(IEnumerable<RibbonElement> elements)
instead
Core.WebParts.Chart.ChartWebPartConfiguration
- removed
public bool EnableLazyLoading
, use theLoadingMode
member instead
Core.WebParts.Composite.CompositeWebPart
- removed
public bool EnableLazyLoading
, use theLoadingMode
member instead - removed
public int PageSize
, usePageSizeExpression
instead
Core.WebParts.CompositeRefinement.BaseRefinementGroup
- removed
public virtual IEnumerable<RefinerDescriptor> GetRefinerDescriptors()
, useGetRefinerDescriptors(NativeRefinementSettings nativeSettings)
instead
Core.WebParts.CompositeRefinement.CompositeRefinementWebPartConfiguration
- removed
public bool DisableNativeRefinement
, useNativeRefinementSettings
member instead
Core.WebParts.DataGrid.DataGridConfiguration
- removed
public bool EnableLazyLoading
, use theLoadingMode
member instead - removed
public int PageSize
, usePageSizeExpression
instead
Core.WebParts.DataGrid.DataGridConnectionData
- removed
public void AddConnectionDependencies(DependencyCollection dependencies)
- removed
public IEnumerable<ListButton> GetListActionButtons(Control container)
Core.WebParts.Form.Fields.CompositeField
- removed
public int PageSize, use PageSizeExpression
instead - removed
public bool EnableLazyLoading
, use theLoadingMode
member instead
Core.WebParts.Form.Fields.PersonField
- removed
public AccountType AccountType
, useIdentityChoiceProvider
member instead - removed
public ExpressionString ParentGroupExpression
, useIdentityChoiceProvider
member instead - removed
public bool Recursive
, useIdentityChoiceProvider
member instead
Core.WebParts.Refinement.Columns.BaseRefinementColumn
- removed
public virtual void AddCondition(RefinementNode node, List<BaseCondition> conditions)
. UseAddCondition(RefinementNode node, List <BaseCondition> conditions, NativeRefinementSettings nativeRefinementSettings)
instead - removed
public virtual void AddRefinerDescriptors(List<RefinerDescriptor> descriptors)
. UseAddRefinerDescriptors(List<RefinerDescriptor> descriptors, NativeRefinementSettings nativeSettings)
instead
Core.WebParts.Refinement.RefinementConfiguration
- removed
public bool DisableNativeRefinement
, useNativeRefinementSettings
member instead
EntityModel.DbQuery
- removed
public DbQuery WhereLike(string fieldName, string escapedTerm)
, useWhere(fieldName, ."LIKE.", value)
instead
EntityModel.ModelDataProvider
- removed property
public bool ShowAddButton
, useActionButtons
instead. - removed
public BaseDataProviderInstance CreateInstance(IEnumerable<string> columnNames, IEnumerable<BaseCondition> conditions)
Common.Logging (namespace)
- removed
abstract class BaseLogger
Core.DataProviders (namespace)
- removed
ITokenizedRefinementResult
(merged intoIRefinementResult
).Token
,RefinerName
,Label.
Core.DataProviders.CamlProvider (namespace)
- removed flagged
ListAction
enum
Core.WebParts.DataGrid.Controls (namespace)
- removed
public class DataGridClientPopupMenu
, useDataItemClientPopupMenu
instead - moved
public class ContextMenuException
to namespaceColygon.MatchPoint.Core.Controls
- moved
public class BaseContextMenuBuilder
to namespaceColygon.MatchPoint.Core.Controls
- moved
public class ListItemContextMenuBuilder
to namespaceColygon.MatchPoint.Core.Controls
- renamed
public class DataGridContextMenuItem
toDataItemContextMenuItem
and moved to namespaceColygon.MatchPoint.Core.Configuration
- renamed
public class DataGridContextMenuConfiguration
toDataItemContextMenuConfiguration
and to namespaceColygon.MatchPoint.Core.Configuration
Search.DataProvider.SearchDataProvider
- removed
public virtual BaseDataProviderInstance CreateInstance(IEnumerable<string> columnNames, IEnumerable<BaseCondition> conditions)
Search.Query.Keyword.KqlCriteria
- removed
public static string KqlEncode(string s)
Tagging.Model.FolderSettings
- removed
public HashSet<string> GetVisibleTagGroupIds()
, useGetVisibleParentTags
instead
Tagging.Model.TagPermissionCollection
- removed
public void Remove(byte[] rawSid), use Remove(string identity)
instead
WorkflowKit.Actions.BaseAction
- removed
protected WorkflowScope Scope
, useWorkflowScope parameter of Execute(WorkflowScope)
instead - removed
protected virtual void Run()
, useExecute(WorkflowScope)
instead
WorkflowKit.Actions.BaseFileAction
- removed
protected IEnumerable<SPFile> GetFiles(ExpressionString expression)
, useGetFiles(WorkflowScope, ExpressionString)
instead
WorkflowKit.Actions.BaseUpdatableAction
- removed
protected virtual bool ApplyChanges(IUpdatable updatable)
, useApplyChanges(WorkflowScope, IUpdatable)
instead
WorkflowKit.Actions.CreateListItemAction
- removed
protected virtual void SetFields(ISPUpdatable item)
, useSetFields(ISPUpdatable, WorkflowScope)
instead
WorkflowKit.Actions.CreateTaskAction
- removed
protected virtual void SetFields(ISPUpdatable item)
, useSetFields(ISPUpdatable, WorkflowScope)
instead
WorkflowKit.Actions.CreateWebAction
- removed
public PatternString OwnerLogin
, useSiteCollectionSettings
member instead - removed
public bool CreateSiteCollection
, useSiteCollectionSettings
member instead
WorkflowKit.SPListItemExtensions
- removed
public static WorkflowInstance GetWorkflowInstance(this SPListItem item)
, useGetWorkflowInstances(this SPListItem item)
instead
Workspaces.Configuration.WorkspaceTemplateConfiguration
- removed property
public bool CreateSiteCollection
- removed property
public ContentDatabase ContentDatabase
- removed property
public bool EnableItemLevelPermissions
- removed property
public PatternString OwnerLogin
- removed property
public bool InheritPermissions
Workspaces.WorkspaceDataProvider
- removed
public BaseDataProviderInstance CreateInstance(IEnumerable <string> columnNames, IEnumerable<BaseCondition> conditions)
- removed
public CacheGranularity CacheGranularity
- removed
public bool ShowAddButton
Workspaces.WSUtility
- removed
public static IEnumerable<Tag> GetUserRolesForCurrentUser(string roleName)
, useGetUserRolesForCurrentUser(string roleProviderName, string roleName)
instead
New concepts - MatchPoint Intranet
API Changes
Sub namespaces of Colygon.Matchpoint.Snow
:
Apps.AppSettings
- removed
public ExpressionString AppAdministrators
, you have to set permissions directly on the Apps list and the App Groups list
ClientResult.SuccessResult
- removed
public static SuccessResult Create(string message, object data)
, use methodSuccessResult<T>.Create(T data, string message)
instead
Control.Timeline.SPMFPContent
- removed
protected SPMFPContent(string content)
, useSPMFPContent(string content, bool isReply)
instead - removed
public virtual string Render(bool isReply)
, useHtml
property instead
Control.UserItemTemplateControl
- removed
protected bool IsHiddenForSystemUser
- removed
protected bool IsHiddenIfViewerIsSystemUserOrCrawler
- removed
protected bool IsViewerSystemUser
Control.WorkspaceIconControl
- removed
public string WorkspaceType
, useWorkspaceTypeName
instead
Control (namespace)
- removed
public abstract class BaseWorkspaceTemplateControl
Expression.Extension.UserProfileExtensions
- removed
public static SPSocialActor[] GetFollowed(this UserProfile profile, string socialActorType)
, use overload withSPSocialActorTypes
parameter instead
Expression.MPSConstants
- removed
public static string MainMenuSnowflakes
, useMainMenuApps
instead - removed
public const string MainMenuReports
, useMainMenuDashboard
instead
Expression.MPSTimelineHelper
- removed
public static string AddPost(string post, string targetId, Dictionary<string, object > attachment)
, usepublic static IClientResult AddPost(string post, string targetId, string userName, string contextUrl, SPSocialAttachment attachment)
instead - removed
public static string CommentUrl(string isFile, string comment)
, useAddPost(string post, string targetId, SPSocialAttachment attachment)
- removed
public static string AddPost(string post, string targetId)
, useAddPost(string post, string targetId, SPSocialAttachment attachment)
- removed
public static string CommentUrl(string url, string isFile, string comment)
, useAddPost(string post, string targetId, SPSocialAttachment attachment)
- removed
public static string LikePost(string uniquePostId, bool like)
, useLikePost(bool like, string uniquePostId)
- removed
public static bool Follow(string identifier, SPSocialActorType actortype, bool follow)
, useFollow(bool follow, string identifier, SPSocialActorType actortype)
instead
Expression.MPSUrls
- removed
public const string TopNavigationReports
- removed
public const string TopNavigationReportsActive
- removed
public const string ReportsAspxRelUrl
- removed
public static string ReportsAspxUrl
- removed
public const string RequestParamShowWelcomeDialog
Expression.MPSUserHelper
- removed
public static bool IsAppAdministrator()
, use the methodsCanManageAppList
and/orCanManageAppGroupList
instead - removed
public static SPUser EnsureUser(string loginName)
, useSPHelper.EnsureUser
instead - removed
public static string EnsureAccountName(string claimsName)
, useGetAccountName
instead - removed
public static bool ToggleFavoriteAppId(int id)
, usepublic static IClientResult ToggleFavoriteApp(int appListItemId)
instead
Expression.MPSUtility
- removed
public static bool RequiresAppManagementAction()
, use the methodsRequiresAppListManagementAction
and/orRequiresAppGroupListManagementAction
instead
Expression.MPSWorkspaceHelper
- removed
public static bool CanCreateAnyWorkspaceType()
, useGetCreatableWorkspaceTypesForCurrentUser(false).Any()
instead - removed
public static WorkspaceType[] GetWorkspaceTypesIcanCreate(string filter)
, useGetCreatableWorkspaceTypesForCurrentUser
instead - removed
public static WorkspaceType[] GetWorkspaceTypesIcanCreate()
, useGetCreatableWorkspaceTypesForCurrentUser
instead - removed
public static bool IsSnowWorkspace(SPWeb web)
, useMPSContext.IsWithinSnowWorkspace()
instead
Expression (namespace)
- removed
SnowHelper
, useMPSHelper
instead - removed
public static class MPSContentHelper
- removed
public static class StringResourcesAdapter
, useMPSStringResourcesAdapter
instead - removed
public static class Constants
, useMPSConstants
instead - removed
public static class Constants.Properties
, useMPSConstants.Properties
instead - removed
public static class Constants.StrResKeys
, useMPSConstants.StrResKeys
instead - removed
public static class Constants.MicroBlogContentData
, useMPSConstants.MicroBlogContentData
instead - removed
OneLinerWrapper
- removed
public class SnowUrls
, useMPSUrls
instead
MPSHelper
- removed
public static void AddStatusBarMessage(Page page, SPPageStatusColor color, string message, string title, int hideAfter, bool hideCloseButton)
, useAddStatusBarMessage
-overload instead - removed
public static bool IsSystemAccount()
, useSPHelper.IsCurrentUserSystemAccount
- removed
public static string GetString(string key), use
MPSUtility.GetSnowString` instead - removed
public static string GetString(string key, string fallback)
, useMPSUtility.GetSnowString
instead
Snowflake.Configuration.BaseSnowflakeConfiguration
- removed
public ExpressionString TopNavigationNodeVisibilityExpression
, as of MatchPoint Snow version 1.0.6 the visibility can be specified via a flag on the 'Apps'-list or via item permissions
Snowflake.Configuration.BaseSnowflakeConfiguration
- removed
public NavigationNode[] TopNavigation
, useTopNavigationSettings.Nodes
instead
Snowflake.Configuration.WorkspaceType
- removed
public ExpressionString ProvisioningConfigurationExpression
, useProvisioningConfigurations
instead - removed
public ProvisioningConfiguration ProvisioningConfiguration
, useGetProvisioningConfigurations()
instead - removed
public ConfigurationFile ProvisioningFile
, useGetProvisioningFiles()
instead
Snowflake.FeatureReceiver.SnowflakeFeatureReceiver
- removed
protected virtual string GetSnowflakeConfigurationFilename()
, omit this method.Filename
is automatically derived forISingletonConfigurations