1 of 18

Dev Webinar release-2023-07

2 of 18

Overview

  • Welcome!
  • Q&A after every feature + at the end
  • Technical release notes revamp
  • Feedback -> meinrad@livingdocs.io

Recording of the webinar | Passcode: +3r9#&Te

3 of 18

Features

4 of 18

Enhanced Search: Search Filters on the Public API

A filters query parameter can now be provided to the Search Publications endpoint.

Each object must contain either a valid logical operator property (“and”, “or”, “not”), or a query expression property (“term”, “exists”, “range”).

5 of 18

Enhanced Search: Sorting on the Public API

Possible sort values:�documentId, contentType, firstPublicationDate, lastPublicationDate, significantPublicationDate, visiblePublicationDate, sortDate, metadata.*

  • Most metadata can be used to sort, but not properties indexed as “text” or “boolean”.
  • Documents which don't have an indexed value will appear at the end of the results.
  • The sort order can be reversed by prefixing the property name with a “-”.
  • Multiple sort parameters can be provided by providing a comma separated list.

More information in Search reference.

6 of 18

Enhanced Search: Draft and Publications Indexing

Dynamic metadata indexing is now available for documents (draft index) and publications (publication index).

It works in a similar way to the media library index. For upstream metadata plugins simply add index: true to the metadata declaration.

Please see the documentation for compatibility. Currently 29 of 48 plugins support dynamic indexing.

7 of 18

Enhanced Search: Display Filters ListV2 with OR

The Filters ListV2 have been extended to support multiple selections. The selected values are OR combined in the search query.

More information in Display Filters guide.

8 of 18

li-tree: Multi-Language support

  • New Config and item-type: “multilang”
  • Preselected language filter for document selection

More details in li-tree documentation

{

handle: 'linkTree',

type: 'li-tree',

config: {multilang: true},

ui: {

config: {

document: {

useDashboard: 'articles',

displayFilters: ['language']

}

}

}

}

9 of 18

Document Preview

  1. Register server function*�Returns HTML or iFrame config�
  2. Define document previews�In editor settings per project�
  3. Use in Content Type�Multiple previews possible��

Full Guide in Documentation

* Former Preview API is deprecated and removed with release-2023-09:

previewApi.registerRenderFunction, migrate to documentApi.registerPreviewFunction.

10 of 18

Improvements

11 of 18

Import: Support significantPublicationDate

significantPublicationDate sets a date which deliveries can display. When performing a POST api/v1/import/documents request, you can define significantPublicationDate within documents.[].publishControl.

The properties�firstPublicationDate�and lastPublicationDate�were already supported.

12 of 18

Document Copy: Copy target icon and label config

See Documentation

Copy config in project config:

13 of 18

Breaking changes

  • Removed support for useAsTitle in li-text metadata

Please use configuration displayTitlePattern. More information in May release Webinar.

  • Renamed filters to legacyFilters used in searchPublications()

Renamed conditions to filters used in searchPublications()

As part of our efforts to improve Search DSL, we had to remove support for old filters. conditions was introduced in May release and uses the new DSL, effectively replacing old filters.

  • Node v16 is not supported anymore since it will be end-of-life in September 2023, use Node v20 latest LTS.

14 of 18

Deprecations

  • Legacy dashboards support will be removed in release-2023-09 together with AngularJS metadata plugins. Upgrade path is via TableDashboards.
  • Prepare Publish Flow is being phased out in favor of Publish Control. Migration guide in the documentation.
  • A legacy version of the filters property (renamed to legacyFilters) used in searchPublications() has been deprecated and will be removed in release-2023-09. Upgrade path is via new Search DSL.
  • Support for contentType.publicationIndex.scheduledPublishing and will be removed in release-2023-09. You should use Publish Control configuration publishControl.publishSchedule. More information in Scheduled Publishing.
  • When using liEmbedTeaserIncludeModal if you didn’t configure directive.config.search , it defaults to app.filters.inlineArticleList which is deprecated and will be removed in release-2023-09. Please adapt your config if you see a deprecation message in your browsers console.

15 of 18

Reminder: AngularJS custom metadata deprecations

Correction Previous dev webinars communicated that all AngularJS support would be removed with September release, which is not accurate:

  • Only AngularJS custom metadata plugin and legacy dashboards support will be discontinued with September Release
  • Goal is to move your custom plugins to core plugins
  • If you cannot replace AngularJS plugins with core plugins: contact your customer manager before you write new plugins
  • Please make sure you don’t see deprecation notices when starting the Server and Editor to ensure you are not affected

16 of 18

Q & A

17 of 18

Next Dev Webinar

12.09.23

14:00 - 15:00

18 of 18

THANK YOU!