I'm trying to save a submitted form to multiple umbraco documents. The nodes are all of the same document type.
Under "Where to save" i have entered the following xPath:
I have tried everything now. It always puts the node in the root. I'm submitting the form with '/base/submitContourForm/CreateRecord.aspx?formGuid=' + myFormGUID;. Do xPath work when submitting with javascript?
Edit:
Updated from version 3.0.18 to version 3.0.19 but can't get it to work.
I tried adding the form the standard way with a Macro. That worked better when using xPath. So is this a bug maybe?
I still couldn't create multiple documents though. I guess you'll need a xslt:for-each to select all ID:s. If i want the form to create a node under every node with a specific document type. How is the best way to do this? Maybe extend umbraco and create the nodes with .NET?
xPath
I'm trying to save a submitted form to multiple umbraco documents. The nodes are all of the same document type. Under "Where to save" i have entered the following xPath:
This doesn't work but maybe you can see what I'm trying to do. Is it at all possible to save to multiple nodes?
You'll always have to specify an id :) but the xpath will of course be evaluated when you are on the site so it will save to different nodes...
Thanks Tim,
I have tried everything now. It always puts the node in the root. I'm submitting the form with
'/base/submitContourForm/CreateRecord.aspx?formGuid=' + myFormGUID;
. Do xPath work when submitting with javascript?Edit: Updated from version 3.0.18 to version 3.0.19 but can't get it to work.
I tried adding the form the standard way with a Macro. That worked better when using xPath. So is this a bug maybe?
I still couldn't create multiple documents though. I guess you'll need a xslt:for-each to select all ID:s. If i want the form to create a node under every node with a specific document type. How is the best way to do this? Maybe extend umbraco and create the nodes with .NET?
Problem with the base approach is that the workflow doesn't know what page you are on so that's why xpath doesnt work...
is working on a reply...
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.