Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm trying to update custom forms of SharePoint lists in a large amount of SharePoint 2010 subsites with powershell.

I'm not quite sure what the correct approach is. The form itself can be found as template.xsn in the Item Folder of the corresponding SharePoint list. Does the publish process of InfoPath more than change this file? I tested only copying the file and no errors happend. But this doesn't mean that no database inconsistencies occured. I'm not to keen on any misfortunes, that might happen later.

Now, my approach would simply be to copy the current custom form as file (Item\template.xsn) in the list of each subsite.

So now my question is; What is the best approach to update subsites with an old custom form with powershell? Can I use the approach described above?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.