#
#			ITSV GmbH
#	CCDB - Command and Control Database
#
#	FILE:			dquerymfile_NOTEPAD.txt
#	DESCRIPTION:	DQUERY definition for DQUERY NOTEPAD
#					this query opens a data console for an interactive notepad
#
@querytitle			CCDB Notepad
@querydescription	interaktive Datenkonsole für ein CCDB-Notepad
@group				NOTEPADS
@attributenames		p1:notepadname:{{p1options}}
@p1options	{
	labeltext:		"Notepad-Name",
	typedesc:		"Name des Notepads, das geladen werden soll. Jedes Notepad hat einen Eintrag in CCTEXTFRAG mit type='CCDBNOTEPAD'",
	type:	{		structure:		"scalar.enum",
					vlistquery:		"select ident,ident,CONCAT(ident,' - ',SUBSTR(data,1,20),' ...') from CCTEXTFRAG where type='CCDBNOTEPAD'"	}
					}
@querytype			showview
@view				dataconsole
@title				CCDB-Notepad
@consolename		CCDBNOTEPAD