While there a lot of topics regarding how to export Umbraco data using JSON and REST API, I wonder is there any option to import data into TempData -> play around with this data -> hold it in razor/macros and pass it to a page where should be displayed as HTML?
I'm pretty sure that it might be solved with controller and newtosoft but have no idea from where to start.
Maybe someone has a solution or correct article since google rejects show me what I'm asking for and throws out only how to export data instead of import?
No, I'm not planning to create a page. Basically idea is to import data from the company database (using API) and base of all information from db, display KPI ( how much employees are working in company, average age and etc. ).
Thank you, will take a look, sounds like something good.
Hold and display JSON data from API
While there a lot of topics regarding how to export Umbraco data using JSON and REST API, I wonder is there any option to import data into TempData -> play around with this data -> hold it in razor/macros and pass it to a page where should be displayed as HTML? I'm pretty sure that it might be solved with controller and newtosoft but have no idea from where to start. Maybe someone has a solution or correct article since google rejects show me what I'm asking for and throws out only how to export data instead of import?
Mange tak.
This will show you how to import external JSON data, but the principles are the same except you probably don't want to actually create the pages: https://skrift.io/articles/archive/importing-external-data-as-content-in-umbraco/
Does this help?
No, I'm not planning to create a page. Basically idea is to import data from the company database (using API) and base of all information from db, display KPI ( how much employees are working in company, average age and etc. ).
Thank you, will take a look, sounds like something good.
is working on a reply...