08-27-2015 08:06 AM
We have a client who wants to view his onbase documents reports in a windows forms application.
The application uses a silverlight control for printing and viewing. The application opens a web browser control for each report it opens, so each browser control contains the silverlight control. Each report that is open is a new tab which is a new instance of silverlight that is open. Silverlight is no longer supported by Microsoft and we are having issues with printing. So we are trying to find alternatives for Silverlight. The reports look colorful..
Is there a way we can interface with Onbase’s Report Viewer,DocPop.. Can we open Docpop in a webbrowser control embedded in a windows forms application.
I was looking at the SDK and there is are some ActiveX controls like OBXAltDocumentSelectSvc Control orOBXAltViewerSvc (onbase 13). Which one of these would is recommended for the above scenario.
This is an example of how the report shows in the aspx page. The control on the top right side is the silverlight control used mostly for printing. This whole report does not use any onbase viewer. The code does a _HttpContext.Response.BinaryWrite( byteData ) to show the report on the page. And for printing there is some more xaml code. I am wondering if there are any onbase viewers. I have 2 options to replace the whole silverlight control: first option is leave the way report is displaying as is and somehow change the print. Is there a printing APi I could use from Onbase? Second Option: Change the viewer to an onbase viewer which comes with its own printing. I like the first option!!
Thank you
09-14-2015 11:03 AM
Smitha -
You can indeed write a windows form application using the ActiveX Controls to view a document. We'd recommend using HylandViewer.ocx; OBXAltViewer.ocx is available for backwards compatibility but should not be used for new development in 13+. You can also use this for .aspx pages if needed.
With that said, if using the web is an option (and you did say there were already .aspx pages) it may be a lot easier to use something like DocPop to simply open the document in the web client. That's available out of the box with minimum coding.
Nathan
09-14-2015 11:03 AM
Smitha -
You can indeed write a windows form application using the ActiveX Controls to view a document. We'd recommend using HylandViewer.ocx; OBXAltViewer.ocx is available for backwards compatibility but should not be used for new development in 13+. You can also use this for .aspx pages if needed.
With that said, if using the web is an option (and you did say there were already .aspx pages) it may be a lot easier to use something like DocPop to simply open the document in the web client. That's available out of the box with minimum coding.
Nathan
09-14-2015 11:31 AM
09-14-2015 11:33 AM
09-14-2015 12:01 PM
From experience I would say use DocPop. It is wayyyyy easier! and you have the option to Open Workflow using DocPop as well.
09-14-2015 01:38 PM
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.