Squiz Matrix Newsletter #391
17 AugThis week we have three new features to report, including a new keyword modifier to return a JSON encoded string. Continue reading below for more information on all this week's developments.
New Keyword Modifier to Return a JSON Encoded String
Due for release in version 4.10.2 (September 3rd 2012)
Keyword modifiers within Squiz Matrix allow you to modify the returned values of keyword replacements. This feature introduces a new keyword modifier to provide a JavaScript Object Notation (JSON) representation of a returned value.
The json_encode keyword modifier will take the returned value of the keyword replacement, encoding it into a JSON string (or register a log error if the encode fails). In the example below, the json_encode modifier has been used to provide a JSON encoded string of the value returned on the asset_metadata_text_field keyword.
%asset_metadata_text_field^json_encode%
This modifier is useful when you require content to be formatted in JSON, for example, when transmitting data to a web application.
Workflow Bundles: Improved Error Handling for Required Metadata
Due for release in version 4.10.2 (September 3rd 2012)
When editing multiple assets within Squiz Matrix that have Workflow applied, users can utilise Workflow Bundle assets to create bundles of linked assets that can be taken into workflow and approved in batches.
Previously, if a bundled asset was missing required metadata, the Workflow Bundle would still attempt to change its status to Pending Approval when a user prompted this status change. This would then result in a failed HIPO job, due to this missing metadata, potentially leading to inconsistent asset statuses for the assets under the Workflow Bundle.
This feature introduces improved error handling in these situations, providing users with an error message and a link to the Metadata screen of the offending asset.
This functionality has also been extended to the Workflow screen of Workflow Bundle assets, if a user tries to approve changes to the bundled assets and one or more of these assets are missing required metadata.
This feature has been introduced to prevent the asset status issues associated with a failed HIPO job, as well as to equip users with more accurate information of these particular issues so that they can swiftly be resolved.
Spanish Characters Remapped in Web Paths
Due for release in version 4.10.2 (September 3rd 2012)
Some nifty news for all our Español users as we introduce a handy new feature to remap Spanish chars to English equivalents in asset web paths.
The following characters will now be remapped:
| Spanish | English |
|---|---|
| á Á | a A |
| é É | e E |
| í Í | i I |
| ó Ó | o O |
| ú Ú | u U |
| ü Ü | u U |
| ñ Ñ | n N |
This remapping helps to prevent invalid characters within the URLs of Squiz Matrix assets.