Issue with sideEntityController.open() not overwriting schema
Hi, I'm setting up a custom side entity view but I couldn't make firecms display the new schema I pass in. "@camberi/firecms": "^1.0.0"
I set overrideSchemaRegistry = true and passed in the new schema that I want to show, which is articleContentSchema, but instead the side drawer still shown the schema that was defined for the path '/library_items'.
I followed the example code in the file ExampleCMSView.tsx from firecms code base, but I couldn't find where you guys define the path "/products-test" https://firecms.co/docs/custom_top_level_views/
Could someone show me where did I do wrong or how the path "/product-test" was defined?
Hi @brianpham258
So that is the intended way to use it.
products-test is not defined anywhere else in the example, it just points to the database path.
overrideSchemaRegistry should not be necessary.
I understand you have defined a collection with the same path, which is where it's fetching the schema from.
If that's the case it seems to be a bug in the CMS
If it helps, this issue is already solved in v2.0.0 which is currently in alpha in case you wanna try it out
Thank you @fgatti675 🙏, let me try the v2
Hi @brianpham258 did it help?