3 edited tags
| link
2 added 4 characters in body
source | link

In our DXA application, we have a component, where inwherein the RTF field we are creating a hyperlink to a DCP, which is published independently. Now

Now when we try to retrieve the component's content, the model service output removes the link information completely, and hence the DCP link is not available to the DXA Web Application.

When we check the broker, the link information is present.

"Content": {
        "introduction": "asdasfasg",
        "bodyText": {
          "$type": "ContentModelData",
          "bodyText": {
            "$type": "RichTextData",
            "Fragments": [
              "Hejsan <a title=\"Table test\" class=\"pop-up-window\" href=\"tcm:37-154562\">hej</a><!--CompLink tcm:37-154562-->"
            ]
          }
        }
      },

However, the JSON response from the model service is not sending the link information.

 "Content": {
        "bodyText": {
          "$type": "ContentModelData",
          "bodyText": {
            "$type": "RichTextData",
            "Fragments": [
              "Hejsan hej"
            ]
          }
        },

We tried by setting the dxa.properties value -> "dxa.defaults.rich-text-xmlns-remove=false", but tostill no availluck.

Please kindly suggest where else to verify to resolve this issue? TIA

In our DXA application we have a component, where in the RTF field we are creating a hyperlink to a DCP, which is published independently. Now when we try to retrieve the component's content, the model service output removes the link information completely, and hence the DCP link is not available to the DXA Web Application.

When we check the broker, the link information is present.

"Content": {
        "introduction": "asdasfasg",
        "bodyText": {
          "$type": "ContentModelData",
          "bodyText": {
            "$type": "RichTextData",
            "Fragments": [
              "Hejsan <a title=\"Table test\" class=\"pop-up-window\" href=\"tcm:37-154562\">hej</a><!--CompLink tcm:37-154562-->"
            ]
          }
        }
      },

However, the JSON response from the model service is not sending the link information.

 "Content": {
        "bodyText": {
          "$type": "ContentModelData",
          "bodyText": {
            "$type": "RichTextData",
            "Fragments": [
              "Hejsan hej"
            ]
          }
        },

We tried by setting the dxa.properties value -> "dxa.defaults.rich-text-xmlns-remove=false", but to no avail.

Please kindly suggest where else to verify to resolve this issue? TIA

In our DXA application, we have a component, wherein the RTF field we are creating a hyperlink to a DCP, which is published independently.

Now when we try to retrieve the component's content, the model service output removes the link information completely, and hence the DCP link is not available to the DXA Web Application.

When we check the broker, the link information is present.

"Content": {
        "introduction": "asdasfasg",
        "bodyText": {
          "$type": "ContentModelData",
          "bodyText": {
            "$type": "RichTextData",
            "Fragments": [
              "Hejsan <a title=\"Table test\" class=\"pop-up-window\" href=\"tcm:37-154562\">hej</a><!--CompLink tcm:37-154562-->"
            ]
          }
        }
      },

However, the JSON response from the model service is not sending the link information.

 "Content": {
        "bodyText": {
          "$type": "ContentModelData",
          "bodyText": {
            "$type": "RichTextData",
            "Fragments": [
              "Hejsan hej"
            ]
          }
        },

We tried by setting the dxa.properties value -> "dxa.defaults.rich-text-xmlns-remove=false", but still no luck.

Please kindly suggest where else to verify to resolve this issue? TIA

1
source | link

DCP link in component RTF field DOES NOT get resolved by DXA Model Service

In our DXA application we have a component, where in the RTF field we are creating a hyperlink to a DCP, which is published independently. Now when we try to retrieve the component's content, the model service output removes the link information completely, and hence the DCP link is not available to the DXA Web Application.

When we check the broker, the link information is present.

"Content": {
        "introduction": "asdasfasg",
        "bodyText": {
          "$type": "ContentModelData",
          "bodyText": {
            "$type": "RichTextData",
            "Fragments": [
              "Hejsan <a title=\"Table test\" class=\"pop-up-window\" href=\"tcm:37-154562\">hej</a><!--CompLink tcm:37-154562-->"
            ]
          }
        }
      },

However, the JSON response from the model service is not sending the link information.

 "Content": {
        "bodyText": {
          "$type": "ContentModelData",
          "bodyText": {
            "$type": "RichTextData",
            "Fragments": [
              "Hejsan hej"
            ]
          }
        },

We tried by setting the dxa.properties value -> "dxa.defaults.rich-text-xmlns-remove=false", but to no avail.

Please kindly suggest where else to verify to resolve this issue? TIA