Post save action

Home Forums General discussion Post save action

Viewing 4 reply threads
  • Author
    Posts
    • #24315
      Leonid
      Participant

        Wondering if there is Post Save event handler similar to

        dffs_PreSaveAction()

        I need to run some code that should use ID off a newly created SP list item

      • #24322
        Leonid
        Participant

          FYI: I went laborious way to do post-save actions with SPD workflow

        • #24336
          Alexander Bautz
          Keymaster

            Hi,
            Unfortunately there is no post-save-action in DFFS because the default SP save functionality redirects you without letting you grab the new ID. You can do it like described here, but depending on how your form is set up it might not be an option.

            Alexander

          • #24342
            AdamP
            Participant

              I actually use DFFS “save and redirect” on newform for most of my projects now. See attached screenshots.
              Newform config is minimal, requesting only basic information in order to create the item, all of the more complex form logic and configuration is on editform.
              End users don’t really notice the continuation of the form after the redirect, and I don’t have to manage the separate form config on both newform and editform. Obviously once in editform you can use the item ID wherever you need to.

            • #24349
              Leonid
              Participant

                That seems like a good workaround. Ill give it a try. FYI: in my scenario I’m creating a range of list items in a different list referencing newly created item in the current list. Will probably put a spinning wheel on an Edit form while those are created.
                Thanks!

            Viewing 4 reply threads
            • You must be logged in to reply to this topic.