Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Yves Gravé 2 posts 72 karma points
    Feb 10, 2023 @ 15:23
    Yves Gravé
    0

    Umbraco Forms - Workflow - Save as XML file - Probleem Path

    Hi,

    I using Umbraco Cloud (V 9.5.4.) and Forms (V9.5.6) and I would like to save the result of a form as a XML file. In the Forms Workflows I need to define the Path. I would like to save this XML file into a folder under Media. I tryed this: \host\media\foldername but it's not working. I cannot found any information about this in the documentation, forum, etc. Can somebody help me with this? In advance thanks.

    Here is the error:

    System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\home\site\wwwroot\media\4qzjvol1\sampleumbraco.xslt'.
    

    at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle) at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy) at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) at System.Xml.Xsl.Xslt.XsltLoader.CreateReader(Uri uri, XmlResolver xmlResolver) at System.Xml.Xsl.Xslt.XsltLoader.Load(Compiler compiler, Object stylesheet, XmlResolver xmlResolver) at System.Xml.Xsl.Xslt.Compiler.Compile(Object stylesheet, XmlResolver xmlResolver, QilExpression& qil) at System.Xml.Xsl.XslCompiledTransform.LoadInternal(Object stylesheet, XsltSettings settings, XmlResolver stylesheetResolver) at System.Xml.Xsl.XslCompiledTransform.Load(String stylesheetUri) at Umbraco.Forms.Core.Data.Helpers.XsltHelper.TransformXML(String xml, String xsltFile) at Umbraco.Forms.Core.Providers.WorkflowTypes.SaveAsFile.Execute(WorkflowExecutionContext context)

Please Sign in or register to post replies

Write your reply to:

Draft