Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Portal Config

...

PACKAGED_BOV3_DashboardWidgets

Default configuration of this plugin

...

titleSee changes in plugin.xml

Parameters:

UPDATED configured_widgets:

default value:

  • Old:

...

languagejson

has changed since last version :

  • configured_widgets A new syntax is available to define criteria for querying instances to display inside a widget.
    Before, you would define a query entry. This property is deprecated, but is still understood by the plugin.
    Now, you will define a filters entry. Filters entry uses the same syntax as /bov3/datalist/preload.jsp uses.
    It is recommended to update your current configuration so that links are available within each widgets.

  • remove_widgets By default, listAssetsCall2Action widget is now removed:

    • It came with an image that was not configurable easily

    • It didn’t bring much business value

  • default_widgets Roles no longer include listAssetsCall2Action widget

  • default_roletemplate_widgets: Role templates no longer include listAssetsCall2Action widget

See BO Configuration checklist for detailed explanations.

plugin.xml

Expand
titleSee changes in plugin.xml
  • Parameters:

    • UPDATED configured_widgets:

      • default value:

        • Old:

        Code Block
        languagejson
        {
          "candidates_keywords": {
            "object": "assetkeyword",
            "fields": [
              "name",
              "created"
            ],
            "query": {
              "field": "status",
              "method": "addChildMultiIn",
              "value": "2"
            }
          },
          "userrequests": {
            "object": "userregistration",
            "fields": [
              "firstname",
              "lastname",
              "login",
              "company",
              "created"
            ],
            "query": {
              "field": "activated",
              "method": "addChildEquals",
              "value": "1"
            }
          },
          "rejectedassets": {
            "object": "asset",
            "fields": [
              "name",
              "binary",
              "modified",
              "status"
            ],
            "query": {
              "field": "status",
              "method": "addChildEquals",
              "value": "9"
            }
          },
          "pendingassets": {
            "object": "asset",
            "fields": [
              "name",
              "binary",
              "modified",
              "owner"
            ],
            "query": {
              "field": "status",
              "method": "addChildEquals",
              "value": "8"
            }
          }
        }
        • New:

        Code Block
        languagejson
        {
          "candidates_keywords": {
            "object": "assetkeyword",
            "fields": [
              "name",
              "created"
            ],
            "filters": {
              "status": {
                "in": [
                  "2"
                ]
              }
            },
            "orderBy": "pmodified asc",
            "template": null
          },
          "userrequests": {
            "object": "userregistration",
            "fields": [
              "firstname",
              "lastname",
              "login",
              "company",
              "created"
            ],
            "filters": {
              "activated": {
                "in": [
                  "1"
                ]
              }
            },
            "orderBy": "pmodified asc",
            "template": null
          },
          "rejectedassets": {
            "object": "#damobject",
            "fields": [
              "name",
              "binary",
              "modified",
              "status"
            ],
            "filters": {
              "status": {
                "in": [
                  "9"
                ]
              }
            },
            "orderBy": "pmodified asc",
            "template": null
          },
          "pendingassets": {
            "object": "#damobject",
            "fields": [
              "name",
              "binary",
              "modified",
              "owner"
            ],
            "filters": {
              "status": {
                "in": [
                  "8"
                ]
              }
            },
            "orderBy": "pmodified asc",
            "template": null
          }
        }
    • UPDATED remove_widgets:

      • default value:

        • Old:

        Code Block
        languagejson
        {
          "bloc_object_contents": true,
          "articles": true,
          "expiringAssets": "${surfer.properties.roleid ne '28' and surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '998' and surfer.properties.pkgroletemplate ne '997'}",
          "news": true,
          "my_projects": true,
          "mediacore_proposed": true,
          "galleryelements": true,
          "bloc_authorizedusers": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '997'}",
          "PACKAGED_BOV3_DashboardWidgets_userrequests": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '997'}",
          "PACKAGED_BOV3_DashboardWidgets_candidates_keywords": "${surfer.properties.roleid ne '28' and surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '998' and surfer.properties.pkgroletemplate ne '997'}",
          "PACKAGED_BOV3_DashboardWidgets_pendingassets": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '997'}",
          "PACKAGED_BOV3_DashboardWidgets_rejectedassets": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '28' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '998' and surfer.properties.pkgroletemplate ne '997'}"
        }
        • New:

        Code Block
        languagejson
        {
          "listAssetsCall2Action": true,
          "bloc_object_contents": true,
          "articles": true,
          "expiringAssets": "${surfer.properties.roleid ne '28' and surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '998' and surfer.properties.pkgroletemplate ne '997'}",
          "news": true,
          "my_projects": true,
          "mediacore_proposed": true,
          "galleryelements": true,
          "bloc_authorizedusers": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '997'}",
          "PACKAGED_BOV3_DashboardWidgets_userrequests": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '997'}",
          "PACKAGED_BOV3_DashboardWidgets_candidates_keywords": "${surfer.properties.roleid ne '28' and surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '998' and surfer.properties.pkgroletemplate ne '997'}",
          "PACKAGED_BOV3_DashboardWidgets_pendingassets": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '997'}",
          "PACKAGED_BOV3_DashboardWidgets_rejectedassets": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '28' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '998' and surfer.properties.pkgroletemplate ne '997'}"
        }
    • UPDATED default_widgets:

      • default value:

        • Old:

        Code Block
        languagejson
        {
          "27": {
            "bloc": [
              {
                "code": "listAssetsCall2Action",
                "title": "block_assets_list_c2a",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/assets_c2a.jspz",
                "open": "true",
                "img": "",
                "nbr": "5",
                "params": "",
                "col": ""
              },
              {
                "code": "latestAssets",
                "title": "block_latest_assets_label",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/latest_assets.jspz",
                "img": "",
                "open": "true",
                "nbr": "5",
                "col": ""
              },
              {
                "code": "expiringAssets",
                "title": "block_expiring_assets_label",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/expiring_assets.jspz",
                "open": "true",
                "img": "",
                "nbr": "5",
                "params": "",
                "col": 0
              },
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_pendingassets",
                "title": "PACKAGED_BOV3_DashboardWidgets_pendingassets_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": "true",
                "nbr": "5",
                "params": "pendingassets",
                "col": 1
              },
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_userrequests",
                "title": "PACKAGED_BOV3_DashboardWidgets_userrequests_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": "true",
                "nbr": "5",
                "params": "userrequests",
                "col": 1
              },
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords",
                "title": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": true,
                "nbr": "5",
                "params": "candidates_keywords",
                "col": 1
              }
            ]
          },
          "28": {
            "bloc": [
              {
                "code": "listAssetsCall2Action",
                "title": "block_assets_list_c2a",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/assets_c2a.jspz",
                "open": "true",
                "img": "",
                "nbr": "5",
                "params": "",
                "col": ""
              },
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_rejectedassets",
                "title": "PACKAGED_BOV3_DashboardWidgets_rejectedassets_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": "true",
                "nbr": "5",
                "params": "rejectedassets",
                "col": 1
              },
              {
                "code": "latestAssets",
                "title": "block_latest_assets_label",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/latest_assets.jspz",
                "img": "",
                "open": "true",
                "nbr": "5",
                "col": ""
              },
              {
                "code": "expiringAssets",
                "title": "block_expiring_assets_label",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/expiring_assets.jspz",
                "open": "true",
                "img": "",
                "nbr": "5",
                "params": "",
                "col": 0
              },
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords",
                "title": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": true,
                "nbr": "5",
                "params": "candidates_keywords",
                "col": 1
              }
            ]
          },
          "29": {
            "bloc": []
          }
        }
        • New:

        Code Block
        languagejson
        {
          "27": {
            "bloc": [
              {
                "code": "latestAssets",
                "title": "block_latest_assets_label",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/latest_assets.jspz",
                "img": "",
                "open": "true",
                "nbr": "5",
                "col": ""
              },
              {
                "code": "expiringAssets",
                "title": "block_expiring_assets_label",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/expiring_assets.jspz",
                "open": "true",
                "img": "",
                "nbr": "5",
                "params": "",
                "col": 0
              },
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_pendingassets",
                "title": "PACKAGED_BOV3_DashboardWidgets_pendingassets_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": "true",
                "nbr": "5",
                "params": "pendingassets",
                "col": 1
              },
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_userrequests",
                "title": "PACKAGED_BOV3_DashboardWidgets_userrequests_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": "true",
                "nbr": "5",
                "params": "userrequests",
                "col": 1
              },
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords",
                "title": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": true,
                "nbr": "5",
                "params": "candidates_keywords",
                "col": 1
              }
            ]
          },
          "28": {
            "bloc": [
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_rejectedassets",
                "title": "PACKAGED_BOV3_DashboardWidgets_rejectedassets_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": "true",
                "nbr": "5",
                "params": "rejectedassets",
                "col": 1
              },
              {
                "code": "latestAssets",
                "title": "block_latest_assets_label",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/latest_assets.jspz",
                "img": "",
                "open": "true",
                "nbr": "5",
                "col": ""
              },
              {
                "code": "expiringAssets",
                "title": "block_expiring_assets_label",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/expiring_assets.jspz",
                "open": "true",
                "img": "",
                "nbr": "5",
                "params": "",
                "col": 0
              },
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords",
                "title": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": true,
                "nbr": "5",
                "params": "candidates_keywords",
                "col": 1
              }
            ]
          },
          "29": {
            "bloc": []
          }
        }
    • UPDATED default_roletemplate_widgets:

      • default value:

        • Old:

        Code Block
        languagejson
        {
          "997": {
            "bloc": [
              {
                "code": "listAssetsCall2Action",
                "title": "block_assets_list_c2a",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/assets_c2a.jspz",
                "open": "true",
                "img": "",
                "nbr": "5",
                "params": "",
                "col": ""
              },
              {
                "code": "latestAssets",
                "title": "block_latest_assets_label",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/latest_assets.jspz",
                "img": "",
                "open": "true",
                "nbr": "5",
                "col": ""
              },
              {
                "code": "expiringAssets",
                "title": "block_expiring_assets_label",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/expiring_assets.jspz",
                "open": "true",
                "img": "",
                "nbr": "5",
                "params": "",
                "col": 0
              },
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_pendingassets",
                "title": "PACKAGED_BOV3_DashboardWidgets_pendingassets_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": "true",
                "nbr": "5",
                "params": "pendingassets",
                "col": 1
              },
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_userrequests",
                "title": "PACKAGED_BOV3_DashboardWidgets_userrequests_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": "true",
                "nbr": "5",
                "params": "userrequests",
                "col": 1
              },
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords",
                "title": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": true,
                "nbr": "5",
                "params": "candidates_keywords",
                "col": 1
              }
            ]
          },
          "998": {
            "bloc": [
              {
                "code": "listAssetsCall2Action",
                "title": "block_assets_list_c2a",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/assets_c2a.jspz",
                "open": "true",
                "img": "",
                "nbr": "5",
                "params": "",
                "col": ""
              },
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_rejectedassets",
                "title": "PACKAGED_BOV3_DashboardWidgets_rejectedassets_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": "true",
                "nbr": "5",
                "params": "rejectedassets",
                "col": 1
              },
              {
                "code": "latestAssets",
                "title": "block_latest_assets_label",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/latest_assets.jspz",
                "img": "",
                "open": "true",
                "nbr": "5",
                "col": ""
              },
              {
                "code": "expiringAssets",
                "title": "block_expiring_assets_label",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/expiring_assets.jspz",
                "open": "true",
                "img": "",
                "nbr": "5",
                "params": "",
                "col": 0
              },
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords",
                "title": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": true,
                "nbr": "5",
                "params": "candidates_keywords",
                "col": 1
              }
            ]
          },
          "999": {
            "bloc": []
          }
        }
        • New:

        Code Block
        languagejson
        {
          "997": {
            "bloc": [
              {
                "code": "latestAssets",
                "title": "block_latest_assets_label",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/latest_assets.jspz",
                "img": "",
                "open": "true",
                "nbr": "5",
                "col": ""
              },
              {
                "code": "expiringAssets",
                "title": "block_expiring_assets_label",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/expiring_assets.jspz",
                "open": "true",
                "img": "",
                "nbr": "5",
                "params": "",
                "col": 0
              },
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_pendingassets",
                "title": "PACKAGED_BOV3_DashboardWidgets_pendingassets_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": "true",
                "nbr": "5",
                "params": "pendingassets",
                "col": 1
              },
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_userrequests",
                "title": "PACKAGED_BOV3_DashboardWidgets_userrequests_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": "true",
                "nbr": "5",
                "params": "userrequests",
                "col": 1
              },
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords",
                "title": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": true,
                "nbr": "5",
                "params": "candidates_keywords",
                "col": 1
              }
            ]
          },
          "998": {
            "bloc": [
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_rejectedassets",
                "title": "PACKAGED_BOV3_DashboardWidgets_rejectedassets_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": "true",
                "nbr": "5",
                "params": "rejectedassets",
                "col": 1
              },
              {
                "code": "latestAssets",
                "title": "block_latest_assets_label",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/latest_assets.jspz",
                "img": "",
                "open": "true",
                "nbr": "5",
                "col": ""
              },
              {
                "code": "expiringAssets",
                "title": "block_expiring_assets_label",
                "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/expiring_assets.jspz",
                "open": "true",
                "img": "",
                "nbr": "5",
                "params": "",
                "col": 0
              },
              {
                "code": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords",
                "title": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords_title",
                "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz",
                "open": true,
                "nbr": "5",
                "params": "candidates_keywords",
                "col": 1
              }
            ]
          },
          "999": {
            "bloc": []
          }
        }

