Hi all
The other day I was given the task of updating an InfoPath template part that was in use on a laptop, because a newer version of this template part was available.
Upon opening the InfoPath client, I saw this:
There were two template parts, and in this case they are named “TemplateGroup1” and “TemplateGroup2”. I had a new version for the “TemplateGroup1” template part. I clicked on “Add or Remove Custom Controls” and got this screen:
As you can see, the “TemplateGroup1” does not show up, which I thought was weird. So, I tried clicking on “Add” to just add the new version of the “TemplateGroup1”, but that gave me this error:
The custom control, <TemplateGroup1> (urn:schemas-microsoft-com:office:infopath:templategroup1:-myxsd-2009-11-22t19-43-32), is already installed. Remove the existing custom control, and then try installing again.
So, I was at a loss… I couldn’t remove the existing version, and I couldn’t upload a new version.
Finally, I discovered what had happened. The user has an entry in the registry like this:
The key “IPCustomControlsFolder” is placed in the “HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\InfoPath\Designer” path of the registry. All template parts you put into this folder are automatically added to the controls of InfoPath.
So I found that path, and deleted the “TemplateGroup1” template part, and everything was fine.
So, what I now know is, that there are two ways of adding new template parts to be used by InfoPath:
So if you ever have trouble removing a template parts from the custom controls section, look for the registry key.
-- eliasen
Remember Me
a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u
Theme design by Jelle Druyts
Pick a theme: BlogXP business calmBlue Candid Blue dasBlog dasblogger dasblueblog dasEmerald DirectionalRedux Discreet Blog Blue Elegante essence Just Html MadsSimple Mobile Mono Movable Radio Blue Movable Radio Heat nautica022 orangeCream Portal Project84 Project84Grass Slate Sound Waves Tricoleur useit.com Voidclass2
Powered by: newtelligence dasBlog 2.2.8279.16125
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2010, Jan Eliasen
E-mail