Created
May 20, 2021 09:23
-
-
Save trycf/f5657ee06b37cf1dd07c0f18ce2e81f8 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
q = extensionList().filter(function(row){ | |
return (row.name contains "pdf"); | |
}); | |
html="<h1>test</h1>#q.name# #q.version# "; | |
cfdocument( format="PDF", localUrl="true"){ writeOutput(HTML); } | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment