Filter records by 'Created By' -field

,

We have a lot of pages on our DatoCMS Content Model and all these records have the ‘Created By’ - field. That field ‘Creator’ can also be shown as a column for the Collection.

Still, I can’t use it as a filter. I believe there is no way to create a filter that would only show all the records I created and am responsible of. Also the Search field can’t find any records if I only white the name of the creator.

Is this something you could possibly add?

That is really strange. I mean isn’t that one of the main things you want to filter for?
The same is true for assets?
How can I see all assets created by a specific Creator resp. Collaborator?

1 Like

Yes, same thing at the Media Area. You can search by ‘Author’ or ‘Created at’ but not by the actual Creator…

Now you can! :slight_smile:

1 Like

Sorry this wasn’t implemented, there has been a misunderstanding :slight_smile:

For now it’s not possible as we are trying to keep the parity between the filters on the REST API and the GraphQL API. If this is the case, then exposing the internal IDs of the creators on the GraphQL API is not ideal and we don’t want to do.

So if at some point we decide to break the parity between the APIs, then we’ll be able to implement this. For now though we cannot, I hope to have given a bit more info on the reason why.

1 Like

Any news about that case? For our project it is absolutely crucial to be able to get author of the post.

Hi @it1, welcome to the forum, and sorry to be the bearer of bad news… for the reason @matjack1 previously stated, this is still not an available feature :frowning:

If you need to get the most recent editor, you can use the records version endpoint (Record version — Content Management API — DatoCMS) to retrieve the editor via relationships.editor.data but this is not currently something you can filter server-side by. (You can fetch all records/versions and filter them clientside, of course). Sorry about that!

Our recommendation for the time being is to either use another field, either a drop-down that the editors can manually choose their list from, or perhaps a computed field (using the plugin) that auto-fills with the current editor’s name whenever they edit it (using ctx.currentUser). Plugin SDK - Field extensions - DatoCMS Docs

Sorry about that!