-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation Issue #24
Comments
Hi @tonyl-personal, I had a similar issue but resolved it by "spreading" my existing schema, since |
Anyone done any progress with this? Obviously it is supposed to work, since developers are working on it. Could any of them jump in to improve the docs for people to be able to use the plugin? |
@doublejosh @westis I thought this was a case of the document not being created, but after switching datasets I realised that I hadn't configured it for both datasets. Check that for all datasets you have the hierarchicalDocumentList() in your plugin configuration, and also hierarchyTree in the list of schema types. It may also be worth deleting any documents of type 'hierarchy.tree' to give yourself a clean start. |
Excited to try this plugin again! Is it true that documents within the hierarchy must be For example: if placing articles within a menu structure... those articles can't have normal publish versioning? |
I'm a total newb at Sanity (and coming from C#, not super-familiar with typescript either) so this is more than likely my ignorance, but here goes
When I follow the installation instructions for this plugin, the first issue I hit is that deskTool is deprecated. Reading the docs I can see that deskTool has been superseded by structureTool so I replaced deskTool with structureTool in the example and no errors so all good I thought
I am using schemaTypes (I followed the "Day One with Sanity" course) but when I try and add hierarchyTree to the schema types element, I can't figure out the syntax. I ended up adding it like this: types: schemaTypes, hierarchyTree - it gave me an error when defining this as an array
When I look at Sanity Studio Structure, I have a node for Main Table of Contents, but when I click on it I get:
Invalid configuration
The documentType passed to createDeskHiearchy isn't live editable.
To continue using this plugin, add liveEdit: true to your custom schema type or unset documentType in your hierarchy configuration.
The text was updated successfully, but these errors were encountered: