How to Set Custom Published, Created, and Modified Dates When Creating Content Items via Content API #17980
Unanswered
asteekgoswami
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Just to confirm: setting these properties in the payload of the API call (what you can do) doesn't set them, they're overwritten automatically, right? Because I think that should work. Alternatively, you can try importing from recipes. That's faster for such initial migrations anyway. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am using the Orchard Content API to create content items of type Article, but I want to set my own Published, Created, and Modified dates. However, these fields are automatically set to the current date and time. I need to migrate my existing articles into Orchard, so maintaining their original dates is important. Is there any way to set these fields manually during content creation?
Beta Was this translation helpful? Give feedback.
All reactions