Copied to clipboard

Flag this post as spam?

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


  • Ricky Keele 2 posts 73 karma points
    Mar 24, 2020 @ 11:54
    Ricky Keele
    0

    How to add products in Hangfire Scheduler job for Umbraco 8

    Hello, everyone!

    I am gonna update product data using Hangfire scheduled job. I've got success to get product data in JSON type.

    I created Content with Current.ContentService.Create("productName", parentId, "productModelAlias", userId); After setting values of products and calling SaveAndPublish function, it returns Success. But the contents can not be found any pages( front page and back-office).

    How can I solve this? Thanks.

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    Apr 23, 2020 @ 21:50
    Alex Skrypnyk
    0

    Hi Ricky,

    What if you check the child nodes of parentId node? is there a new node?

    Alex

  • 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