Copied to clipboard

Flag this post as spam?

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


  • Damiaan 442 posts 1302 karma points MVP 6x c-trib
    Jun 21, 2012 @ 14:31
    Damiaan
    0

    Feature request - extending SaveAsUmbracoNode

    Hi

    I try to extend the "SaveAsUmbracoNode" workflow type.  Unfortunately the created document is not exposed in this class. So what i want to do is something like this:

        public class SaveAsUmbracoNodeExtended : Umbraco.Forms.Core.Providers.WorkflowTypes.SaveAsUmbracoNode {
            public override Umbraco.Forms.Core.Enums.WorkflowExecutionStatus Execute(Record record, RecordEventArgs e) {
                var result= base.Execute(record, e);
                           
                var doc = new Node(base.DocumentId);
                // do something with the node
                // ...

                return result;
            }
        }

    Is this the right place to submit feature requests?

Please Sign in or register to post replies

Write your reply to:

Draft