Dashlet Record List : disable avaible scope

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • item
    commented on 's reply
    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.

  • eymen-elkum
    replied
    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.

    Leave a comment:


  • item
    started a topic Dashlet Record List : disable avaible scope

    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" ?




Working...