hello kentico dev in my project i try to get data fro api and i wonder if there any webpart that support this get data json from api and use it in repeater any one have idea about how to use it thank you
Hi, There is no such webpart in Kentico. You should write custom code to load data from api.
how about using a webpart like this one webpart or Data Source
You have the right idea Nadia, either my universal API viewer with hierarchy of you need to repeat with hierarchy support, otherwise a custom data source to consume the json and convert it into a data table.
thanks Trevor Fayas do you have any idea how to use it to get data from api
Included in the download is a PDF with instructions and the code has xml and json examples, it does require some. Net knowledge
i mean how to add this webpart to kentico
Trevor Fayas i try to use yourweb part but its not working for me is there another way
You need to import it like you would other tools, but make sure to check "include files" and "include global files" when you import.
After that you follow the instructions, clone it and code it to consume your json.
Please, sign in to be able to submit a new answer.