...

PACKAGED_BOV3_Extensions (ADDED)

plugin.xml

Parameters:

list.display.config:

...

type: json

...

mandatory: true

...

This plugin provides 2 features:

  • A new form_action=managelists (without form_object parameter). The related page will display the list of data-types the connected user is allowed to take actions on. Data-types are organized per familly.

  • The ability to generate the BO menu for dam domain automatically based on user’s permissions.

This plugin is required when some business users are allowed to make changes to the data model: it will adapt the menu for each connected user based on his granted permissions.

plugin.xml

  • Parameters:

    • list.display.config:

      • type: json

      • mandatory: true

      • description: Configuration of lists to display.
        families parameter can take following values : objectfamily.id, objectfamily.name, or a sql query on name field (eg: dam.metadata.%).
        Families can be combined to be displayed in the same table.

      • default value:

      Code Block
      languagejson
      [
        {
          "families": [
            "dam.metadata.opened"
          ],
          "i18n": "pkg.bov3.manage-opened-list"
        },
        {
          "families": [
            "dam.metadata.closed"
          ],
          "i18n": "pkg.bov3.manage-closed-list"
        }
      ]
    • list.security.actions:

      • type: string

      • mandatory: false

      • description: Define actions of domain objectactions used to apply security rules on list families content.
        Actions can be multiple and separated by a comma.
        A list object will be displayed if it is authorized by any action
        No security rule will be applied if parameter is empty or action is unknown.

      • default value: create,multiupdate

    • enable_auto_menu:

      • type: boolean

      • mandatory: false

      • description: Enable auto generated menu

      • default value: true

    • auto_menu_items:

      • type: string

      • mandatory: false

      • description:

      • default value: dam,admin,analytics

