2

We have maintained SXA multisite with the same tenant. In Settings, we have selected the "Linkable Site with a tenant" option in the Link settings.

Site A
Site B

In Site A, from any CTA link if I try to select the insert link option Site A home and child items are not displaying and in Site B home and child items are displaying.

Why the Site A home and child item is not displaying?

2 Answers 2

2

Make sure that in your data template, the Source property of your GeneralLink field is set to query:$linkableHomes

Next make sure that in your /sitecore/Content/<Tenant>/<Site>/Setting item you have the Link Settings option set to All linkable sites or Linkable sites in site collection. By default this will be Itself only

enter image description here

Along with the settings mentioned by Vikrant, that should enable the linkable sites option for you.

Reference: https://doc.sitecore.com/xp/en/developers/sxa/103/sitecore-experience-accelerator/adjust-link-settings-to-enable-cross-site-linking.html

1

This will depend on combination of following settings of both sites. You may want to check those for Site A and B and that should give you clue.

  • /sitecore/content/Tenant/Site A/Settings/Site Grouping/Your-Site-Definition-Item >> Linkable site field
  • /sitecore/content/Tenant/Site A/Settings >> Link Settings field

Mark Site A as Linkable Site and that should help.

5
  • In the Site grouping Linable Site field is already checked. Commented Feb 15 at 9:06
  • do you have multiple site definition items ? Commented Feb 15 at 9:31
  • yes, I have mutiple Commented Feb 15 at 12:01
  • 1
    Give this a try then. Arrange definition items in such a way that your active definition item is at first position. Somehow this sequence made a difference in my case in past. sitecore.stackexchange.com/questions/35625/… Commented Feb 15 at 15:57
  • Thanks Vikrant, After the rearrangement it is working now. Commented Feb 16 at 3:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.