How to covert csv File that is uploaded by user on UI to CDT?

Hi Experts,

I Need your help.

There is a use case where I am designing an Interface from where the user uploads a CSV file and I have to convert that CSV file data to CDT.

And once this has been converted into CDT I have to show that data in a read-only grid on the Interface.

Thank you in advance for your support!

Below is the overview of the data of my file:

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data