2

I have a list of item and by using reference variant, I'm able to loop the items with the multi-list values. Now each tile which is displayed should wrap with two fields (ie., image and title) with anchor tag that points to context item on clicking this should open a details page of that tile.

enter image description here

Now that problem is after check the "islink" with the wrapping of anchor (<a>) between two fields and the link which is generating the relative URL is from (site tenant/Site/Home) instead of excluding till start item path as shown below:

Actual URL: http://domainname/sitetenant/sitename/home/Company/..../..../..../itemname

Expected URL:http://domainname/Company/about/..../..../itemname

Please suggest a way to generate a context item URL excluding start item path.

Using SXA 1.8 on 9.0.2 sitecore.

3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.