Announcement

Collapse
No announcement yet.

Calendar - meetings - add a default team by default

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Calendar - meetings - add a default team by default

    Hi there

    When enter in the form "Create a Meeting", i'd like to pre-fill Teams fields and set a given Team name.

    Any tricks to do that?

    In fieldManager -> Meetings -> fields "teams", i cannot set a "default team".

    Thanks for your support.

  • #2
    You can use Formula calculations to check after create Meeting if record have any assigned team, and if not System will assign team

    Comment


    • #3
      I dont' want to set this field after that the record has been created
      but i want to set the value "when the form is loading" and end-user will be able to let the default value (most of the time) or remove it

      Comment


      • #4
        I tried to update
        www/custom/Espo/Custom/Resources/metadata/entityDefs/Meeting.json

        and set

        PHP Code:
        {
             
        "fields": {
                
        "teams": {
                  
        "default""javascript: return {teamsIds: ['59956f63b082e2a1c']}"
                
        },
        ...


        but doesn't seem to work :-(

        Thanks for your support!

        Comment

        Working...
        X