Question about searching through Elements.xml file programmatically.
-
31 iulie 2012 18:33
Hello,
I have an interesting question/scenario. I'm relatively new to this. I'm devloping a SharePoint deployment package solution through Visual Studio 2010 which builds the lists, site fields, and content types that the developers create through the SharePoint UI. I code the site fields, lists, and content types declaratively using .xml. As of now, in order for me to determine if I've built all the columns, I have to go through a long process of deploying the solution, then eye-balling the site fields on my development site and compare them with the ones that the developers created on their development site to make sure I got them all. Is there a way (maybe a console app) that I can grab all of the fields in a particular group, and then search through my Elements.xml by comparing display names to determine if I'm missing any fields? My apologies if that's confusing, I'd be happy to clarify anything. Thanks, Shaun
Toate mesajele
-
1 august 2012 02:58
Unfortunately there is nothing exists that does this. However you can write a console app like you mentioned or powershell to do this sort of comparison work.
-tom daly
-
10 august 2012 18:01
Hello Thomas,
Sorry about the delay in responding. That's what I've started doing is some comparison work on a console app. Take care, shaun