Zum Hauptinhalt gehen

View a field, but do not allow editing

Kommentare

2 Kommentare

  • Permanently deleted user

    We'd like to add the ability for adding new feature attachments (images), but not enable editing. The HTML5 doesn't seem to work the same as silverlight. The silverlight viewer is restricted by the Output Fields under Functional for the feature service map service, while the html5 one allows editing even if no fields are listed and the * is removed. How do you restrict editing to feature attachments and specific fields in the HTML5 viewer?

    0
  • Permanently deleted user

    Hi Berend,

    You can use REST Manager to control which fields on a layer are editable or not, and the editor should respect this.

    Also, the "Create a feature" button is configured in the viewer configuration and it simply invokes the command it is configured to. If you don't mind getting your hands dirty with some JSON configuration, you can easily have this command call a custom command of your choice, which can then turn around and call the editing command.

    -Jason

     

    0

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