Contour Workflow - Save as Doc - Where to save xPath problem
Hi!
I'm trying to make a workflow for my contour form, making it save the enty as an umbraco document at approval. I
need it to save the node as a child to the page of where the form was
submitted, but I can't seem to get the xPath expression right.
$currentPage/@id does work when placing it on submit. I might as wel keep it there, you have to be logged in to see the form anyways, so no reason for admin approval.
Contour Workflow - Save as Doc - Where to save xPath problem
Hi!
I'm trying to make a workflow for my contour form, making it save the enty as an umbraco document at approval.
I need it to save the node as a child to the page of where the form was submitted, but I can't seem to get the xPath expression right.
I've tried:
$currentPage
$currentPage/@id
.
/
pageid
PageID
#PageID
[#PageID]
and more..
..But none of them seemed to work.
I can't find anything about it in the forums, nor in the documentation.
Anyone had this problem before me?
Comment author was deleted
$currentPage/@id should do the trick , could you try placing it on submit if that works (might be that the xpath doesn't work from the entries viewer)
Hi Tim,
Thanks for the quick reply :)
$currentPage/@id does work when placing it on submit.
I might as wel keep it there, you have to be logged in to see the form anyways, so no reason for admin approval.
..and thanks again :)
Comment author was deleted
Great :)
is working on a reply...