Updated structures
massimportitem
itemisvalid (ADDED) Allows to store item validity against its target structure
child → activated
Not editable
default 1
New operation of the API connection in session mode
The version 2021.4 introduces a new connection mode of the API in session mode. The surfer is no longer created at each invocation (this avoids the execution of surferservices at each invocation).
Cookies
The cookie used to maintain the session is JSESSIONID. The x-wedia-api-token cookie is not used anymore.
The x-wedia-api-token-so and x-wedia-api-token-tk cookies are maintained.
A new cookie x-wedia-api-token-app is implemented to allow the return to the application connection in case of user disconnection.
Session sharing between Backoffice and Portal
There is no change to make in the way the services are called (signin, token refresh, signout). The cookieauth parameter is always used to switch to cookie mode (instead of bearer). However, the sessionauth parameter is no longer supported.
The session/JSESSIONID mode is enabled by default. The operation is imposed on all callers, but it is necessary for them to maintain the JSESSIONID cookie to operate in session mode, otherwise there will always be a connection (with execution of the surferservices) at each invocation.
The other modes are still supported.
Compatibility
…
Portal development in localhost
…
Old cookies maintained by browsers
…
Dataview personification
In the concern of giving to our users more flexibility about what they are seeing in the dataview, it’s now possible to show/hide all the i18n field from the dataview. A new button “Translations” is now displayed when i18n fields are present in the dataview. This is totally independant from the security and it’s working on what is already displayed.