Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)
BUILT-IN WOLFRAM LANGUAGE SYMBOL

EpilogFunction

EpilogFunction
is an option for DocumentGenerator allowing arbitrary code to be executed after a document is generated.

DetailsDetails

  • EpilogFunction may be a pure function, notebook, CloudObject, or File. If qualified as Delayed, the resource will be used in place and no copy will be maintained in the generator bundle.
  • Functions will be passed the file name of the generated document. All types of epilog functions have access to the generated document through the variable $CurrentFile.
  • In case of template application failure, the epilog function will not execute.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Deploy a generator:

In[1]:=
Click for copyable input
Out[1]=

Trigger the generator to run synchronously:

In[2]:=
Click for copyable input
Out[2]=

Examine contents of the cloud object generated by the epilog function:

In[3]:=
Click for copyable input
Out[3]=

Delete the generator:

In[4]:=
Click for copyable input
Out[4]=
Introduced in 2015
(10.1)