SPMeta2 v1.1.95-beta1
Pre-release
Pre-release
SubPointSupport
released this
08 Jun 15:29
·
756 commits
to dev
since this release
New definitions
- RefinementScriptWebPartDefinition
- ComposedLookItemLinkDefinition
- SilverlightWebPartDefinition
- MasterPagePreviewDefinition
- FilterDisplayTemplateDefinition
- ManagedPropertyDefinition (SP2013 SSOM impl only)
Fixes
- Fixed WebNavigationSettings provision for SSOM - correct ShowSubSites/Pages flags setup
Enhancements - Module files definition can be deployed under lists
- RootWebDefinition can be deployed under web
- Taxonomy terms provision checks special characters
- Incorrectly deleted taxonomy field is handled during re-provisioning
- WebPartDefinition has ParameterBndings prop
- ModuleFileUtils.LoadModuleFilesFromLocalFolder(..) method to map "local folder" intto model tree
- WebpartXmlExtensions.LoadDefinitionFromWebpartFile(..) method to load webpart definition from .webpart/.dwp files
Obsolete API
- SPMeta2.SSOM.DefaultSyntax.ListDefinitionSyntax.GetListUrl() marked as obsoleted
- SPMeta2.CSOM.DefaultSyntax.ListDefinitionSyntax.GetListUrl() marked as obsoleted
- ListDefinition.Url marked as obsolete - use ListDefinition.CustomUrl with specifying "/List/mylist" or "mylibrary" URL instead
The challenge is that GetListUrl() method was supposed to calculate a correct list URL (with/without 'List' prefix) based on the list type. That works well for known lists, but works incorrectly on list templates, custom list template and lists which types are unknown to M2 library. We suggest to use "CustomUrl" property instead of "Url" and specify web-related list URL - with or without "/List" prefix depending on your case.
Regression tests
Improved regression test covered - 460+ tests to cover more provision scenarios and cases.
The main focus for the June 2015 release is secondary lookup field implementation and better regression test coverage.