N
Novu7mo ago
sandsower

Handlebars not working on redirecturl field

I need to add some logic to change the redirect url depending on the size of the digest, is there a way to do this with handlebars or are those not working on that field? I've tried {{#unless step.digest}} {{visitRoute}} {{else}} {{scheduleRoute}} {{/unless}} without any luck
4 Replies
Ask Inkeep
Ask Inkeep7mo ago
Hi @sandsower, I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question. ----------------------------- While I generate an answer, here are some sources that might be helpful: * React Get Started * Handlebars & Helpers * How to use Novu to send notifications to a Slack channel * Introduction to Notification Center ----------------------------- Answer Sorry, I wasn't able to find any information about your question. Got it. Tagging @Support for additional help.
Pawan Jain
Pawan Jain7mo ago
@sandsower Handlebars are not supported in redirect url field in in-app editor. It is supported only in step editor. Curious to know your usecase?
sandsower
sandsowerOP7mo ago
The cta url depends on if there is a digest or not
Pawan Jain
Pawan Jain7mo ago
@sandsower Thanks for sharing. Currently it is not supported. Could you please help us by adding this feature request to our roadmap ?
Novu roadmap | Productlane
Find out what the Novu team is working on and leave your feedback - powered by Productlane
Want results from more Discord servers?
Add your server