Skip to main content
Feb 9, 2024 1:00 PM UTC
Solved

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

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.
AnanthanJaAccepted solution
Adobe Employee
Feb 13, 2024 3:56 AM UTC

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.

5 replies

SatheeskannaK
Adobe Champion, Community Advisor, UG Leader
Adobe Champion, Community Advisor, UG Leader
Feb 9, 2024 2:30 PM UTC

@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.

Translate
Thanks, Sathees
Fabrice01Author
Feb 12, 2024 6:20 PM UTC

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

Translate
Adobe Employee
Feb 12, 2024 4:39 PM UTC

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.

 

Translate
Fabrice01Author
Feb 12, 2024 6:20 PM UTC

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 ?

Translate
AnanthanJaAdobe EmployeeAccepted solution
Adobe Employee
Feb 13, 2024 3:56 AM UTC

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.

Translate