Skip to content

C1 CMS 6.8

Compare
Choose a tag to compare
@mawtex mawtex released this 28 Nov 14:55
· 130 commits to master since this release
f8fdb5b

C1 CMS 6.8 (6.8.7271.23834)

Download

Download C1 CMS 6.8

What’s new in C1 CMS 6.8?

  • new tree selector widget
  • support for "version published" content in the C1 Package system
  • fix: adding new language and selecting 'give access to all users' will include access to all groups also

New widget, Composite.Widgets.String.TreeSelector

A new widget (UI element to be used in the C1 Console UI for C1 Function configuration or forms) allow you to expose the tree structure from an Element Provider for element selection. The provider used, what property is selected and filters are configured as parameters to the widget.

Parameters:

  • ElementProvider: Required. The name of a tree element provider (as defined in Composite.config)
  • SelectableElementReturnValue: Required. The name of the element field whose value to return for selection. Typical values here can be DataId (for data trees), Uri (for linkable elements), or EntityToken (for any element). Element providers may provide more fields.
  • SelectableElementPropertyName: An element must have this field to be selectable.
  • SelectableElementPropertyValue: The value of the property optionally used (if provided) to further identify a selectable tree element by. Seperate multiple values with spaces.
  • SerializedSearchToken: A search token, seriallized, to filter which tree elements is shown. To filter what is selectable, use the 'Selection filter' properties.
  • Required: Boolean. An option that indicates whether the user is required to make a selection.

Element property names and search tokens depend on what you need and what the element provider is exposing.

Examples

Media selection - show only PDF and DOCX files, only from the folder /Documents - select the media URL:

<f:widgetfunction xmlns:f="http://www.composite.net/ns/function/1.0" name="Composite.Widgets.String.TreeSelector">
	<f:param name="ElementProvider" value="MediaFileElementProvider" />
	<f:param name="SelectableElementReturnValue" value="Uri" />
	<f:param name="SerializedSearchToken">
	    {"MimeTypes":["application/pdf","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],"Folder":"/Documents","$type":"Composite.Plugins.Elements.ElementProviders.MediaFileProviderElementProvider.MediaFileSearchToken, Composite"}
	</f:param>
</f:widgetfunction>

Media selection - show all media, only allow JPEG selection, select the media URL:

<f:widgetfunction name="Composite.Widgets.String.TreeSelector" xmlns:f="http://www.composite.net/ns/function/1.0">
	<f:param name="ElementProvider" value="MediaFileElementProvider" />
	<f:param name="SelectableElementReturnValue" value="Uri" />
	<f:param name="SelectableElementPropertyName" value="ElementType" />
	<f:param name="SelectableElementPropertyValue" value="image/jpeg" />
</f:widgetfunction>

Show all data types and data, like on the data perspective. Allow any node to be selected and return the Entity Token:

<f:widgetfunction name="Composite.Widgets.String.TreeSelector" xmlns:f="http://www.composite.net/ns/function/1.0">
	<f:param name="SelectableElementReturnValue" value="EntityToken" />
	<f:param name="ElementProvider" value="GeneratedDataTypesElementProvider" />
</f:widgetfunction>

Support for "version published" content in the C1 Package system

The Package Creator has been updated to v3.8.0 - new in this version is the ability to safely export content which exists in multiple versions to a C1 Package.

C1 CMS 6.8 support importing a C1 Package containing multi-version content.

These features are usable by users using Orckestra.Versioning.VersionPublication - users should upgrade to C1 CMS v6.8 and re-install the Package Creator to fully update.

Minor changes and bug fixes

  • When adding a new language to the system and you say yes to granting access to all existing users, this will be granted to all existing user groups also.

6 8