...

PACKAGED_DAM_DashboardWidgets

Widgets provided by this plugin (including listAssetsCall2Action) now support multiple objects through wedia_packaged_dam_dashboard_asset_objectname parameter.

This will make sure every dam collection can be handled by the widgets.

plugin.xml

  • Parameters:

    • UPDATED wedia_packaged_dam_dashboard_asset_objectname:

      • default value:

        • Old:

        Code Block
        languagejson
          asset
        • New:

        Code Block
        languagejson
          #damobject

...

PACKAGED_Faces (ADDED)

This plugin

...

Parameters:

provides 2 Faces

  • One that make fields with tag pkg/wediaconfig/custom/archived non editable, non visible and compulsory

  • One that make fields with tag pkg/wediaconfig/custom/mandatory mandatory

This plugin is required if business users are allowed to manage the data-model: Fields created through the new wedia-config data-model screens are made mandatory only with the tag pkg/wediaconfig/custom/mandatory

plugin.xml

  • Parameters:

    • apply_archived_tag_faces:

      • type: boolean

      • mandatory: true

      • description: If set to true, the program will apply hide fields wearing
        pkg/wediaconfig/custom/archived tag by making them non visible, non editable and non mandatory

      • default value: true

    • apply_mandatory_tag_faces:

      • type: boolean

      • mandatory: true

      • description: If set to true, the program will apply mandatory faces on field wearing
        pkg/wediaconfig/custom/mandatory tag

      • default value: true

    • face_level:

      • type: int

      • mandatory: false

      • description: Level of priority for the faces created by the program.
        Set to 1000 by default equals to LEVEL_PROJECT

      • default value: 1000

