
Steve McNiven-Scott (https://www.sitefinitysteve.com) asked a question.
Need to get a list in raw sql, not the API of dynamic content items and their published (or scheduled to publish) state.
Or even if someone at progress has a schema diagram of how it's all supposed to connect, there's no FKs in the DB to link up.
Just to be clear, it's just simple data, no mutlisite\multiprovider\permissions, etc... just published\unpublished\scheduled flat data. I can do the basic linking through sf_dynamic_content and the modules table, but it's the linking for publish and schedule tripping me up.
@Jonathan Read (Progress Software) @Kevin Reed (Springthrough)
Thanks for the assist, here's a stored procedure that pulls in all the data merged with sf_dynamic_content and the scheduled task publish dates... along with categories and tags as JSON, and dynamically pulls in the content type fields.
Doesn't pull in draft or deleted, but it's a good flat start
https://www.sitefinitysteve.com/blog/direct-sql-access-to-sitefinity-dynamic-content-for-easy-poco-mapping/