You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to modify the structure based on the Structure Builder Reference documentation, but I can only list the documents with documentTypeListItem, and I don't know how to access each document and its data. In the case of singletons, we know in advance what we want to create, while with documents we don't (for example, if we were talking about blog posts, they would be created from sanity studio).
I saw something similar to what I want to do, but creating a custom tool. I don't quite understand how to use that documentation, but still, I need it on the desk to diff when creating/editing.
In summary, as an example, if we had two languages and with the same titles, how could we show the language in the list of documents?
This is the goal (but with documents list):
I understand that there should be a way to do it, because the more languages, the more difficult it will be to deal with if we don't know the language (both with references and for editing, for example).
Thanks in advance!
The text was updated successfully, but these errors were encountered:
lauradecc
changed the title
differentiate between languages in Documents List
Differentiate between languages in Documents List
Jun 12, 2023
I am trying to display the language of each document in the documents list.
Reading the documentation I found a way to display a list of the different singleton languages, but how can it be done for documents?
I tried to modify the structure based on the Structure Builder Reference documentation, but I can only list the documents with
documentTypeListItem
, and I don't know how to access each document and its data. In the case of singletons, we know in advance what we want to create, while with documents we don't (for example, if we were talking about blog posts, they would be created from sanity studio).I saw something similar to what I want to do, but creating a custom tool. I don't quite understand how to use that documentation, but still, I need it on the desk to diff when creating/editing.
This issue (Differentiating between languages in reference selector) is related, as I would also like to achieve that, but I think it's not the same, and it hasn't been answered yet.
In summary, as an example, if we had two languages and with the same titles, how could we show the language in the list of documents?
This is the goal (but with documents list):
I understand that there should be a way to do it, because the more languages, the more difficult it will be to deal with if we don't know the language (both with references and for editing, for example).
Thanks in advance!
The text was updated successfully, but these errors were encountered: