Raba - Defend your code RSS 2.0
# Saturday, May 26, 2007

I've finally found some time to explore the nmf format and the AGX capabilities a little bit more than I used to read at the ESRI site.

In my office we made the first installation on production of the AGX in Israel and I'm pretty sure we are the first in the world.
One of the problems with being first - is the lack of knowledge and documentation, moreover this product (AGX 350) has many bugs.

despite all those cons I am very happy with this decision, as I wrote in my last post.

Today I will light your eyes with two properties I found, Visible & HideFromContents
Visible - is pretty straight forward, true - will show the layer on screen, the false - will hide it from your screen.
HideFromContents - is also straight forward but I didn't know it exist till today, this will decide whether your layer will be in the Table of Contents (TOC) or not.

I played a little bit for you - I hope those screen shots will help you to remember this post.

{Visible=true,HideFromContents=false} the layer(Bountiful_images) can be seen and can be managed by the TOC on the left.

{Visible=true,HideFromContents=true} the layer(Bountiful_images) can be seen but can't be managed by the TOC on the left (magic-layer).

{Visible=false,HideFromContents=true} there is a different layer on the screen than the layers above moreover you can't manage it using the TOC.

Pay attention that in the last (Visible = false, HideFromContent=true) you cannot see the layer at all, but you can find it in tools -> manage layers .
The problem is that you will never see this layer :). bug or feature, you decision.

Business logic as a bonus:
One of the customers came to me and told me they want to see a specific layer but stop users from managing (showing\hide) it.
To me it sounds stupid, but hey this is the customer decision, and it won't cost me a thing.

Saturday, May 26, 2007 1:22:19 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0] - Trackback

<June 2015>

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2015
Shani Raba
Sign In
Total Posts: 146
This Year: 0
This Month: 0
This Week: 0
Comments: 97
Cool Stuff
Add to Technorati Favorites
Pick a theme:
All Content © 2015, Shani Raba
DasBlog theme 'Business' created by Christoph De Baene (delarou)