Copied to clipboard

Flag this post as spam?

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


  • Damiaan 438 posts 1290 karma points MVP 3x 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?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies