Zum Hauptinhalt gehen

Query Tool Question

Kommentare

6 Kommentare

  • Permanently deleted user
    Has anyone come up with a solution for this? Having the same issue.
    0
  • Longguang Fan
    Hi Robert and Andrew,

     

    There is a setting in configuration file. In QueryBuilder module, by default, "numberOfSuggestions" is set to 10, you can change the number that you want to.

     

    Cheers

     

    Long
    0
  • Permanently deleted user
    Thanks Longguang. Where would I find this module?
    0
  • Longguang Fan
    Hi Andrew,

     

    The module is in shell configuration file (Desktop.json, Tablet.json, Handheld.json). You can find here: "C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\"your site name here"\Viewers\"your viewer name here"\VirtualDirectory\Resources\Config\Default"

     

    Cheers

     

    Long
    0
  • Permanently deleted user
    Long,

     

    We are attempting to do the same thing. However, when we cant find where "suggestions" tag is located. Is it something we need to add?

     

    {

     

            "moduleName": "QueryBuilder",

     

            "moduleType": "geocortex.essentialsHtmlViewer.mapping.modules.queryBuilder.QueryBuilderModule",

     

            "configuration": {},

     

            "views": [

     

              {

     

                "id": "SimpleQueryBuilderView",

     

                "viewModelId": "SimpleQueryBuilderViewModel",

     

                "iconUri": "Resources/Images/Icons/query-24.png",

     

                "type": "geocortex.essentialsHtmlViewer.mapping.modules.queryBuilder.SimpleQueryBuilderView",

     

                "markup": "Mapping/modules/QueryBuilder/SimpleQueryBuilderView.html",

     

                "region": "SimpleQueryBuilderContainerRegion",

     

                "visible": false,

     

                "title": "@language-querybuilder-simple-title",

     

                "configuration": {

     

                  "wildcard": "%",

     

                  "dateQueryFormat": "DATE '{0:yyyy-MM-dd HH:mm:ss}'",

     

                  "textComparisonQueryFormat": "LOWER({0}) LIKE LOWER({1})",

     

                  "numberToTextComparisonQueryFormat": "CAST({0} AS VARCHAR(50)) LIKE '{1}'",

     

                  "doesNotContainQueryFormat": "LOWER({0}) NOT LIKE LOWER({1})",

     

                  "allowDrawingsAsSpatialFilter": true,

     

                  "queryProviderSupportsTimeOfDay": false,

     

                  "mode": "query"

     

                }

     

    Thanks!

     

    Stephanie
    0
  • Longguang Fan
    Hi Stephaniie,

     

    Sorry, "numberOfSuggestions" setting should be in GVH 2.8, which will be released soon.

     

    Long
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.