How ANS date fields are set when publishing documents

Question

What is the correct usage of various date fields used within Arc XP ANS, and how does Arc XP use these dates?

Answer

The following table contains the full set of publishing related dates and how they are treated in the Arc XP ecosystem.

  • created_date, last_updated_date, and first_published_date are system-generated dates.
  • publish_date and display_date are user overridable.
  • Composer offers schedule publishing; Photo Center and Video Center do not.
  • When pulling data from the Content API, the date fields are generated in slightly different ways depending on the application that generated the content.
ANS Field NameComposerPhoto CenterVideo CenterAPI
display_date“Display Date” Setby userin story publish modal.“Display Date” Setby userin edit gallery screen.“Display Date” Setby userin edit video screen.Can be setby API user. Will be set to the value of publish_date if omitted.
publish_date“Publish Time” Set automaticallyeach timea story is published or a published story is updated.(Not shown) Set automaticallythe first timea gallery is published.“First Published” Set automatically thefirst timea video is published.Set automatically by system. Will beignoredif sent to API
first_publish_date“First Publish Date” Set automatically thefirst timea story is published.(Not used)“First Published” Set automatically thefirst timea video is published.Set automatically by system. Will beignoredif sent to API
last_updated_date“Last Updated Date” Set automatically oneach save, and visible only on the unpublished and draft version of the story.(Not shown) Set automatically oneach save, and visible only on the unpublished and draft version of the story.“Last Edited” Set automatically oneach save, and visible only on the unpublished and draft version of the story.Set automatically by system. Will beignoredif sent to API
created_date“Created Date” Set automatically onfirst save.(Not shown) Set automatically onfirst save.(Not shown) Set automatically onfirst save.Can be setby API user. Will be set tocurrent dateif omitted.