Zum Hauptinhalt gehen

How to hide attachments from a service

Kommentare

4 Kommentare

  • Cam Barnard
    Hi Ali,

     

    Usually if you go into Geocortex Essentials Manager, edit the Map Service configuration, and head to Fields you can solve the problem there.

     

    Use the Add/Remove Fields option to change the default behavior that shows everything.

     

    Exclude all fields by default, then add only those you want to show up.

     

    Give it a try.

     

    Cam

     

     

     
    0
  • Ali VanSickle

    Thanks Cam!

    That is currently how I have it configured, but it doesn't seem to work. The attachements are pulled using the globalID field. I have this field set to not show and to not include in global search but it still shows:

     

    User-added image

     

    User-added image

     

     
    0
  • Permanently deleted user
    Hi Ali, 

     

    You could try some css. Add this to your viewer custom.css and see if that works. It will hide all your attachments in case you needed some visible. 

     

    div.view.FeatureAttachmentsProviderView.active  {

     

    display: none;

     

    }

     

    Thanks,

     

    Marion.

     

     

     
    0
  • Ali VanSickle

    Thanks Marion! 

    That worked like a charm!

    0

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