Expression Evaluation Time: ms / Round trip: ms
MatchPoint 4.0.11 Released
21. Mar
2016
by Markus Lindenmann Category:
Announcement
2

On Friday new versions of MatchPoint and MatchPoint Snow have been released. This blog post offers an overview of the new features and fixes introduced with MatchPoint version 4.0.11 for SharePoint 2013. To find more information on the new release of MatchPoint Snow, please refer to the corresponding blog post.

Item Templates

Item Templates are an enhancement for the Composite Web Part. The aim is to move the rendering-logic of a result item to a separate configuration-element so it can be reused by different composite configurations. The basic idea is that an item template defines how a specific item should be rendered and the transformer defines the basic HTML-structure of the whole control/web part. Please note that item templates are not a must, you can continue to use the Composite Web Part as before.

There are different kinds of item templates, for example a simple "Pattern Item Template", where an HTML-PatternString can be defined which generates the HTML. Or a "User Control Item Template", where a user control can be specified as well as a set of expressions which are evaluated and set to the defined properties on the user control. Custom item templates may be implemented as well. We do this ourselves for example in MatchPoint Snow.

Multiple item templates can be specified per Composite Web Part. Every item template must have a MatchExpression, the first one whose expression evaluates to true is used. This is useful if specific types of result items (e.g. document, task, announcement, etc.) needs to have their own rendering logic.

When the query is executed, all required columns are extracted from the defined item templates and are retrieved from the data source. Sometimes additional required columns must be specified, for example if they are used internally by expressions which access the DataItem. This can be done in the AdditionalRequiredColumns-member.

In case certain values need to be reused within an item template a VariableDefinition can be added to the Variables-collection.

Next to the normal DataItem-ExpressionVariable which has always been available in the scope of a composite transformer, there now is a new ItemTemplate-variable:

  • Use ItemTemplate.GetHtml() to render the HTML
  • Use ItemTemplate.Variables.VariableName to access variables defined in the Variables-member
  • Use ItemTemplate.Exists to ensure an matching item template has been found

Item Templates can be defined inline or in an own configuration file. To reference an item template defined in an own configuration file, a ReferenceItemTemplate can be used. Variables and the MatchExpression can be overridden here.

WebAPI Endpoint Configuration

MatchPoint now supports an easy way to provide a web service on the SharePoint environment.

When configured, the web service is accessible as follows:

http://<myhost>/_vti_bin/Colygon.MatchPoint/WebApi.svc/<myprefix>/<param1>/<param2>

EndPoints can be configured to define e.g. a request validator, an action expression and response headers. This can for example be used to expose information to other systems in the intranet or to provide an API for other Systems to push information to the intranet.

Mega Menu Web Part

This version MatchPoint introduced a new navigation control called the Mega Menu Web Part, which allows to render a mega menu or a flyout. Navigation nodes can be provided statically in the configuration or using MatchPoint Data Providers.

Mega Menu Web Part

Inline Buttons in Form Web Part

Inline- and Ribbon-buttons can now be configured in a unified manner as Commands. Those configured commands can than be positioned either as inline or as ribbon buttons by referencing specified buttons in a picker.

Besides that it is also possible to configure the position of native buttons provided by the Form Web Part or the associated Data Adapter.

Additional Changes

  • It is now possible to bulk load Tags by tag key and provider ID
  • It is now possible to configure indexed columns on lists in provisioning configurations
  • The Search Data Provider now supports search query logging
  • jQueryUI is updated to 1.11.4, including Highlight Effect
  • Progress indicators can be deactivated in CompositeField and CompositeWebPart
  • Added Newtonsoft.Json (version 8) as a prerequisite

For a complete list of all changes please refer to the release notes document.

Comments
Sandra Perz
08.04.2016 03:43
Do you provide a download of the release notes somewhere in the community? We have not yet installed this release in our environment and I just want to inform myself before we go ahead. Thanks.
Markus Lindenmann
08.04.2016 05:34
The release notes for MatchPoint and MatchPoint Snow are available in the Downloads section.
ABOUT

This blog is about technical and non-technical aspects of the product MatchPoint and other SharePoint topics.

If you would like to post an article or if you have an idea for a post, please contact us.

ARCHIVE
COMMENTS
Matthias Weibel
09.04.2018 01:12
Link is updated and works now. | Goto Post
Dhanabalan
09.04.2018 12:21
Link doesn't work. Could anyone explain what does... | Goto Post
matthiaszbrun
14.03.2018 02:05
Hi Markus
We I use the config for SiteCollectionSe... | Goto Post
Reto Jeger
04.10.2017 09:15
Hello Reiner,
Thanks for pointing out the missing ... | Goto Post
rganser
29.09.2017 09:56
Hi, I downloaded the ZIP-file for MatchPoint Versi... | Goto Post