Copied to clipboard

Flag this post as spam?

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


  • LOGISZ 2 posts 22 karma points
    Feb 08, 2014 @ 09:44
    LOGISZ
    0

    Create a node, upload media and bind nodeIds

    I'm trying to build a form to create a page (node) and upload/bind media programmatically on submit.

    The ´Create a page (node)´ and ´Upload media´ parts are already done.

    How can i get the nodeid of the new created page and the node of the new created media?

    I have to use the nodeid of the created page in my filepath and i've to add the nodeid of my new uploaded media to my created page!

    I hope you understand me!

    Thanks,

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Feb 10, 2014 @ 12:15
    Jeroen Breuer
    0

    Hello,

    What version of Umbraco are you on? I have an example of how I do this with DAMPhttp://damp.codeplex.com/SourceControl/latest#DAMP.Samples/Installer.ascx.cs

    The example is using the old API.

    Jeroen

Please Sign in or register to post replies

Write your reply to:

Draft