AnsweredAssumed Answered

Generate Geodatabase

Question asked by jay.kapalczynski on Jan 6, 2020
Latest reply on Jan 8, 2020 by jay.kapalczynski

I am using the template example in appstudio to test downloading a geodatabase.  Its working as it seems it should but I have a question that maybe someone can help answer

 

In the example it is setting up some Geodatabase Parameters.  One of these is the Bounding box that the user specifies and as such all features within this box are downloaded to the Geodatabase.

 

My question.  Can I add w where clause anywhere in there?

// create the generate geodatabase parameters
GenerateGeodatabaseParameters {
    id: generateParameters
    extent: generateExtent
    outSpatialReference: SpatialReference.createWebMercator()
    returnAttachments: false
}

 

 

I tried this but getting errors...

 

QueryParameters {
    id: params
    whereClause: "created_user = 'Law'"
}

// create the generate geodatabase parameters
GenerateGeodatabaseParameters {
    id: generateParameters
    extent: generateExtent
    outSpatialReference: SpatialReference.createWebMercator()
    returnAttachments: false
    
    QueryParameters: params
}

Outcomes