Hallo all,
Whats the best practice to publish a form to be connected to
a Content Type, declared on Content Type
Hub?
Somehow this whole admin-approved stuff applies only to
browser-enabled forms, but we have now concluded it a feature too buggy and sensitive by
Microsoft to be used in productive environment, at least for a complex form like mine. So we go back to
Filler-only-Form. To my surprise I run into other difficulties...
1. I configure the content type on the hub
2. I publish the form to that content type, the xsn-file lies in a document library "FormServerTemplates" on the hub
3. when I go into advanced setting of that content type it refers to "/FormServerTemplates/mytemplate.xsn" (relatvie path, not absolute!)
4. then I republish the content type and run the subscriber job
5. then the funny stuff begins. In my target library, that I have this CT set to be used, in advanced settings I can see, it also refers to that "same" relative path, but ofo course, there isn't any form template, so I cannot create a new form.
6. so I go back to the Hub Content Type and upload the template into the CT itself from, using the file in that document library I mentioned in 2.
7. republish and run subscriber job again
8. back in my target library it now says "mytemplate.xsn" in advanced settings.
9. I can successfully create a document and save it back to that form library and cannot see any errors.
10. If I want to relink my form using the library's repair.aspx-View it would relink my form not to the current CT's setting, but to an XSN-File in that library. Instead it should point to ".../libraryname/Forms/CTname/myTemplate.xsn"
Why do I relink? Well Typically we go productive with real data, but with a "close to final, but beta-form". When I actually go final, I would relink the beta-forms, since they shall live on.
I have not found any other way to use the content type mechanism with InfoPath-Forms. I don't understand why I cannot use the solution way, as it is practiced with browser-enabled admin approved forms. In the end I need to use my forms in various different site collections, how can achieve this, other than what I described?
I appreciate any thoughts on this very much.