How to show a content on monday each week ? (the aim is to display bannering on the app) | Community
Skip to main content
February 9, 2024
Solved

How to show a content on monday each week ? (the aim is to display bannering on the app)

  • February 9, 2024
  • 2 replies
  • 963 views

How to activate an offer on monday each week ?  (the aim is to display bannering on the app)

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by AnanthanJa

Hi @fabrice01 ,

 

The offer can be created in multiple representations. 

 

Based on how the offer is used, you can add the offer content in JSON or HTML format. Hence the banner could be added as an HTML for example and then displayed in the required application.

2 replies

SatheeskannaK
Community Advisor
Community Advisor
February 9, 2024

@fabrice01 When you send the email you can have dynamic content expression that will check whether it's Monday or not and display the offer block. Probably you need a field that identifies current day either through profile attribute or contextual attribute.

Thanks, Sathees
Fabrice01Author
February 12, 2024

Thanks for your reply.
Actually my aim is to display bannering on the app.

Adobe Employee
February 12, 2024

Hi @fabrice01 ,

 

Since offer decision rules follow pql syntax, you could explore using pql functions like currentDayOfWeek() = 1 for referring to Monday.

 

Hence irrespective of any other conditions, the offer becomes eligible only on Monday.

 

Fabrice01Author
February 12, 2024

Thank you for your reply.
Actually, I would like to display a banner on an app, not to send an email.

Where an I modify the decision rules ?

AnanthanJaAdobe EmployeeAccepted solution
Adobe Employee
February 13, 2024

Hi @fabrice01 ,

 

The offer can be created in multiple representations. 

 

Based on how the offer is used, you can add the offer content in JSON or HTML format. Hence the banner could be added as an HTML for example and then displayed in the required application.