Local Geodatabase Issues

2223
1
03-18-2016 02:21 PM
RobertJohnson5
New Contributor

I've modified the Quick Report app to work with a local geodatabase using code from the Local Geodatabase Editing sample inserted into a new page in the app. That part works great, but when I tried to build in a geodatabase sync function that runs when the app initializes, it broke my download piece from the feature service to the local geodatabase.

Unfortunately, I don't seem to be getting any sort of error messages that would point me towards a solution. The data download just stopped working.

Any suggestions or advice would be greatly appreciated.

0 Kudos
1 Reply
HannahFerrier
Regular Contributor

Can I recommend that you use console logs? You can enter console logs anywhere in your QML code to give you more information on what is happening in your code and if your values are correct. For example:

function f(a, b) {

  console.log("a is ", a, "b is ", b);

}

When you open your project in Qt Creator and then use the AppStudio Run tool, all of your console logs will be printed in the console output in Qt Creator.

See here for more information: Debugging QML Applications | Qt 5.6

Hope this helps,

Hannah

0 Kudos