Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-10934

CMS Scripttool should not auto refresh

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.4.6, 4.5.0
    • None
    • None
    • None
    • 4.5 M5

      Do a script that return contents such as

        let contents = [];
        Repository.query("//element(*, ametys:defaultContent)").forEach(content => contents.push(content));
        
        return Content.toGridFormat(["title", "lastModified"], contents); 
      

      Edit one of the contents returned, the script will reexecute the script

            Unassigned Unassigned
            raphael Raphaƫl Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: