Foundry Forms is no longer the recommended approach for data entry or writeback workflows on Foundry. Instead, build user input workflows with the Foundry Ontology, representing the relevant data structures as object types and configuring the writeback interaction with Actions. Learn more in the Forms overview documentation.
Forms offers seamless integration with other Foundry applications. This page discusses how Foundry Forms can be used with Fusion, Slate, and Object Explorer.
If Fusion is chosen as the response destination, Forms will immediately create the backing spreadsheet. Every time the form is saved, the newly required columns will be automatically added to the table region.
Users can also create a form from an existing table region in Fusion by selecting the Insert tab and choosing Form.
Two Slate widgets can be used to embed a form in Slate:
When using an iframe, the following URL parameters can be used to customize the display of the form:
embedded=true
: Must be provided when iframing a form.noHeader=true
: Will remove the header from the form.progressOnly=true
: Will render only the progress bar as the header; ignored when noHeader=true
.forceDarkMode=true
: Will render the form in dark mode.Additionally, users can prefill values by using the Code Editor to add a urlParam
to each field:
fields:
- uri: display.Text
name: Text
type: Text
urlParam: text
options: {}
The URL will then show as: workspace/fforms/f/new/<form-id>?embedded=true&progressOnly=true&text=prefilled
.
Three section widgets can be used to embed a form in an Object View:
In addition, Forms supports bulk editing multiple objects through one object-backed form.
To add the Edit object form section:
X
.X
, and select Actions followed by Edit object view.The Default Form ID
can be found in the Forms URL: /workspace/fforms/v1/entry/<form-id>/new
.
In the Prefilled Values
section:
2000-01-01
) or taken from a property of the current object ({{start_date}}
, where start_date
is a property ID for object type X
).The Conditional Form
section can be used to render different forms based on the value of some property.
Adding and configuring this section is very similar to editing an object form, with two notable differences:
Y
, which is linked to X
.This section can be added as described above, and configured as described in Slate.
By default, this feature is disabled on a object-backed form. Enable it by toggling Allow this form to bulk edit (in Actions menu) in the Settings tab in the Visual Editor to the right of the form.
When enabled, follow the steps below to bulk edit multiple objects:
A form in bulk edit mode will override all properties in that form on all selected objects. We recommend only using required fields in such forms. Use the required
validator to make sure values are filled before submission.
By default, it is possible to edit, at maximum, 200 objects through one form. Contact your Palantir representative if your use case requires a larger limit.