Copied to clipboard

Flag this post as spam?

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


  • Dan 2 posts 72 karma points
    Nov 17, 2023 @ 15:51
    Dan
    0

    Can you automatically export Umbraco data?

    I'm doing some exploration here to see what is possible. What I would like to do is grab data for a piece of content when that content is created, deleted or moved. The type of data I would be looking for would be some type of static content ID (doesn't change is the content is renamed or moved, etc) and some additional information about that content like the page title, directory(URL) and maybe some custom field data. Is there a way to export this tpye of information automatically (triggered on content creation/deletion/moved)?

    If there isn't a way to natively do this in the app maybe I can use something like Power Automated that watches for changes in the database and then grabs the data and writes it to a csv file that I can then store somewhere.

    As bonus functionality it would be great to update the database. For example, if one of the custom fields I grab in the previous step is empty or incorrect I could connect to the database and fix it. That may be more trouble than it is worth. Maybe at this point I just need to go into Umbraco and fix it.

  • Huw Reddick 1929 posts 6717 karma points MVP 2x c-trib
    Nov 17, 2023 @ 18:46
Please Sign in or register to post replies

Write your reply to:

Draft