Can you share your model and data?
It's now 2015 and this thread topic, along with its precursor, has no real solution. That's 11 years with no fix. A decade is a reasonable window for improvement and yet the geoprocessing tools still don't work as it should.
I added this to ArcGIS Idea today, March 6, 2015.
you can add a remove join to the model on your join out put with the result of what uou use the join for as a precondition, see attached'm hoping to find a way not to have the output set to table.field in the exported tables but haven't found it yey, if you find it please post
That's quite unfair of a response. I can assume you did not read this thread nor do you work much outside of the ESRI environment in databases.
It is the default because I join tables with identical field names all the time and the only way to tell which field I am referencing is by using the full name. Also, ObjectID, which I also use in queries, is identically named in both tables. Context would not make the name clear to anyone without the fully qualified name. Beside, computers know nothing of context and suck at ambiguity, unless a programmer, who has no idea what your join actually looks like, programs it with intelligence that matches your logic if you are allowed to input ambiguous data. Every time such logic has to be added the speed of the program decreases, sometimes significantly.Joins work wonderfully for me, but probably because I only use file geodatabases or SDE and not shapefiles or Excel. The Model Builder Environment can set outputs to be without the fully qualified name, which is necessary if you insist on being a dinosaur and using shapefiles. It is found in the Fields Environment settings in Model Builder. If you change that setting using the Geoprocessing > Environments menu that setting will become your default.
So much time has passed on this thread and I now sit in 10.1 with joined field names that will only 'Maintain Fully...'Is there a practical use for this? Why is it the default? The joins are still a mess and now Model Builder likes to lock itself. There's only one instance of ArcMap open but if I don't manually refresh the table views (by opening the tables from the TOC) it'll lock up on me.Could someone please tell me why you'd want your field name to be something like [TEMP_PIVOT_GROUPBYFID.FID_Buildings] instead of [FID_Buildings]? I'm at a loss as to how anyone who'd be doing a join in Model Builder wouldn't know the source tables nor could look at the inputs to Model Builder to figure them out. Why is this the default since 10? What big ESRI customer asked for this change and why does it persist?Enough ranting. Cheers to those that feel my pain.
OMG, I'm new to modelbuilder and I think I made a huge error. I used the JoinField tool instead of the AddJoin tool because I couldn't figure out why I couldn't do what I thought the AddJoin tool should have been able to do. So, now I can't seem to RemoveJoin -- what's a newbie to do?And thanks for all this other good stuff. I think I can set it up right now but it would be nice if the AddJoin worked correctly.New to ModelBuilder not New to ArcGIS; I just finally have a little time to play and get in trouble!:)
For those still banging their heads against the wall:I have a call into ESRI about this issue but I've made so headway for those that need a quick fix.On my ArcGIS 10 SP2 the 'Add Join' tool will always add fully qualified field names (aka alias, tablename.fieldname, tablename_fieldname) regardless of what the environment settings are in the Canvas view. If I right click on the model in the toolbox and got to model properties, then 'Maintain fully qualified field names' is unchecked - see attached. Running the model results in the tablename.fieldname outputs.Now if I run the model from ArcCatalog and on the parameters page look at the environment settings the 'Maintain fully...' is checked - see second attached. If I uncheck this box and run the model then the fields are the fieldnames without the tablename. This setting has to be manually changed each time the model is run.The two areas to set environment parameters do not respect eachother. I have also tried 10+ combinations of check/uncheck/save/apply/uncheck/save/validate/run/save in the Canvas view without anything working.This is the only way I can get 'Add join' to work the way I want it to in model builder 10.This is of course a huge pain as I can no longer step through models in the canvas view as I did so effortlessly in 9.3.1 but hopefully this helps anyone else experiencing my frustrations with model builder 10 and 'Add Join'. I'll update if ESRI Canada finds a solution for me.
Subject Re: "Export" a table in Modelbuilder Author Karl Brotzman Date Jun 19, 2007 Message Take a look at DataManagementTools -> General -> Merge. I've used it to clean up a file after three joins. If you double click the tool after you've added it to a model in the model builder, you'll see the "Field Map" at the bottom of the dialog. You can delete and rename fields there. Worked great for me. The tool accepts a single feature class as well as multiple. That's how I use it. The only setback I've had is with the persistence of the "Field Map". It was working great, but somehow the model reverted to the default or original Field Map which is all the fully qualified and mangled names. So, I had to retype the map. I tried without success to reproduce that problem.
I sure hope they marked it Critical!
I got back from ESRI:NIM069071 The environment setting to 'Maintain fully qualified field names' is not honored when performing an Add Join in Modelbuilder
Just a question: When you check/uncheck maintain fully qualified field names, is it an environment setting in your model, or in the arccatalog program or at the tool level because there is an overwriting sequence that goes: arccatlog > model > tool, with each environment setting "overwriting" the previous if the same 'option' is used.
Hi,Under geoprocessing environments you will find an option tocheck/uncheck "maintain fully qualified field names" or something to that degree. This will allow you to perform joins/remove joins without having to let ArcGIS/ModelBuilder find the fully qualified field name (e.g. fieldname not tablename.fieldname)
I too am frustrated with Model Builder in 10 (Build 2800). I consistently get an error that my join table is already joined. The troublesome part is that I don't know how to "unjoin" it, and feel I shouldn't have to within a model as that's inefficient (to say nothing of bad logic.) Between that and the fact that after you rebuild a join, you have to re-truncate your output fields from jointable1.Field1 to Field1, jointtable.Field2 to Field2. (examples) for every field, I am incredibly disappointed with the way it works now. This used to work in 9.3.1.
Hi,Would you be able to provide me with an exact reproducible case for the AddJoin problem you are seeing? I've been trying a number of things based on the information you have provided but so far have not seen the exact behavior you are describing.Please include the toolbox, model and a small dataset.Thanks,KenESRI Product Engineer - Geoprocessing
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.