Copied to clipboard

Flag this post as spam?

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


  • Alexander Mounzer 8 posts 118 karma points
    Jun 30, 2021 @ 09:28
    Alexander Mounzer
    0

    Passing API Data to the View

    Hello everyone,

    I am new to Umbraco and still learning it.

    I am super curious to understand how I can pass a certain data from APIs onto the View.

    I have been successful doing so with custom models that are not relevant to umbraco. Where I fetch an API and map it into a model and then return View("pagename", myModel);

    But I am curious to know how I do this mapping with the generated models in Umbraco.

  • Brendan Rice 538 posts 1102 karma points
    Jul 01, 2021 @ 10:57
    Brendan Rice
    100

    Hi Alexander,

    try the WebApi docs below:

    https://our.umbraco.com/documentation/reference/routing/webapi/

    Hops this helps.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies