Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Using RPL for scheduling dynamic content

I'm looking to see if it's possible to use RPL conditionals to create a pseudo scheduling function for dynamic content by comparing the current date to a future date, and setting the dynamic value accordingly.

Dynamic Variable: promo_active

<#if .now?string("yyyy")?hex == "2017"?hex && .now?string("D")?hex <= "357"?hex>

    active

<#else>

    inactive

</#if>

I'm getting a runtime error, can't use <= on strings but I thought ?hex converted the string? Any suggestions?

Thanks,

Patrick

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!