<ac:layout><ac:layout-section ac:type="single"><ac:layout-cell><p>How the Visual SQL Query Builder works in 10.1.5 - embedded in Data Explorer, auto-populated schema, no separate connection step.</p><p><span><strong><ac:link><ri:page ri:content-title="Technical Reference" /><ac:plain-text-link-body><![CDATA[Reference]]></ac:plain-text-link-body></ac:link></strong> &rarr; <strong><ac:link><ri:page ri:content-title="Platform Modules Reference" /><ac:plain-text-link-body><![CDATA[Modules]]></ac:plain-text-link-body></ac:link></strong> &rarr; <strong><ac:link><ri:page ri:content-title="Datasets Module Reference" /><ac:plain-text-link-body><![CDATA[Datasets]]></ac:plain-text-link-body></ac:link></strong> &rarr; <strong><ac:link><ri:page ri:content-title="Datasets Designer UI Reference" /><ac:plain-text-link-body><![CDATA[UI]]></ac:plain-text-link-body></ac:link></strong> &rarr; <strong><ac:link><ri:page ri:content-title="Datasets DBs Reference" /><ac:plain-text-link-body><![CDATA[DBs]]></ac:plain-text-link-body></ac:link></strong> &rarr; <strong><ac:link><ri:page ri:content-title="Visual SQL Query Builder Reference" /><ac:plain-text-link-body><![CDATA[Query Builder]]></ac:plain-text-link-body></ac:link></strong> &rarr; Visual SQL Query Builder (10.1.5 draft)</span></p><hr /></ac:layout-cell></ac:layout-section><ac:layout-section ac:type="single"><ac:layout-cell><ac:structured-macro ac:name="info" ac:schema-version="1"><ac:rich-text-body><p><strong>10.1.5 preview - work in progress.</strong> This page tracks the changes coming in FrameworX 10.1.5. The <ac:link><ri:page ri:content-title="Visual SQL Query Builder Reference" /><ac:plain-text-link-body><![CDATA[parent page]]></ac:plain-text-link-body></ac:link> describes the 10.1.4 behavior, which remains correct for current customers. Do not implement against the 10.1.5 model in this page until the release ships.</p></ac:rich-text-body></ac:structured-macro></ac:layout-cell></ac:layout-section><ac:layout-section ac:type="two_equal"><ac:layout-cell><p>In 10.1.5 the Visual Query Builder moves from a separate window into the Data Explorer workspace. The schema tree populates automatically from the configured Dataset DB - no Connect button, no second connection string. The visual canvas, column grid, and live SQL preview remain familiar to anyone who used the 10.1.4 builder.</p></ac:layout-cell><ac:layout-cell><p><ac:structured-macro ac:name="toc" ac:schema-version="1"><ac:parameter ac:name="maxLevel">3</ac:parameter><ac:parameter ac:name="style">none</ac:parameter></ac:structured-macro></p></ac:layout-cell></ac:layout-section><ac:layout-section ac:type="single"><ac:layout-cell><hr /><h2>What is new in 10.1.5</h2><ul><li><p><strong>Embedded inside Data Explorer.</strong> The builder lives as a sub-tab of <em>Data Explorer / SQL Queries</em>, alongside <em>Query Execution</em>. No separate window.</p></li><li><p><strong>Auto-populated schema.</strong> When you click the <em>Visual Query Builder</em> sub-tab, the schema tree fills automatically from the Dataset DB selected in the parent <em>SQL Queries</em> page. No Connect dialog, no provider picker, no second connection string to maintain.</p></li><li><p><strong>One connection, not two.</strong> The 10.1.4 builder asked for its own database connection separate from the Designer's Dataset DBs. In 10.1.5 the builder reads metadata through FrameworX's own data-access layer, so the DB you already configured in <em>Datasets / DBs</em> is the only place a connection is defined.</p></li><li><p><strong>Theme-aware chrome.</strong> Builder colors follow the active Designer theme - Light, Dark, and the rest of the FrameworX theme palette - rather than carrying a fixed look.</p></li><li><p><strong>Live SQL preview.</strong> The generated SQL appears in a read-only text pane below the visual canvas. Same real-time behavior as 10.1.4, just laid out vertically inside the embedded tab.</p></li></ul></ac:layout-cell></ac:layout-section><ac:layout-section ac:type="single"><ac:layout-cell><hr /><h2>How to open it</h2><ol><li><p>Open the Designer on your solution.</p></li><li><p>Navigate to <strong>Data Explorer / SQL Queries</strong>.</p></li><li><p>Pick the Dataset DB you want to query in the <em>Selected Database</em> area at the top of the page.</p></li><li><p>Click the <strong>Visual Query Builder</strong> sub-tab.</p></li></ol><p>The schema tree on the left populates with the tables and columns of the selected Dataset DB. Drag tables onto the canvas, draw joins between them, and the generated SQL updates live in the read-only pane underneath.</p></ac:layout-cell></ac:layout-section><ac:layout-section ac:type="single"><ac:layout-cell><hr /><h2>Behavioral changes from 10.1.4</h2><table><tbody><tr><th><p>Aspect</p></th><th><p>10.1.4</p></th><th><p>10.1.5</p></th></tr><tr><td><p>Where it runs</p></td><td><p>Separate window, opened by a button on <em>Datasets / DBs</em></p></td><td><p>Embedded sub-tab of <em>Data Explorer / SQL Queries</em></p></td></tr><tr><td><p>Database connection</p></td><td><p>Builder maintains its own connection string and provider picker</p></td><td><p>Reads metadata from the Dataset DB already configured in the solution</p></td></tr><tr><td><p>Initial action</p></td><td><p>Click <em>Connect</em>, choose provider, enter data source path</p></td><td><p>Click the sub-tab; schema appears automatically</p></td></tr><tr><td><p>Theme</p></td><td><p>Fixed look, independent of Designer theme</p></td><td><p>Follows the active Designer theme</p></td></tr><tr><td><p>SQL output</p></td><td><p>Generated SQL inside the builder window</p></td><td><p>Read-only SQL preview pane below the canvas in the embedded tab</p></td></tr></tbody></table><p>The visual canvas, column grid (Visible, Expression, Column Name, Sort Type, Sort Order, Aggregate, Grouping, Criteria, Or), and join semantics are unchanged from 10.1.4 - if you know the older builder, the working surface is the same.</p></ac:layout-cell></ac:layout-section><ac:layout-section ac:type="single"><ac:layout-cell><hr /><h2>Customizing queries with tag substitution</h2><p>The 10.1.4 pattern of using Client tags inside SQLStatement and WhereCondition still applies in 10.1.5 unchanged - see the <ac:link><ri:page ri:content-title="Visual SQL Query Builder Reference" /><ac:plain-text-link-body><![CDATA[parent reference page]]></ac:plain-text-link-body></ac:link> for the full description and examples. Nothing about tag substitution, SelectCommand, or the synchronized-property model changed in 10.1.5.</p></ac:layout-cell></ac:layout-section><ac:layout-section ac:type="single"><ac:layout-cell><hr /><h2>Preview limitations</h2><p>The 10.1.5 preview build has the following known limitations. They are tracked for the GA release.</p><ul><li><p>The schema tree initially loads a small fixed sample (Customers, Orders, Products) for end-to-end smoke testing. Real per-Dataset-DB schema discovery using the FrameworX Ado API replaces the sample before GA.</p></li><li><p>Some inner builder chrome (the docking panel header strip) keeps a fixed navy palette that does not flip under Dark themes. The query canvas and join lines do follow the theme correctly. The docking panel theming lands in a follow-up update.</p></li><li><p>Mid-session theme switches refresh the join-line colors live; some surrounding chrome may need the sub-tab to be reactivated to fully repaint.</p></li></ul></ac:layout-cell></ac:layout-section><ac:layout-section ac:type="single"><ac:layout-cell><hr /><h4>In this section...</h4><p><ac:structured-macro ac:name="pagetree" ac:schema-version="1"><ac:parameter ac:name="root"><ac:link><ri:page ri:content-title="@parent" /></ac:link></ac:parameter></ac:structured-macro></p><hr /></ac:layout-cell></ac:layout-section></ac:layout>