I’m afraid I am somewhat frustrated after spending the best part of half a day building something to find that the API docs do not give anywhere near enough information.
Take a look at this….
https://api2-eu-west-1.insided.com/docs/community/#tag/ProductUpdates/operation/createProductUpdate
My intention was to load our Product Updates with a load of backdated content published elsewhere. I can get the majority of the data from scraping a page, tweak it in the admin console, then publish. I got all of that working and then I find out that there is no way to add a retrospective date. There is literally a “createdAt” field you can post. It is NOT required. So, the natural assumption is that if it is not provided, the date will be the date it lands via the service. If it is provided, then that date will be used. What happens? The date is ignored as far as the UI is concerned and you are left with the publish date showing.
Had the “createdAt” date been explained, I may not have wasted a day on this and I may not have suggested to my team that it should be possible to achieve our requirement.
What is the point of this field if it does nothing? WHY is your documentation so limited?
Does anyone have any workarounds that would allow me to achieve this? I have already looked at the InSidedData JSON to see if I can use that force a different date on the post. I *could* do to the extremes of publishing the date in the text, removing that dynamically after it has loaded and replacing the date that is returned with the date I have just removed from the text….but that is a ridiculous way to go if there is an easier way.
Page 1 / 1
Hi
Thanks Dave, I’ve DM’d you.
Reply
Sign up
If you ever had a profile with us, there's no need to create another one.
Don't worry if your email address has since changed, or you can't remember your login, just let us know at community@gainsight.com and we'll help you get started from where you left.
Else, please continue with the registration below.
Welcome to the Gainsight Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.