Is there a way to label a layer using its file name or layer name (if I'd change it in Layers window TOC)? I tried some functions but I'm not good on that.
I have lots of shapes (lines) and it would be easy to identify them this way. Of course, this name could be a table attribute but I'm trying a alternative way (maybe more dynamic).