It is not possible to add a Tag when creating a Web Content

Issue

  • When a user creates a Basic Web Content and tries to type in a Tag, the Tags option disappears and the following error is shown in the logs:
    No JSON web service action with path /assettag/search and method null for null

Environment

  • Liferay DXP 7.4

Resolution

  • This behavior usually occurs when JSON Web Services is disabled, applying this property:

    json.web.service.enabled=false
  • The Category and Tag selectors are consumers of the JSON Web Service, and they won't work if it is not enabled.
  • If you want to limit the access to JSON Web Services as much as possible without losing OOTB functionalities, we would suggest the following configuration:
    json.web.service.enabled=true
    jsonws.web.service.api.discoverable=false

    jsonws.web.service.paths.includes=/assetcategory/search,/assettag/search,/country/get-countries,/region/get-regions

Additional Information

¿Fue útil este artículo?
Usuarios a los que les pareció útil: 1 de 1