Wappler Version: 5.8.2
Operating System: Windows 11
Server: Capacitor
Expected behavior
Custom Query dialog should show after clicking the Build Query
button
Actual behavior
A Target Invalid - You have to specify Remote Target in Project Options and Activate it first
error is thrown.
[2023-11-16 09:32:18.940] CALL NW window: file:///C:/Users/Keith/AppData/Local/Wappler/resources/app/Shared/DMXzone/dmxAppCreator/UI/commands/dmxDatabaseCustomQuery.htm?theme=dark&app=true&noinit=true
[2023-11-16 09:32:19.113] NW PRELOAD script ....
[2023-11-16 09:32:19.114] IS_BETA=false
[2023-11-16 09:32:19.254] initUI - Database Custom Query
[2023-11-16 09:32:19.254] args= {
property: {
name: 'defineQuery',
optionName: 'sql',
title: 'Build Query',
type: 'button',
required: true,
command: 'dmxDatabaseCustomQuery',
commandNameParameter: 'databaseAction',
dialogTitle: 'Database Custom Query',
dialogType: 'databaseCustomQuery',
dialogWidth: 950,
dialogHeight: 600,
value: '',
actionType: 'capacitor_sqlite_custom_query',
actionData: {
name: 'customquery1',
module: 'Capacitor.sqlite',
action: 'custom',
options: [Object],
output: true,
actionChanged: true,
linkFiles: [Array]
},
allValues: [],
_fieldName: 'defineQuery'
},
serverType: 'app',
dialogTitle: 'Database Custom Query',
dialogType: 'databaseCustomQuery',
dialogWidth: 950,
dialogHeight: 600,
data: {
actionList: { settings: [Object], meta: [Object], exec: [Object] },
basePath: '',
isParentRepeat: null,
serverType: 'app'
},
action: 'new'
}
[2023-11-16 09:32:19.258] START inspectConnectionFile, fileName=brightyardnew, siteName=undefined, target=undefined, CURRENT_SERVER_TYPE=app
[2023-11-16 09:32:19.259] initLayout
[2023-11-16 09:32:19.304] START getConnectionSchema ...
How to reproduce
Create an App Flow and add Capacitor SQLite Custom Query action, then click Build Query