Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. For Run with a user form and parameters (Run) macro, execute the below query:

    Code Block
    themeMidnight
    Select CONTENT.Title, CONTENT.SpaceID from CONTENT, BODYCONTENT 
    WHERE PREVVER IS NULL AND (CONTENT.CONTENTTYPE = 'PAGE' OR CONTENT.CONTENTTYPE = 'BLOGPOST')
     AND CONTENT.CONTENTID = BODYCONTENT.CONTENTID
     AND (BODYCONTENT.BODY like '%<ac:structured-macro ac:name="run"%');


  2. For Run with a user from (Run-now) macro, execute the below query:

    Code Block
    themeMidnight
    Select CONTENT.Title, CONTENT.SpaceID from CONTENT, BODYCONTENT 
    WHERE PREVVER IS NULL AND (CONTENT.CONTENTTYPE = 'PAGE' OR CONTENT.CONTENTTYPE = 'BLOGPOST')
     AND CONTENT.CONTENTID = BODYCONTENT.CONTENTID
     AND (BODYCONTENT.BODY like '%<ac:structured-macro ac:name="run-now"%');


  3. For Hide content macro, execute the below query:

    Code Block
    themeMidnight
    Select CONTENT.Title, CONTENT.SpaceID from CONTENT, BODYCONTENT 
    WHERE PREVVER IS NULL AND (CONTENT.CONTENTTYPE = 'PAGE' OR CONTENT.CONTENTTYPE = 'BLOGPOST')
     AND CONTENT.CONTENTID = BODYCONTENT.CONTENTID
     AND (BODYCONTENT.BODY like '%<ac:structured-macro ac:name="hide"%');


Sample Results:

If the query returns any records, it indicates that the Run Self-Service Reports for Confluence app is being used. The above query gives the result as shown:


Info
  • Please test the above queries in the test environment database. It may take time to provide the results, based on the number of pages the macro has been used.
  • Suggest to run the queries in the off business hours. 

...