Sorry, I think I got your question the wrong way around.. By the way: are you talking about this Top Songs project? http://developer.marklogic.com/code/top-songs I’m not familiar with it unfortunately, I may have been mistaken with the built-in Oscar app.
If you are looking for a good Java skeleton, I’d suggest taking a look at https://github.com/marklogic/marklogic-samplestack instead. If you would be interesting more in a JavaScript stack, then I’d refer to https://github.com/marklogic/slush-marklogic-node. If you are looking for something like app-builder (still around, but deprecated in ML8), the MLJS wizard workspace might be of interest to you: https://github.com/adamfowleruk/mljs Cheers, Geert From: Mark Shanks <[email protected]<mailto:[email protected]>> Reply-To: MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Date: Tuesday, April 14, 2015 at 8:11 PM To: MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Subject: Re: [MarkLogic Dev General] Unable to connect to REST server using custom app I don't think that helps. From what you are saying, I think you are talking about having the UI in the modules database. However, what I want is to have the UI in the filesystem like it is built in the application developer documentation. There should be an easy way to point the top-songs UI to another REST instance, rather than moving the whole top-songs UI. Thanks, Mark ________________________________ From: [email protected]<mailto:[email protected]> To: [email protected]<mailto:[email protected]> Date: Tue, 14 Apr 2015 18:44:49 +0000 Subject: Re: [MarkLogic Dev General] Unable to connect to REST server using custom app Hi Mark, I think you are looking for the http app server settings in the Admin UI. If you create a REST-api instance, you can then go to the Admin UI, and change the documents database setting of that REST-api server to point to the database containing the Top Songs documents. After that you can start building your own UI on top of this new REST-api instance. Does that help? Cheers, Geert From: Mark Shanks <[email protected]<mailto:[email protected]>> Reply-To: MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Date: Tuesday, April 14, 2015 at 5:33 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: [MarkLogic Dev General] Unable to connect to REST server using custom app Hi, I want to use the Top-Songs example as a code base, but the tutorial does not detail how to include a data visualization widget in this application. Going through the Data Visualization Widgets guide in the Search Developer's Guide also hasn't helped. The problem is that adding the data visualization widget seems to be non-trivial as it requires the setting up of a REST server, which is not required for the text results currently in the Top-Songs example. Further, the Oscars example has the REST server at the same port as the files, presumably because they are all coming from the database. When I try and setup a REST server at the same port as the Top-Songs example, it will not let me. If I then setup the REST server at another port location, the documentation isn't clear as to how to configure the application so it can connect to the different location. I've played around with the proxy settings to try and point to the correct port, but the string doesn't seem to output correctly. How should the controller_config be setup to point to a REST server that is on a different port to the app? Or should I be doing something else differently? Thanks. _______________________________________________ General mailing list [email protected]<mailto:[email protected]> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
