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 have the latest version of Umbraco Forms set up on an Umbraco 7.2.6 website. The client, for privacy and security reasons does not want the content of the forms to be emailed on form submission, but does want a notification.
I've seen threads like this: https://our.umbraco.org/forum/umbraco-pro/contour/36783-Custom-email-templates-for-contour which seem to suggest that sending a custom email is possible.
But, what I want to know is, is there a way to remove the default "Send email" workflow, and prevent it being added as the default behaviour whenever a new form is created? Ideally I'd like for my client to have no way of using that standard workflow at all.
Comment author was deleted
You can disable this in the settings file, you can find it at \App_Plugins\UmbracoForms\UmbracoForms.config
and simply set the key DisableDefaultWorkflow to False
To True of course , not false :)
Ah ha! thanks! I don't know how I missed that. I've scoured over that config file a few times now. Must have been half asleep :D
So I've disabled the default workflow and that worked great, so thanks for that.
But now I'm just trying to get the "Send xslt transformed email" workflow to work and haven't had any luck so far. Just running on my dev machine, I have the email settings set to use pickup directory.
When I use the default email workflow and submit the form, a new email appears in the pickup directory as expected.
When I use the XSLT workflow, no email appears in the pickup directory. For the email template, I am using the file "sendXsltEmailSample.xslt" from the "App_Plugins/UmbracoForms/Xslt" directory.
No worries, glad it's working (the disable workflows) will have a look at the xslt one, but the sample should just work out of the box
Just tested the sample xslt file and it works in my case... did you alter anything to the file?
I found what it's problem is. My project is using an alternative FileSystemProvider for media to store media files on AWS S3. In this case, it's Umbraco.Storage.S3 (https://github.com/ElijahGlover/Umbraco-S3-Provider/tree/master/Umbraco.Storage.S3)
As the xslt template get's stored in the Media directory, it runs into this exception when running the site with a debugger:
An exception of type 'System.Xml.Xsl.XslLoadException' occurred in System.Data.SqlXml.dll but was not handled in user code
Additional information: XSLT compile error.
"Could not find a part of the path 'C:\\proj\\src\\MyUmbracoWebsite.Web\\media\\1127\\sendxsltemailsample.xslt'."
Bonus info which may complicate things:
I'm running Umbraco.Storage.S3 configured with the "bucketName" property to blank, which means that all the media asset nodes get saved to the DB with a relative path to the "media" directory, and not a fully qualified URL.
I then use a HttpHandler to catch frontend Http requests to the "media" directory and redirect them to the S3 bucket's media url.
Just thought this might be worth mentioning because even if Umbraco.Forms code caters for an alternative FileSystemProvider, it is probably expecting a fully qualified URL.
Any ideas to work around this?
AH that makes sense now, thanks for the additional info, will see how we can fix that
Hi,Umbraco forms disable workflow is not working in my solution , its updating related form config file .but workflow still working .any idea guys ?
Hi, I'm using Umbraco Form 4.4.2. Is there a way to remove the default "Submit message / Go to page" in the workflow? I want to redirect the page from my action controller.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted