Announcement

Collapse
No announcement yet.

Dashlet Record List : disable avaible scope

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

  • Dashlet Record List : disable avaible scope

    Hi,

    it's possible to disable a "scope/entity" from dashlet "Record List".
    by default, all scope is "avaible", i need to disable some entity, and create my custom dashlet for these entity.

    Maybe one setting in "scope.json" or "config.php" ?





  • #2
    Hi friend,

    I think if you added "disabled": true in the scope json file, then the target scope will be skipped from the scope enum selector.
    CEO of Eblasoft
    EspoCRM Expert since 2014
    Full Stack Web Developer since 2008
    Creator of Numerous Successful Extensions & Projects​

    Comment


    • item
      item commented
      Editing a comment
      Hi Eymen,
      when i set "disable:true" in scope.json, the entity is disabled.

      i have find this :
      this.getMetadata().get('entityDefs.xyz.entityListT oIgnore') || [];

      if i find where dashlet "record list" get entityList, maybe i can add entityListToIgnore



      so i create my own custom dashlet for this entity with many options hardcoded, for not let choose by user.
      Last edited by item; 07-26-2023, 01:51 PM.
Working...
X