Can't save date using WSDL
Hi all
I have an issue when I try to import data from my old DB to new Cascade using WSDL. I sent requests and all data which I want to store in data definition saved to DB, but I also want to use one of Meta Data field(Start Date, End Date, Review Date) to store date when post was created in old DB and as I can see date doesn't save to any of these fields.
I didn't get any error messages or log errors, so I don't know how to fix this error, and I am wondering is it even possible to save data to meta data fields?
If it is possible can someone share a code snippet(preferably .Net) to explain how it should work.
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Wing Ming Chan on 26 Jul, 2016 05:13 PM
Hi Vladimir,
Check the following pages for code examples written in PHP:
http://www.upstate.edu/cascade-admin/web-services/courses/introduct...
http://www.upstate.edu/cascade-admin/web-services/api/property-clas...
Wing
2 Posted by Ryan Griffith on 26 Jul, 2016 06:17 PM
Hi Vladimir,
I also wanted to mention that timestamps are persisted in 13 digit format, so if you are attempting to enter 10 digits try multiplying by 1000 to see if that helps.
3 Posted by Vladimir on 27 Jul, 2016 09:12 AM
Hi Wing,
Thank you for links
Hi Ryan
I thought that I used wrong date format so I used dashboard to save "Start Date" field and then used that value and send new request to WSDL, and as I can see it didn't help. I hope Wing's links will help me resolve this issue.
4 Posted by Ryan Griffith on 27 Jul, 2016 12:11 PM
Hi there,
When you have a moment, can you paste the relevant portion of your script so we can help take a closer look?
Thanks!