...

PACKAGED_Security

The plugin default configuration for property permissions_inferring has been update to add infered permissions to wedia-config application based on user’s permission (if the user has permission to manage one feature that is available in wedia-config screens, then he is granted access to the interface).

Added item in permissions_inferring:

PACKAGED_Security

Code Block
  • type: int

  • mandatory: false

  • description: Level of priority for the faces created by the program.
    Set to 1000 by default equals to LEVEL_PROJECT

  • default value: 1000

languagejson
{
  "class": "com.wedia.packaged.security.inferring.impl.ApplicationsInferenceProvider",
  "init": {
    "": [
      "v1/applications/isavailable/wedia-config"
    ]
  }
}

plugin.xml

Expand
titleSee changes in plugin.xml
  • Parameters:

    • UPDATED permissions_inferring:

      • default value:

        • Old:

        Code Block
        languagejson
        [
          {
            "class": "com.wedia.packaged.security.inferring.impl.DamimportInferenceProvider",
            "init": {
              "damimport": [
                "v1/objectdata/changestatus/$anyaction/$anystatus/$anyowner",
                "v1/objectdata/delete/$anystatus/$anyowner",
                "v1/objectdata/insert/$newcreation",
                "v1/objectdata/update/$anystatus/$anyowner",
                "v1/objectdata/view/$anystatus/$anyowner"
              ]
            }
          },
          {
            "class": "com.wedia.packaged.security.inferring.impl.MassimportInferenceProvider",
            "init": {
              "massimportjob": [
                "v1/objectdata/changestatus/start/2/$anyowner",
                "v1/objectdata/delete/2/$anyowner",
                "v1/objectdata/insert/$newcreation",
                "v1/objectdata/update/2/$anyowner",
                "v1/objectdata/view/2/$anyowner"
              ],
              "massimportitem": [
                "v1/objectdata/changestatus/$anyaction/2/$anyowner",
                "v1/objectdata/changestatus/$anyaction/9/$anyowner",
                "v1/objectdata/changestatus/$anyaction/14/$anyowner",
                "v1/objectdata/changestatus/$anyaction/8/$anyowner",
                "v1/objectdata/changestatus/$anyaction/13/$anyowner",
                "v1/objectdata/delete/2/$anyowner",
                "v1/objectdata/delete/9/$anyowner",
                "v1/objectdata/delete/14/$anyowner",
                "v1/objectdata/delete/8/$anyowner",
                "v1/objectdata/delete/13/$anyowner",
                "v1/objectdata/insert/$newcreation",
                "v1/objectdata/update/2/$anyowner",
                "v1/objectdata/update/9/$anyowner",
                "v1/objectdata/update/14/$anyowner",
                "v1/objectdata/update/8/$anyowner",
                "v1/objectdata/update/13/$anyowner",
                "v1/objectdata/view/$anystatus/$anyowner",
                "v1/objectfile/sendfile/$anystatus/$anyowner/$anyconfidentiality"
              ],
              "wkfmassimportitem": [
                "v1/objectdata/view/$anystatus/$anyowner"
              ],
              "wkfmassimportjob": [
                "v1/objectdata/view/$anystatus/$anyowner"
              ]
            }
          }
        ]
        • New:

        Code Block
        languagejson
        [
          {
            "class": "com.wedia.packaged.security.inferring.impl.DamimportInferenceProvider",
            "init": {
              "damimport": [
                "v1/objectdata/changestatus/$anyaction/$anystatus/$anyowner",
                "v1/objectdata/delete/$anystatus/$anyowner",
                "v1/objectdata/insert/$newcreation",
                "v1/objectdata/update/$anystatus/$anyowner",
                "v1/objectdata/view/$anystatus/$anyowner"
              ]
            }
          },
          {
            "class": "com.wedia.packaged.security.inferring.impl.MassimportInferenceProvider",
            "init": {
              "massimportjob": [
                "v1/objectdata/changestatus/start/2/$anyowner",
                "v1/objectdata/delete/2/$anyowner",
                "v1/objectdata/insert/$newcreation",
                "v1/objectdata/update/2/$anyowner",
                "v1/objectdata/view/2/$anyowner"
              ],
              "massimportitem": [
                "v1/objectdata/changestatus/$anyaction/2/$anyowner",
                "v1/objectdata/changestatus/$anyaction/9/$anyowner",
                "v1/objectdata/changestatus/$anyaction/14/$anyowner",
                "v1/objectdata/changestatus/$anyaction/8/$anyowner",
                "v1/objectdata/changestatus/$anyaction/13/$anyowner",
                "v1/objectdata/delete/2/$anyowner",
                "v1/objectdata/delete/9/$anyowner",
                "v1/objectdata/delete/14/$anyowner",
                "v1/objectdata/delete/8/$anyowner",
                "v1/objectdata/delete/13/$anyowner",
                "v1/objectdata/insert/$newcreation",
                "v1/objectdata/update/2/$anyowner",
                "v1/objectdata/update/9/$anyowner",
                "v1/objectdata/update/14/$anyowner",
                "v1/objectdata/update/8/$anyowner",
                "v1/objectdata/update/13/$anyowner",
                "v1/objectdata/view/$anystatus/$anyowner",
                "v1/objectfile/sendfile/$anystatus/$anyowner/$anyconfidentiality"
              ],
              "wkfmassimportitem": [
                "v1/objectdata/view/$anystatus/$anyowner"
              ],
              "wkfmassimportjob": [
                "v1/objectdata/view/$anystatus/$anyowner"
              ]
            }
          },
          {
            "class": "com.wedia.packaged.security.inferring.impl.ApplicationsInferenceProvider",
            "init": {
              "": [
                "v1/applications/isavailable/wedia-config"
              ]
            }
          }
        ]

...

  • Activated:

    • true

...

PACKAGED_BASES

This plugin HAS to be activated if business users are to configure portal through wedia-config

  • Activated:

    • true

...

PACKAGED_BOV3_Extensions

  • Activated:

    • true

...

PACKAGED_CONFIGS

This plugin HAS to be activated if business users are to configure portal through wedia-config

  • Activated:

    • true

...

PACKAGED_Faces

  • Activated:

    • true

RESTAPI DAM/DATA & metadata configuration in wedia-config

When using metadata editing in wedia-config on a production server, in order for the DAM & DATA API configurations to synchronize with the structure changes, it is necessary to activate the automatic hot update of the API configurations by setting the lazyDeployDamServicesInProd parameter of the WXM_RESTAPI plugin to true. Otherwise, the API configurations will reflect the metadata changes only after restarting the WXM_RESTAPI plugin.