Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 2 of 2 total |
datasetclient demo |
Fri, Feb 28 2014 12:17 PM | Permanent Link |
Riaz | Hi,
i am trying to run the datasetclient demo, but not having any luck connecting. i see Database.BaseURL:='customdatasets'; running the ewbsrvr on port 8088 can anyone give a step by step guide.... please |
Fri, Feb 28 2014 4:42 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Riaz,
<< i am trying to run the datasetclient demo, but not having any luck connecting. i see Database.BaseURL:='customdatasets'; running the ewbsrvr on port 8088 can anyone give a step by step guide.... please >> Note: You can't use custom dataset modules with the internal IDE web server, only with the external EWB Web Server (this will be changing in the future). The other problem is that the biolife.xml file is missing in the installations. I've posted it to the Binaries newsgroup: http://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_binaries&page=1&msg=24#24 As to your question: if you install the example applications using the IDE: http://www.elevatesoft.com/manual?action=viewtopic&id=ewb1&topic=Example_Applications then everything that you need to run the datasetclient example (the front-end application to the custom dataset module, datasetmodule) will be installed, including a web server definition called "Custom DataSet". For the back-end, just copy the datasetmodule project files to a directory of your choosing, and then open/compile them using Delphi XE or higher. The biolife.xml file should be located in a subdirectory called "data" directly underneath the directory where the datasetmodule project resides, but you can also change this in the project in the SetupDataSet method. After you compile the datasetmodule project, start the EWB Web Server from the Programs menu. Once it is started, modify the configuration to change the port to 8080 under the Connections tab using the instructions in this link: http://www.elevatesoft.com/manual?action=viewtopic&id=ewb1&topic=Configuring_Server Then you should register the datasetmodule as a module using the Modules tab (same Configuration dialog). Once you have registered the module, then select it as the Custom Datasets Module on the Content tab (same Configuration dialog). In addition, make sure that the Content Folder setting is set to where you want to deploy your applications, such as the datasetclient example application that uses the datasetmodule module. The content folder can be anywhere, and doesn't have to have any relationship to the module location or the biolife XML data. In fact, you should never have that type of data reside within, or under, the content folder. The only thing that should be in the content folder is .js, ..html, .css, and image files. After you have done the above, click on Ok to close the Configuration dialog and then start the EWB Web Server again. Back in the EWB IDE, go into the Project/Options dialog for the datasetclient application and select the Deployment tab. Leave the deployment method as "Copy", and enter the destination path for deployment. This path should match the Content Folder setting defined for the EWB Web Server above. Click on Ok to close the Project Options dialog. Now, if you select Project/Compile from the main menu, and then Project/Deploy from the main menu, the datasetclient project should be compiled and then copied to the content folder for the EWB Web Server. Just make sure that before you run the datasetclient example, you select the "Custom DataSet" web server using the web server combo box on the main toolbar. You should then be able to hit the F9 key to run the datasetclient example in the IDE and see the data being loaded using the dataset module via the EWB Web Server. If you have any other questions, please let me know. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Friday, April 19, 2024 at 07:09 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |