I'm trying to make a model using the ModelBuilder. Everything is working properly, except the fact that I want to add the outputs to TOC with the specific layer name.
The problem is that in order to add an output to TOC (Table of Contents), the output should be marked as "add to display" and also as a Parameter at the same time.
Marking an output as a parameters, appears a saving directory option to the model dialogue box, which I don't want it to happen. I don't want to enable the final user to be able to edit the name or saving directory of the output. but I want the data to be displayed!
If I mark the "managed" option in addition to the "add to display" and "Parameter", the output will be added to the TOC with random name, ignoring the specific name.
Am I missing something?
I am not using any iterators.