How can I create new page that display data from csv file ?

Mark Oriend asked on November 10, 2018 03:30

Just now, our Kentico application is integrated with Netsuite ERP.
I am going to get data from Netsuite Saved Serach and display them on Kentico Admin panel.
I tried to create custom table in Kentico, and get Netsuite Saved Search result and store them into the custom table.
But it took some more time to store them into Kentico MSSQL database.
So I stored the Netsuite Saved Search Result into Kentico-Side CSV file, and it took a short period for storing data.
But in this case, I have to make a page that get data from csv file and display them.
And also, admin must can access that page from Kentico Admin. I tried to make that page using custom module, but failed.
How can I solve this problem ?

Correct Answer

Dragoljub Ilic answered on November 13, 2018 11:16

Hi Mark,

I'm not sure what is exactly problem. Is it reading from CSV file and showing data on the page or is it connecting those two with custom module in Kentico Admin interface?

If second one is the problem, check this answer how to create custom module with custom UI page. If you create custom module UI like shown in link above (and if you configure it as type: URL and Target URL (instead of page template) will be URL to your custom aspx page: ~/CMSModules/CustomModuleName/UI/Module/CustomPage.aspx) then reading from CSV and showing it should be implemented as pure .NET logic in .aspx page.

Best regards, Dragoljub

1 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.