Questions on the Computable Document Format (CDF) that allows Mathematica notebooks to be embedded within media for easy viewing and manipulation. Do not use this tag for questions on cumulative distribution functions.

learn more… | top users | synonyms (1)

44
votes
3answers
4k views

Understanding CDF

Update Since more and more issues are revealed as I venture deeper into the world of CDF, I decided to make this thread more general and hopefully more useful. I know posted my findings as an answer, ...
28
votes
3answers
994 views

Automatically check student answers in tests

I am a physics teacher and I am looking for a way to create homework assignments within Mathematica so that each problem has an input field that students can use to check their answers. For example, ...
22
votes
3answers
1k views

How can I embed a Manipulate (or other interactive graphics) in my website using CDF?

The new CDF (computable document format) lets you embed a Manipulate or other interactive graphics on your website, and users can play around with your little ...
19
votes
2answers
1k views

What can webmathematica do that CDF cannot do?

I've been reading a number of questions and answers on this site that deal with the various capabilities of CDF (computable document format). It seems like sometimes the answer is to make sure to use ...
18
votes
3answers
1k views

Deploying Mathematica Content Online

I have the following program at home, which draws on a batch of pre-processed files (that are word frequency text files, compiled using ToLowerCase, ...
18
votes
2answers
557 views

When to make (file.nb) instead of (file.cdf)?

I started with File > New > FreeCDF so I can save my work in a format compatible with the CDF Player. I can use Mathematica to make new cells, evaluate input and so in the CDF file. What are the ...
18
votes
2answers
315 views

The dangers of SaveDefinitions — should this really happen?

I have been bitten hard by SaveDefinitions -> True. I'll describe in detail what happened below. My questions are: Is this a bug? What is the most convenient ...
18
votes
2answers
424 views

Publishing a Mathematica notebook

I am considering publishing a Mathematica notebook, used for analysis of some data, as a “supporting information” file alongside a research paper. What are the common practices for doing so, and what ...
18
votes
1answer
477 views

Can Enterprise Edition really encrypt code for distribution via CDF?

The Wolfram blog post: Using Mathematica Enterprise Edition to Create Professional Apps, Tools, and Reports makes the following statement (emphasis mine): Enterprise Edition allows you to create ...
16
votes
3answers
567 views

Can CDF file embedded in a web page receive external parameters?

I know that I can embed a CDF file inside a web page by using: The embed tag. An object tag with an embed tag inside (better than 1). Using the JavaScript provided by Wolfram (better than 2). My ...
16
votes
1answer
601 views

How can I share objects with dynamic content with non-Mathematica users?

Often when I construct some cool Manipulate[] function, I would like to share it with others—non-Mathematica users. Some software, notably Cinderella, ...
16
votes
4answers
563 views

In a CDF can I suppress or avoid “This file contains potentially unsafe dynamic content…”

I created a CDF to distribute to a single trusted user who both knows and trusts me and everything I make for them. I downloaded the CDF player and the CDF to one of their computers. The CDF works ...
16
votes
1answer
508 views

What are the exact guidelines for what is allowed in a CDF?

I have read the guidelines published by Wolfram (these are restricted: non-numeric input fields, dialog windows, and data import and export) but I have a CDF that seems simple enough and seems to ...
13
votes
2answers
580 views

Dashboard TV with CDF Player

I'm experimentally trying to use CDF Player to create an Dashboard TV here in the company (like in the airport, see image below). I would like to configure the CDF file so It could be displayed in ...
12
votes
1answer
454 views

How do I remove Wolfram Branding in a CDF?

I have a Mathematica Enterprise License, which lets me export Pro-feature CDFs. One of the benefits is supposed to be removal of branding and full customization of UI. Does anyone know how to get that ...
12
votes
1answer
449 views

CDF, Player, PlayerPro, or something else?

I have a notebook, which contains a dozen or so custom functions all leading to the production of a simple static report, something like this: I want to distribute this to a single user who will ...
11
votes
1answer
181 views

ListInterpolation causing .cdf security problems?

I've made a simple .cdf that makes a function from a list of data I've provided in table form (using ListInterpolation) and ...
10
votes
2answers
578 views

Can Wolfram System Modeler models be published in CDFs?

Is it possible to publish or distribute Models generated with WSM in CDF format (to interested people that do not have Mathematica and/or WSM)
10
votes
1answer
414 views

Mathematica Source-Code Control for CDF files in multi-user scenario

Q: I'm putting together a strategy on how its best to maintain cdf documents with multiple users in a source code repository. Ideally I wish for users to create (unit tested) cdf's with data and ...
9
votes
2answers
269 views

Problem with PlayerPro recognizing a proprietary package

This question follows on from my earlier question Can Wolfram's Player Pro Use Proprietary Packages. That question appeared to have established that, yes, PlayerPro can use proprietary packages. ...
9
votes
1answer
246 views

Docked Cell lesson chooser

I have a question about creating a docked cell that will let me choose files. This is just as much a "design" question as a Mathematica question. I'm a math teacher and I want to bundle a bunch of ...
8
votes
1answer
408 views

CDF and MediaWiki

Recently there was a handful of CDF embedding-related topics. However I would like to ask whether anyone has succeeded in embedding CDF into MediaWiki page? I've attempted to do so with the Widget ...
8
votes
3answers
152 views

Append new simulation into CDF without resetting current simulations

I need to duplicate a simulation inside one DynamicModule. I believe it's simpler to understand using an toy example. Here is the start screen: Now if I play ...
8
votes
1answer
269 views

Can JavaScript query the actually used dimensions of an HTML embedded CDF?

I have an HTML embedded CDF on my website. The size that is actually being used up by the single manipulate in the CDF changes when you use the CDF; you can make more sliders appear, and then it will ...
8
votes
1answer
168 views

How to embed “Share content” button into a CDF?

I want to have a button present in a CDF that, when pressed, shares some content material e.g. via Facebook. Is it possible or would the restrictions of the CDF format prevent anything from happening? ...
8
votes
1answer
413 views

CDF and personalized style

I recently created a custom stylesheet. I then created a notebook with the new style, confirmed that the notebook had adopted the style, and then saved a copy in CDF. But when I opened the CDF in ...
7
votes
3answers
443 views

What is the right way to construct DynamicModule

When I'm creating DynamicModules for CDF purposes I'm usualy basing on my experience with that, particular goal and content rather than on deep insight. I want to ...
7
votes
1answer
246 views

How to wrap this dynamic code inside a Manipulate?

My goal is to set up a Ising-type simulation, where many fast simulation steps are done in the background, and a visualization of the current state is displayed as the simulation evolves, being ...
7
votes
1answer
319 views

Guides for programming CDFs

Are there any tutorials for programming high-quality CDFs, like the interactive calculus textbook presented at wolfram.com? Mathematica's Help is extremely impressive but it really does not help much ...
7
votes
1answer
239 views

Is it possible to embed a Youtube video in a CDF?

I'd like to embed a Youtube tutorial video inside a CDF. I'm guessing this is not possible as my search for how to do this has been in vain. I'm imagining an embedded Youtube video like one sees on ...
7
votes
0answers
85 views

What are the possible security breaches in CDF content?

It has been noted on this site before that the free CDF player is notoriously trigger-happy in declaring dynamic content to be "potentially unsafe", and forcing the user to enable dynamic content ...
7
votes
0answers
142 views

How to add big data into a CDF file, without it being loaded into memory

I have 1 GB of data that I would like to add to a CDF file, but I would like to avoid it being loaded into memory when someone opens the file (Free Player). One gigabyte of info takes a lot of ...
6
votes
4answers
250 views

How can I deploy only the output in Player Pro

I want to know how can I see only the output when I deploy the Mathematica notebook in Player Pro as in ...
6
votes
1answer
175 views

How to create a “standard” CDF programmatically?

How can I programmatically create a CDF which is similar to the CDFs created by File -> CDF Export -> Standalone...? ...
6
votes
2answers
264 views

A good way to manage code in a complicated CDF?

When doing complicated programming in a Mma notebook I define several functions that I use in my higher level funtions, and I use a "Subsection" cell for each definition. For example I might write: ...
6
votes
2answers
499 views

CDF file posted in WordPress won't run

I just installed Mathematica 8.0.4.0, which has a CDF Deployment Wizard. This is supposed to make it easy to post a CDF file on a WordPress blog. I tried it, and it indeed was easy; the problem is ...
6
votes
2answers
376 views

How to open hyperlinks (from web-embedded CDF) in a new tab

I have a problem with Hyperlink (in a web-embedded CDF) opening links in the same browser tab and I couldn't find an option to avoid that. I have the following ...
6
votes
1answer
124 views

Tooltip not working in web deployed cdf

I deployed a CDF file in a web page. I used both Mouseover and Tooltip functions. They both work in the raw CDF file. The ...
6
votes
1answer
104 views

How to handle keyboard events for unselected item in CDF?

How can I force the keyboard input to work for this cell without clicking on it after I evaluate or showing a blinking selection cursor? This is for running CDF games in a browser. ...
5
votes
3answers
125 views

Creating centered inline cell in text cell

The cell corresponds to the textual form ...
5
votes
3answers
239 views

Can one launch a Player Pro kernel independently of the front end

This question follows on from my earlier one, Seeking strategies to deploy a function securely without a front end. As it pursues a different track to solve the same problem it seemed distinct enough ...
5
votes
1answer
407 views

Open data file from CDFPlayer?

Using a CDF program running in CDF Player, is it possible to use a system dialog box, or even just an Import statement such as Import["*.CSV"], to import data from a text or comma separated file on a ...
5
votes
1answer
153 views

Programmatic generation of enhanced (Enterprise) CDF

How does one PROGRAMATICALLY generate enhanced CDFs under an Enterprise license? Undocumented options to CDFDeploy[] perhaps?. Wizard works fine for me, but attempts to do this programatically (from ...
5
votes
1answer
484 views

Include a CDF file in sites.google

I have a website on sites.google and I also have blog on wordpress. I would like to include some CDF files on them. How can it be done?
5
votes
1answer
208 views

Create a CDF file with a plot that cannot be edited by double-clicking

I have created a CDF file that contains a Manipulate object with a plot. I intend to embed the file in a web site, so that users can use interactive sliders to ...
5
votes
1answer
332 views

Trouble with CDF on Mac OSX

My problem seems to be very strange. I've created a CDF file and am trying to upload it to a Google site, and I've been almost completely successful! My only problem is that I cannot correctly ...
4
votes
2answers
719 views

Exporting a CDF to HTML

I'm using Mathematica for Students on a Mac. How do I export a CDF document to HTML? According to the Wolfram website I should click on ...
4
votes
1answer
196 views

“Show” with Manipulate runs fine normally, but gives errors as a CDF

I've simplified my code to what can reproduce my error. Basically, I have two lines: ...
4
votes
3answers
179 views

Upload CDF to Blogspot

I am trying to upload my CDF files to Blogspot. I tried the follow script: ...
4
votes
1answer
124 views

Missing V9 Menu: File -> New -> FreeCDF

I can run CDFs fine, and can export Notebooks as CDFs. But the File -> New menu does not contain a FreeCDF option, just the ...