Announcement

Collapse
No announcement yet.

Disable export for certain entity

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

  • Disable export for certain entity

    I would like to disable the export only for one certain entity. By Administrator settings and roles it is only possible to disable all or none.

  • #2
    Hi there,

    This should be what you are looking for : https://docs.espocrm.com/development...exportdisabled

    Regards,
    Firyo.

    Comment


    • #3
      Thank you, I had seen that already, but how and where can I put which value. i know, that most of this kind of configuration maybe inserted in a json file, but there I am lost. Which file, if so?

      Comment


      • #4
        custom/Espo/Custom/Resources/metadata/clientDefs/YourEntityType.json (the metadata path is at beginning of the article, the same for every metadata reference article).

        The parameter is of the boolean type (as stated in the docs). Means it can be true or false.

        Code:
        {
             "exportDisabled": true
        }

        Comment


        • shalmaxb
          shalmaxb commented
          Editing a comment
          Thank you!

      • #5
        If you use VSCode, autocompletion should work if you create the file in the right place.

        Comment

        Working...
        X