View Renderer for TreeEngine

Hello,

I am getting following error after deploying the TreeModel on the server.
The models work when run through PAC.
Do we need additional configuration on server/client to render TreeModel?

Thanks,
Mokshada

Hi @mokshada-nimble-flood
Does your application register tree engine module properly?
If yes, you might just miss-register the view component on the containerFactory. You have take a look on the official documentation here.

Thanks @tri-sheer-boulder. After following the steps in the documentation, I’m getting following error. Am I missing any more config?

Hi, you also need to wrap your application with-in a DndProvider, which is mentioned here

https://docs.geta12.com/docs/?release=2023.06#product:tree,artifact:treeengine-dev-docs,content:asciidoc,scene:x9oXxT,anchor:_dndprovider

export const YourApplicationRoot = () => (
  <DndProvider backend={DragAndDropUtils.DefaultDndBackend} options={DragAndDropUtils.DefaultDndBackendOptions}>
    <YourPage />
  </DndProvider>
);

The documentation should be updated because this one should be part of the main content rather than on the migration note.

Thanks @tri-sheer-boulder. The TreeModels work well after the configuration.