Skip to main content
Level 4
Sep 10, 2024 10:28 AM UTC
Solved

Helper Function

Hi Team,

 

I want to use a fragment in compatibility mode so that when I update the href="#" in one place, it will automatically update in another location. Is there a way to achieve this using a helper function or variable? I will attach a screenshot of my HTML for reference.

 

Note: I have attached an AJO screenshot. I want to replace href="#" with a URL in AJO, and have it automatically update all of href="#" within this fragment. How can I achieve this? please refer my 2 nd Screenshot. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SatheeskannaK
SatheeskannaKAccepted solution
Adobe Champion, Community Advisor, UG Leader
Sep 13, 2024 2:28 PM UTC

@ajo_wisdomchase Take a look at the implicit variables in the documentation and see if that helps. Also have a look editable fields in the fragments documentation.

Thanks, Sathees

1 reply

SatheeskannaK
Adobe Champion, Community Advisor, UG Leader
SatheeskannaKAdobe Champion, Community Advisor, UG LeaderAccepted solution
Adobe Champion, Community Advisor, UG Leader
Sep 13, 2024 2:28 PM UTC

@ajo_wisdomchase Take a look at the implicit variables in the documentation and see if that helps. Also have a look editable fields in the fragments documentation.

Translate
Thanks, Sathees