0

I would like to show the custom model value in the rendering variant. Could someone assist with this?

In our scenario, we are getting the URL in the custom model property and would like to show this property value in an anchor tag in the rendering variant for the existing field "title".

I have found the Model option to have the rendering variant show the custom property. However, my question then is how can I bind its value to the anchor tag field in the rendering variant?

2 Answers 2

0

You can follow below link to show custom model parameter in rendering variant.

https://ggullentops.blogspot.com/2019/03/external-model-data-SXA-variant-Sitecore.html

It is not the exact one that you want, but you can take idea from this.

Hope this helps you.

0

Although I like the fact that people refer you to my blog (https://ggullentops.blogspot.com/2019/03/external-model-data-SXA-variant-Sitecore.html) I'm not sure it will get you what you want.

I think you have 2 options:

Your Answer

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

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