Skip to main content

Hidden fields are visible

Comments

6 comments

  • Permanently deleted user

    Hi Julian,

    I'm assuming looking at info provided your using feature service.  If so, you control the fields your working with via the 'output' fields under the functional tab for the feature service in question.  Hopefully this is what your referencing to?

    Brad

    0
  • Permanently deleted user

    Hi Brad,

    No I'm using a Dynamic Map Service. And I control the fields using the Field Tab. Hopefully you have an answer.

    Julian.

    0
  • Permanently deleted user

    My reply is based off of the Essentials 3.8 Administrator Guide.

    Page 72: Visible: specifies whether or not a viewer should include the field when it displays a detailed listing of the data associated with a given feature

    But above that, by the NOTE, it says,

    All of the fields in your layers will be exposed through the REST API whether or not you add them to the site configuration through Manager

    So, "visible" only means "visible" within a table view of the feature or something.  The field is still visible via the REST API, ArcGIS Server API, and so forth.  If you don't want the field public, and don't need to access the field yourself, I would try leaving it out of the feature service definition in ArcGIS Server, if that's at all possible.  I hide fields in my services that neither I, nor the public, need.

    0
  • Permanently deleted user

    Hi Roger,

    So, "visible" only means "visible" within a table view of the feature or something.That is the problem. In the silverlight Viewer, within a table view the "invisible fields(visible = false) " are visible.

    I think the problem is caused because this layer is joined/linked with another table. Is that possible?

    And is there a solution for this problem?

    Thanks in advance,

    Julian

    0
  • Permanently deleted user

    Hi (Roger),

     

    This works:If you don't want the field public, and don't need to access the field yourself, I would try leaving it out of the feature service definition in ArcGIS Server, if that's at all possible.

     

    Julian

    0
  • Permanently deleted user

    One way I recommend to Geocortex users to hide fields is to create spatial views against ArcSDE. This assumes you are using ArcSDE of course, but the command line parameter is "sdetable -o create_view".  The command has parameter documentation when you run it without any additional parameters. Note you must include the Shape field for it to be considered spatial.  To hide fields, simply include only those fields you desire to be published against Geocortex.  This then creates a new feature class, which can be consumed in ArcMap.  It isn't really new data though, only a pointer to the original data source (Feature Class).  The main advantage of this technique is you have full control over the data, its presentation and field names.  Just be sure to update the spatial view if the source data changes in any structural way (like field names, data types or other schema changes).

    0

Please sign in to leave a comment.