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 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.
Hi Ricky,
What if you check the child nodes of parentId node? is there a new node?
Alex
is working on a reply...