Hoppa till huvudinnehållet

Set Maximum Number of Records Returned for Query Builder

Kommentarer

2 kommentarer

  • Olivia Bang Brinck

    Bump! This should definitely be something which can be set in the components options menu. 

    As it is now, we have to encourage costumers to edit this directly in the app-.json, as a max of 500 is not sufficient in most cases. I do not think that it is best practice as not all our customers feel comfortable configuring .json-code at this level.  I am afraid that this workaround will at some point lead to issues

    3
  • Bart Middelburg

    Agreed, that Web by default adds the Result Record Count to the request could potentially lead to issue with requests made to endpoint when Distinct Values are obtained)

    (ESRI bug BUG-000152599: Performing a query request from REST endpoint fails when the Return Distinct Values parameter is set as true, and the Result Offset, Result Record Count parameters are added. )

    Therefore maybe it would be a good option to by default honour the max record count defined by the rest endpoint of the service. (in other words; leave Result Record Count Empty).

    Or another option would be to have the option to specify maxResults as -1 (as argument for identify) or so, which could result in not adding the Result Records Count and using the records returned specified in the Endpoint.

     

    [ 
      { 
        "name": "sketching.capture-geometry", 
        "arguments": { 
          "geometryType": [ 
            "point", 
            "extent" 
          ] 
        } 
      }, 
      { 
        "name": "tasks.identify", 
        "arguments": { 
          "maxResults": 500 
        } 
      }, 
      "results.display", 
      "charts.display", 
      "kpi.display" 
    ]
    

     

    0

Du måste logga in om du vill lämna en kommentar.