Hello,
In Comparison application, when we open the document tree with the button in picture 2 and select the document, when I examine the Network in Developer mode, it triggers the LoadDocumentDescription endpoint and triggers the selectfile from the interface methods while performing the pagination process. As in picture 1.
I want to make that document open instead of selection by sending a path in the url I want to do. For this, I do it myself because Oninit is not implemented in the ComparisonAppComponent in the interface. As in picture 3. Then I call the selectfile method in the OnInit method and pass the path here. As in picture 4. When I check the code from the browser, the LoadDocumentDescription method is called and performs the pagination. As in picture 6. However, it cannot fetch data: image/png as in Picture 2. Unable to trigger ComparisonAppCompanent because it fails to fetch.
When I made this development for Annotation it worked fine. However, OnInit was implemented in AnnotationAppCompanent, I did not. As in Picture 5 Could it be caused by this? How should I proceed?
Picture 1.png (77.4 KB)
Picture 2.png (116.8 KB)
Picture 3.png (50.2 KB)
Picture 4.png (34.4 KB)
Picture 5.png (40.3 KB)
Picture 6.png (74.7 KB)