Is this in a custom 'Send XSLT transformed email' Workflow step on an Umbraco Form?
I haven't found an example one (sure there used to be one that you could edit for your own purposes :-() for V10...
... first thought though is your XSLT has a namespace called umbraco.library
And I know this was removed in the move to Umbraco 8.
if you aren't using the extension methods that used to be in umbraco.library then you might just be able to remove that from your XSLT file?
There maybe errors in the trace logs that would help pin down which bits are being complained about and work through by trial and error.
There is an alternate way to do Email Templates with a Razor file, that might be more straightforwards but depends how many you have to convert! hopefully removing the namespace will just do it... or at least get you further down the path.
Yes that's correct, this is the 'Send XSLT transformed email' workflow in Umbraco Forms.
I've tried removing the reference to 'umbraco.library' but unfortunately it's still not working.
I have maybe six forms that I need to use this on. I'm not familiar with the Razor files so would rather use the XSLT file but I can't find an example one for Umbraco 10 anywhere.
Thanks Chriztian. I've tried using that but unfortunately it hasn't worked. Do you know how I find an error message to identify what's wrong? The workflow audit in Umbraco just says it failed.
I've also asked our web developer and they've come back and said the below piece of code is what's not working, but we don't know why or what it should be.
XSLT file help
I'm upgrading from Umbraco 7 to Umbraco 10 and the XSLT files I have been using in Umbraco 7 no longer work in Umbraco 10.
Can anyone help identify why this might be? The code I'm using is below.
Hi Owen
Is this in a custom 'Send XSLT transformed email' Workflow step on an Umbraco Form?
I haven't found an example one (sure there used to be one that you could edit for your own purposes :-() for V10...
... first thought though is your XSLT has a namespace called umbraco.library
And I know this was removed in the move to Umbraco 8.
if you aren't using the extension methods that used to be in umbraco.library then you might just be able to remove that from your XSLT file?
There maybe errors in the trace logs that would help pin down which bits are being complained about and work through by trial and error.
There is an alternate way to do Email Templates with a Razor file, that might be more straightforwards but depends how many you have to convert! hopefully removing the namespace will just do it... or at least get you further down the path.
regards
Marc
Hi Marc,
Yes that's correct, this is the 'Send XSLT transformed email' workflow in Umbraco Forms.
I've tried removing the reference to 'umbraco.library' but unfortunately it's still not working.
I have maybe six forms that I need to use this on. I'm not familiar with the Razor files so would rather use the XSLT file but I can't find an example one for Umbraco 10 anywhere.
Thanks
Owen
Hi Owen,
For that specific file you can take out the other namespaces as well, to end up with something like this:
(Provided the Body copy part doesn't reference any of them)
If this doesn't work, I'd love to see the specific errormessage(s) to pinpoint what's wrong.
/Chriztian
Thanks Chriztian. I've tried using that but unfortunately it hasn't worked. Do you know how I find an error message to identify what's wrong? The workflow audit in Umbraco just says it failed.
I've also asked our web developer and they've come back and said the below piece of code is what's not working, but we don't know why or what it should be.
is working on a reply...