Copied to clipboard

Flag this post as spam?

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


  • Daniel Pedersen 1 post 71 karma points
    Dec 01, 2021 @ 15:13
    Daniel Pedersen
    0

    Trouble changing document type property value through RenderController

    I'm new to Umbraco so I apologize if I'm just missing something really basic.

    I'm trying to change the value of Document Type Property through the RenderController.

    I'm having trouble trying to assign something to a read only field.

    Following the documentation for Route Hijacking it didn't mention anything regarding changing predefined values.

    My controller is just the default behavior with my model following the default behavior in the guide. enter image description here

    I'm trying to avoid the creation of a new ViewModel. Because I just need to update the predefined value.

    Think about it as some api call that returns the real text value to the field. And the one coming from the Content Tree is the default value.

    Any help would be appreciated, thank you.

Please Sign in or register to post replies

Write your reply to:

Draft