Copied to clipboard

Flag this post as spam?

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


  • Marcus 42 posts 183 karma points
    Jun 11, 2024 @ 11:52
    Marcus
    0

    Umbraco 13.3.0 - How to create a variable copied from IPublishedContent instance

    Hi everyone,

    Because some business. I technically need the ability of declaring a variable which is copied from an IPublishedContent variable.

    The purpose is make changes for the copied version without reference (not making original content variable changes)

    For example:

    var content = _umbracoHelper.Content(1610); var copied = (copied from content);

    Is there any solution to take that?

    Many thank!!

  • 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