How to generate a dynamic URL to a category page using a template manifest

4 Kommentare

  • Ifra Saqlain
    Community Moderator
    Most Engaged Community Member - 2022
    Most Engaged Community Member of The Year - 2021

    Hey Tom99, why don't you use DC placeholder for this? You can add URL to your support and placeholder of that DC, you can paste here.

    How to create DC?

    https://support.zendesk.com/hc/en-us/articles/4408882999066-Providing-multiple-language-support-with-dynamic-content

    Hope it worked for you.

     

    Thanks

    Team

     

    1
  • Tom99

    Hi Ifra, 

    Thanks very much for your response. 

    The url for this custom block needs to be set in the manifest.json file but it doesn't seem to allow for a dc variable, only a string? 

    This doesn't work...


    Is there a way to add a dc variable in the manifest.json file? 

    0
  • Ifra Saqlain
    Community Moderator
    Most Engaged Community Member - 2022
    Most Engaged Community Member of The Year - 2021

    Hi, you need to add only clients_page_url instead of {{dc.clients_page_url}}

     

    Remove curly braces and dc, it would be only clients_page_url

     

    i). Your anchor tag should have setting's identifiers like this.

     

     

    ii). Your manifest block should be like this.

     

    iii). Then your setting in sandbox would be like this.

     

     

    Thanks

    0
  • Tom99

    Ohhh right! Thanks so much!

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Powered by Zendesk