SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
    
How were the forms deployed originally? Powershell, a WSP, console app, something else? Just curious if you can leverage what you already have as a starting point to make it meet your requirements. – SkinnyE Mar 18 at 15:38

Do the forms contain any other references, such as lookup lists, or SharePoint data connections ? Within the contents of the form (InfoPath), these might need to be verified/checked - when the InfoPath client does the 'publish'.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.