Announcement

Collapse
No announcement yet.

Internal messages in stream as default

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

  • Internal messages in stream as default

    Is that possible to mark every post as internal message in stream by default?
    I want to avoid situation when someone forget to check that little lock icon. I prefer to switch that situation and change that lock icon to clicked by default.,.
    Is that possible?

  • #2
    I hope russian interface in attachment is not big trouble.

    Admin->Entity Manager->Note -> field isInternal ->check Default
    Attached Files

    Comment


    • #3
      Great idea, BUT.....
      After i checked Default of field "isInternal" nothing happend. I still have unchecked lock icon in stream under task..

      Comment


      • #4
        You are right. Unfortunately this is system problem. Original code not use default value as initial value for isInternalNoteMode.

        https://github.com/espocrm/espocrm/b.../panel.js#L133.

        I appologize if you try to modify code:

        Code:
        this.isInternalNoteMode =  this.getMetadata().get('entityDefs.Note.fields.isInternal.default');
        all be ok.

        Update:

        isInternalNoteMode not transfered to view.



        add to data function:

        Code:
        data.isInternalNoteMode = this.isInternalNoteMode;
        Last edited by dimyy; 03-27-2019, 08:30 AM.

        Comment


        • #5
          Thanks. Can you tell me how can i modify this file to protect this change from updates?

          Comment


          • #6
            Unfortunately I don't see any way to do it.

            May be tanya or yuri can help.

            Comment


            • #7
              Maybe i'll be able to create custom view file for that

              Comment

              Working...
              X