Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Where does a datasource file go?

    I'm confused as to where to place my XML file to be used as a static datasource. I'm assuming the "DataSource.setDataUrl()" method is using the base app URL as the starting point looking for the path specified in the method, but where do I put my XML file in my project to get it onto that path? I don't see this explained anywhere (frustratingly not explained in any of the showcase examples either).

    #2
    Be sure to read the QuickStart Guide and look at the sample projects - this is both explained and demonstrated in multiple places.

    .ds.xml files are placed in a configurable directory server-side. You can configure the directory in server.properties; it's totally unrelated to setDataUrl.

    Comment


      #3
      Thank you, I took a look at those (especially the sample project code) and got my issue resolved. Appreciate the quick response.

      Comment

      Working...
      X