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
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.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.