Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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,
Hello,
What version of Umbraco are you on? I have an example of how I do this with DAMP: http://damp.codeplex.com/SourceControl/latest#DAMP.Samples/Installer.ascx.cs
The example is using the old API.
Jeroen
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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,
Hello,
What version of Umbraco are you on? I have an example of how I do this with DAMP: http://damp.codeplex.com/SourceControl/latest#DAMP.Samples/Installer.ascx.cs
The example is using the old API.
Jeroen
is working on a reply...