CDFDeploy
This feature is not supported on the Wolfram Cloud.

CDFDeploy["file.cdf",expr]
deploys expr in a form that can be played by Wolfram CDF Player.

CDFDeploy["file.cdf",notebook]
deploys a notebook.

CDFDeploy["file.cdf",NotebookSelection[notebook]]
deploys the current selection in notebook.

CDFDeploy["outfile.cdf","infile.nb"]
deploys the notebook .

Details and OptionsDetails and Options

  • CDFDeploy is typically used to create CDF files that can be deployed to the web and played using the web browser plugin that comes with the Wolfram System and Wolfram CDF Player. Dynamic content including Manipulate outputs will be fully interactive in the resulting CDFs.
  • notebook may be a NotebookObject or a Notebook expression. Functions that evaluate to Notebook expressions such as DocumentNotebook, PaletteNotebook, and DialogNotebook are also acceptable.
  • CDFDeploy creates a CDF file that can be viewed by Wolfram CDF Player or the Wolfram System, and can optionally be embedded in HTML and viewed using the Player or Wolfram System plugin.
  • The following options may be given:
  • WindowSizeAutomaticthe preferred size for deployed output
    Method"Embedded"the type of CDF file to create
    "Target"Automaticdesired environment for deployed output
    DeployedTruecontrols are active but editing and selections are disabled
  • CDFDeploy creates a CDF file for embedding into a web page by default. To create a CDF file for use as a standalone web page, specify Method->"Standalone".
  • By default, CDFDeploy will create a CDF file based on your license. To create a FreeCDF, specify . Specifying requires an Enterprise license of the Wolfram System.
  • CDFDeploy generates output as if Deploy were wrapped around it. To override this behavior, specify Deployed->False.
  • Enterprise licensed products also allow for the removal of the Player toolbar in the deployed CDF, by setting PrivateNotebookOptions->{"PluginToolbarEnabled"->True}.
  • Information useful to deploying the resulting CDF can be determined using CDFInformation.
  • CDFDeploy["outfile.cdf","infile.nb"] will use the in-memory version of infile.nb if it is presently open in the Wolfram System.
  • CDFDeploy modifies some notebook options to alter the appearance and behavior of the notebook to maximize its usability when deployed. For example, editing content outside of interactive interfaces is disabled, and cell brackets are hidden.
  • Dynamic content will be subject to the constraints of the environment it is played in. For example, content played in the web browser plugin or in CDF Player will not have access to the local file system. Content played in the web browser plugin will not be able to create new popup windows or dialogs.
Introduced in 2010
(8.0)