Hi All,
I have a CDT named as Process_data in which there is a field called buttonAction of type text. I am trying to map that cdt rule input to a text value as ri!process_data.buttonAction = "Submit", but receiving below error. Please suggest how do I cast and fix this issue. Thanks in advance.
Error: Expression evaluation error at function 'tostring' parameter 1 [line 66]: Could not cast from Text to Process_data. Details: CastInvalid
Discussion posts and replies are publicly visible
Hi Meena,
In a!buttonWidget(
label: "Submit",
value:"Submit",
saveInto:{
a!save( ri!process_data.buttonAction, save!value)
}
)
In above code, the value parameter, what ever text you enter, it will be saved to cdt column, when the button is clicked. Make sure your cdt column is string.