01-03-2017 01:28 PM
Hi,
i have used following widget. i need to format display value. can i use string "concat", "replace"... function to change display value here?
{
id: "TABLE_NAME_CELL",
name: "alfresco/lists/views/layouts/Cell",
config: {
additionalCssClasses: "mediumpad",
widgets: [
{
id: "TABLE_NAME",
name: "alfresco/renderers/InlineEditPropertyLink",
config: {
propertyToRender: "parent.properties.cm:name",
permissionProperty: "node.permissions.user.Write",
postParam: "prop_cm_name",
renderAsLink: true,
}
}
]
}
},
Regards
janaka
01-04-2017 08:04 AM
No - values are rendered at runtime and you cannot (currently) provide transformation rules in the widget configuration. There are some common transformations for common data types, e.g. parsing and formatting of ISO8601 date expressions. If I need custom formatted values I either use a Share-tier web script to enhance the data or write a custom widget module to apply my formatting rules.
Explore our Alfresco products with the links below. Use labels to filter content by product module.