I created a button with an interaction to download an Excel sheet in Slate (the excel sheet is an object attachment). I want to integrate my button to a workshop and pass in the right object to my iFrame.
How would I go about passing an object to my iFrame?
You can pass parameters from Workshop to Slate in two ways:
- Use URL parameters appended to the Slate URL - https://www.palantir.com/docs/foundry/workshop/widgets-iframe/#url-parameters
- Use input parameters configured in the Workshop Iframe widget. These can be retrieved in your Slate app by using the
Slate.getMessage
event in the [Events panel] - https://www.palantir.com/docs/foundry/workshop/widgets-iframe/#input-parameters
1 Like