Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19797

Add a script service API to check if a temporary resource exists

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 14.4.2, 14.5
    • 14.4
    • Resource
    • None
    • Easy

    Description

      Something like:

      #set ($tempResourceReference = ...)
      #if ($services.resource.temporary.exists($tempResourceReference))
        ## Do something.
      #end
      

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: