The
UI.getInputData action returns the input data associated with the current
web view. If no input data exists and multiple web views are showing, then the input data for the topmost web view with input data is returned.
This action has an impact in the following scenarios when input data can be specified:
The action returns the input data, or undefined if no input data exists.
The action does not throw exceptions.
<script>
const CS = new CSProActionInvoker();
const input = CS.UI.getInputData();
if( input.operationTitle ) {
document.getElementById("title").value = input.operationTitle;
}
</script>