Can i disable file attachment for admin?



2023년 3월 02일에 게시됨

I was trying to create an app to prevent file attachments from the ticket admin. But the api only allows me to watch the attach event.


0

5

댓글 5개

      공식

      Hi Nurymkhan!

      As we discussed in the call, here is the proposed solution:

      1. Create a ticket Side Bar App
      2. Listen to comment.attachments.changed
      3. If an attachment is added, fire another API call to delete the attachment from the comment
      4. [Optional] Show dialog/modal on error about adding the attachment
      5. Result: If the agent press Send button, it will still not deliver the message
      This will be the generic solution since it is workable for both Comment base (email) + Messaging
      If it's too complicated - our PS and partners are here to help. 
       
      We will be visiting your company next week, see you!

      0


      Hi all,

      then how does this work?

      1


      Hi Sasha Zakharenko!
      If you mean Delte Upload endpoint - this removes the attachment file itself, but does not exclude it  from the comment.

      Perhaps you meant some other endpoint?
      Thank you for your feedback.

      0


      Hi Greg. And there is no way to solve this?

      0


      Hi Nurymkhan! We do not have an available method in ZAF to disable the attachment option in the ticket editor.

      0


      댓글을 남기려면 로그인하세요.

      원하는 정보를 못 찾으셨나요?

      새 게시물