Skip to main content

ResultsTable Features with assigned geometries do not behave like regular Features

Comments

4 comments

  • Permanently deleted user
    Hi Sean, 

     

    In a case like that, I would start by logging or alerting the json from your featureset, eg. featureSet1.ToJson().  Then log or alert the json from a known working test (you mentioned "If I execute a QueryTask activity against a configured layer in my applicaiton and then do a Select Features activity, those features will center and zoom and show their details when clicked").  Compare the two featuresets and see if there is anything obviously different, like a missing spatial reference property.
    0
  • Tom Lenarcic
    Hello Sean:

     

     

    Did you ever get this resolved?
    0
  • Sean McClurkan
    I'm not sure. I've slept since then. I think i wound up creating actual features in a featureclass to use instead of trying to create them dynamically at runtime.
    0
  • Permanently deleted user
    I was just troubleshooting a coworker's workflow where features were not highlighting and the pushpin would not show up on hover for features from the SelectFeatures activity. In our case it was because when we queried the features, he was passing an "Out Spatial Reference" to the Query Task activity that wasn't set. Once I set it to a valid Spatial Reference, our highlights and pushpins showed up.

     

     

    Not sure if that applies to you as you're building your own feature set, but it may be worth checking how you're creating your geometries and seeing if they have a spatial reference defined.
    0

Please sign in to leave a comment.