Copied to clipboard

Flag this post as spam?

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


  • Lee 1123 posts 3059 karma points
    Jan 05, 2010 @ 14:55
    Lee
    0

    Package Action - Add Entry To DB

    Well I'm really going for it now!  I'm creating a new package for Umbraco where I need a package action which adds an entry into the Macro property types table.

    I've never done this before and was wondering if anyone had an syntax examples of adding an entry to the DB using package actions?

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Jan 05, 2010 @ 15:04
    Dirk De Grave
    0

    Lee,

    Check out the code on Codeplex, there's plenty of examples of creating new package actions not included in the core. And if it's working, add it as a patch to the project for contribution (TIA).

     

    Cheers,

    /Dirk

  • Chris Houston 533 posts 977 karma points MVP admin c-trib
    Jan 05, 2010 @ 15:07
    Chris Houston
    1

    Hi Lee,

    In the Package Action Contrib project there is an Execute SQL action that will allow you to do this.

    Cheers,

    Chris

  • Lee 1123 posts 3059 karma points
    Jan 05, 2010 @ 15:19
    Lee
    0

    Thanks chaps that's exactly what I was looking for :)

  • 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