Hello all,
Given a file geodatabase containing a mosaic dataset, I have added and populated fields using arcpy functionality. Now, I am setting the mosaic dataset properties, but there doesn't appear to be any way to make the custom fields "allowed". There is no entry to set this property in the Set Mosaic Properties dialog in Model Builder.
Is this not supported through automation?
Cheers,
Solved! Go to Solution.
I believe I have solved my problem.
This order doesn't work:
But this order does:
I assume running the Set Mosaic Properties tool for the first time will simply make all fields that exist in the mosaic dataset "allowable" for querying. Adding the fields after having done that, doesn't update the property. And, it appears that subsequent invocations of Set Mosaic Properties doesn't either. I assume the tool recognizes whether it's ever been set previously and, if it was, it doesn't change it.
Anyway, this seems to have taken care of my problem. Hopefully, the info is of use to someone else.
Cheers!
for reference for others
Set Mosaic Dataset Properties (Data Management)—ArcGIS Pro | Documentation
Retired?
I don't see anything in the documentation indicating that. Is there a replacement?
That is my status
I believe I have solved my problem.
This order doesn't work:
But this order does:
I assume running the Set Mosaic Properties tool for the first time will simply make all fields that exist in the mosaic dataset "allowable" for querying. Adding the fields after having done that, doesn't update the property. And, it appears that subsequent invocations of Set Mosaic Properties doesn't either. I assume the tool recognizes whether it's ever been set previously and, if it was, it doesn't change it.
Anyway, this seems to have taken care of my problem. Hopefully, the info is of use to someone else.
Cheers!