Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mahender Singh 39 posts 171 karma points
    Jun 14, 2022 @ 10:14
    Mahender Singh
    0

    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

  • Marc Goodson 2155 posts 14406 karma points MVP 9x c-trib
    Jul 11, 2022 @ 21:49
    Marc Goodson
    100

    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

  • Mahender Singh 39 posts 171 karma points
    Jul 12, 2022 @ 06:04
    Mahender Singh
    0

    Thanks Marc for help

Please Sign in or register to post replies

Write your reply to:

Draft