More time options in event reminders field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tvio
    Junior Member
    • Feb 2017
    • 24

    More time options in event reminders field

    Hi,
    is any way to add more options in reminder field (in configuration is defined as jsonArray). I would like to add to reminder field for example "1 month before" .

    Thank you for your help!
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    application/Espo/Modules/Crm/Resources/metadata/entityDefs/entityDefs/Reminder.json
    you can set the value only in seconds
    So it's not 1 month before

    Comment

    • tvio
      Junior Member
      • Feb 2017
      • 24

      #3
      Thank you, Tanya, for your answer. In that case, can you tell me where I should specify for example 25 days (2 160,000 seconds)? Where is "5 days" defined to add something else to the list? Sorry, but I`m only a regular user (not programmer)

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        Create custom/Espo/Custom/Resources/metadata/entityDefs/Reminder.json with the content

        Code:
        {
            "fields": {
                "seconds": {
                    "options": ["__APPEND__", 2160000]
                }
            }
        }
        Administration > Clear Cache > Refresh the page

        Comment

        Working...