How to use the Dojo Data Grid with XML in the Notes Client
How to use the Dojo Data Grid with XML in the Notes Client
My customer wants to be able to search across multiple databases and then be able to filter and sort the data. I was hoping to use the Dojo Enhanced Datagrid using an XML input. That way I could compile all the results in the backend and then present them to the Grid as a whole.
I've tried a number of examples and they all seem to work in the browser, but not in the Notes Client. Unfortunately, this is a Notes Client application.
I've been using the Texas BBQ application as a test just because all the data is included within the application. I found this on:
NotesIn9 92: Using the Dojo Enhanced Data Grid in XPages by Paul Calhoun
http://www.notesin9.com/2012/12/03/notesin9-092-using-the-dojo-enhanced-data-grid-in-xpages/
I've been able to get the "Dojo Enhanced Data Grid with XML Data Source" to load the Dojo control, but I just get "Sorry, an error occurred" where the data should be.
Here's a link to the Texas BBQ from Notes in 9.
http://www.nnsu.com/nnsusite.nsf/Download.xsp?documentId=5EB484B0C31CC83886257B59006DA42A&action=openDocument
If I can get this to work it will be an extremely useful tool as I have to start looking at archiving soon and will use this to consolidate my search results.
I'm using a Domino 9.0.1 FP5 server with a Notes 9.0.1 FP9 Client.
Any help would be appreciated.
Image of Notes Client results page:
I've had a look at the Page Source, but there's nothing there that show's the error. It appears to be coming from the Dojo control. And the other button is just the Browser Config and I didn't see anything there either. But thanks for your interest.
– Dan F
Jun 29 at 9:34
What does firebug have to say?
– stwissel
11 hours ago
1 Answer
1
The Notes Client uses an older version of the Firefox engine. Check this documentation for comparison:
https://iwonthemove.wordpress.com/2013/03/14/how-to-get-a-proper-javascript-debugger-in-xpinc/
(Latest versions might be newer, but you get the idea. This presentation:
https://www.slideshare.net/ddrschiw/ad108
describes XPiNC (XPages in Notes Client). Slide 21 shows the client toolbar that allows access to the source. Slide 22 talks about debugging.
Update
You also want to look at Firebug light, it will show you eventual JS errors. See this post for details: https://www.mindoo.com/web/blog.nsf/dx/02.02.2012162412KLEL3Q.htm
/Update
Hope that helps.
Btw. I wouldn't use a GUI tool (Dojo Grid) to query different sources. Rather use a managed bean and a 1:1 connection Grid - Bean.
Thanks for all the suggestions. I'll look into them and let you know how I get on.
– Dan F
3 hours ago
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
There’s a debug button that shows you the source and eventual errors. Did u check them?
– stwissel
Jun 29 at 2:23