Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi all,
I want to fill data via code in already created Content pages which is created with the help of document type.
I have data in api and using api i want to put data in Content pages. Could you please help me with this.
Thanks
Hi Mahender
Have a look at the ContentService...
https://our.umbraco.com/documentation/reference/management/services/contentservice/
(There is also a MediaService)
These services allow you to programmatically create content and media based on your defined content types and set the values for each property...
Regards
Marc
Thanks Marc for help
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to fill Document type data using backend code in Umbraco
Hi all,
I want to fill data via code in already created Content pages which is created with the help of document type.
I have data in api and using api i want to put data in Content pages. Could you please help me with this.
Thanks
Hi Mahender
Have a look at the ContentService...
https://our.umbraco.com/documentation/reference/management/services/contentservice/
(There is also a MediaService)
These services allow you to programmatically create content and media based on your defined content types and set the values for each property...
Regards
Marc
Thanks Marc for help
is working on a reply...