64
Views
12
Comments
Invalid Data Type  'Feedback' data type required instead of 'Text'.

While creating a customer feedback system, I called Local Variable for Feedback whose data type is "Text" & while writing a logic for the submit button I used run server action, where in the feedback action I'm getting this error.

2026-01-06 14-46-35
Garima Bhargava

Hi Shubham,

 Can you share the oml, actually I just can not reach your problem. Generally for feedback "Text" data type is used.

2024-02-19 08-20-50
SHUBHAM SOURAV

I tried to upload the file, but due to the system security I'm not able to upload the file(Using Office Laptop).

2024-05-02 09-49-04
Murali Manoharan V
Champion

Can you try to share the screenshot Shubham?

2022-01-13 11-06-04
Neha Sheikh
Champion

Hi Shubham,

It's a data type error. Check the inputs you are passing to the server action "create feedback wrapper". One of the inputs you are passing ix expecting a data of type feedback and you are passing text value to it. 

Thanks,

Neha

2024-05-02 09-49-04
Murali Manoharan V
Champion

Yeah as like Neha said, input parameter of your create feedback wrapper's data type is entity's data type. Clear the input parameter value and click expand it will show all attributes of feedback entity. Then assign the respective values.

Or else change the input parameter of wrapper server action to text datatype and in entity action click the plus icon before Source and assign respective values in it.


regards 

Murali

2024-02-19 08-20-50
SHUBHAM SOURAV

Thank You Murali, but I set the Datatype of Input Parameter Feedback, to Feedback Identifier. & local variable to null identifier (). It's working.

2023-05-23 04-55-55
Wasimkhan Syed Abuthahir

Hi,

It's a data type issue. Can you check you are passing the correct input data? Pass the feedback record in your case.


Regards,
Wasimkhan S

2023-05-23 04-55-55
Wasimkhan Syed Abuthahir

Hi Subham,

Set the data type of local variable as Feedback

2024-02-19 08-20-50
SHUBHAM SOURAV

Okay let me update it.

2024-02-19 08-20-50
SHUBHAM SOURAV

Thank You Wasim, but I set the Datatype of Input Parameter Feedback to Feedback Identifier. It's working. 

2023-05-23 04-55-55
Wasimkhan Syed Abuthahir

okay. I hope this action is for only create feedback..!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.