Automatically Create Data Source with New Controls in Sample Forms

G

Guest

When I "design a sample" the option to "Automatically Create Data Source" in
the Controls task pane is disabled. How can I get around this? It is
awkward to have to create the data element before dragging the control onto
the form...
 
S

Scott L. Heim [MSFT]

Hi,

The reason this is disabled is because the samples are designed for
specific functionality and modifying the schema "at will" can cause the
sample to fail.

If you absolutely need to have this functionality you will need to extract
the form files and make specific changes to the Manifest.XSF file -
specifically the "automaticallyCreateNodes" and "Editability" attributes.
There is no way to turn this option on (for the samples) through the UI.

Scott Heim
Microsoft
 
Top