Customize page definitions?
Is it possible/acceptable to customize page definitions?
There are already some “magic” visualizations for the catalog experience, the roles in the asset title, or some assets like “issues” displaying roles on the page.
This configuration is currently maintained in page definitions, with no designer to edit them, despite this highly voted feature in the ideation board.
The configuration goes like
dataissue/index.json{
"name": "Asset Page",
"level": "application",
"description": "This is Asset Page product page that loads breadcrumb, titlebar and application-content page definition.",
"resource-type": "Asset",
"title": "<%=resourceName%> (<%=resourceTypeName%>)",
"titlebarRoleIds": ["Role:00000000-0000-0000-0000-000000005031"],
"configuration": {
"module": {
"name": "dgc/Layout/VerticalLayout",
"id": "verticalLayout",
"rows": {
"row1": {
"width": "100%"
},
"row2": {
"width": "100%"
},
"row3": {
"width": "100%"
},
"row4": {
"width": "100%"
}
},
"regions": [
{
"row1": [
{
"module": {
"name": "dgc/GlobalCreate/Asset/AssetGlobalCreateWizard",
"id": "asset-global-create-wizard"
}
}
]
},
...
"Overview": [
{
"module": {
"name": "dgc/TabbarLayout/ScrolledElement",
"id": "Overview",
"regions": [
{
"scrolledElement": [
{
"module": {
"name": "dgc/AssetManagement/Overview/PDDataIssueOverview",
"id": "attributes",
"roleIds": [
"Role:00000000-0000-0000-0000-000000005031",
"Role:00000000-0000-0000-0000-000000005033",
"Role:00000000-0000-0000-0000-000000005032"
],
"menuItem": [
{
"name": "tableConfig"
}
]
}
}
]
}
]
}
},
{
Is this something you have already attempted?
The nice result is that it would enable to display roles on pages, etc.
arthurburkhardt
Posted 5 years ago · Edited 1 year ago
0 comments