That seems bad for starters. That means that anyone else using the application will be sharing that selection and users will interfere with each other. Writing to a session custom property would be better - or even to a custom property on that view. Let's call it view.custom.ddOption
.
So I was wondering if it was possible to bind the dropdown value to a custom parameter that the Inline Frame component uses.
Sure. Construct the URL in an expression binding on the IFrame's `props.src'. Something like,
"https://forum.inductiveautomation.com/t/passing-data-to-an-iframe/88923"
+ {view.custom.ddOption}
Now the component should refresh anytime a value in the binding updates.