Copied to clipboard

Flag this post as spam?

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


  • Rémy Beumier 2 posts 71 karma points
    Jul 30, 2019 @ 10:56
    Rémy Beumier
    0

    Umbraco Dashboard in 7.14

    Hello fellow Umbracians,

    I am working on the creation of a dashboard in v7.14. I want it to present both my last edits and edits from anybody.

    I followed the quite outdated tutorial https://our.umbraco.com/documentation/Tutorials/Creating-a-Custom-Dashboard/ which I could customed to have a satisfying list of current user last edits.

    Now I face difficulties to present edit made by anyone. I want something similar to logResource.getPagedUserLog; but for all users. I tried logResource.getLog but I'm forced to specify the logEntry, which I don't want to.

    What do you guys suggest ? I feel there should be something easy but I can't find it in the doc (where I couldn't find getPagedUserLog by the way)

    Many thanks, Rémy

  • Marc Goodson 1451 posts 9716 karma points MVP 5x c-trib
    Aug 03, 2019 @ 20:04
    Marc Goodson
    0

    Hi Beumier

    Have a look at the other methods of the LogResource, there is one called getLog that would get you all entries for a particular type of log, since a certain date:

    https://github.com/umbraco/Umbraco-CMS/blob/v7/dev/src/Umbraco.Web.UI.Client/src/common/resources/log.resource.js#L232

    There is also a package called TheDasboard that lists all the updates by any user in Umbraco, so that might be worth a poke around to see how it's done:

    https://github.com/enkelmedia/TheDashboard

    regards

    Marc

  • 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