Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- InfoPath library throws NotImplementedException for XmlFormView.XmlForm.SaveAs method
- <InfoPath:XmlFormView ID="infoPathFormView" ShowHeader="false" Style="width: 100%;" runat="server" />
- infoPathFormView.SaveLocation = "http://localhost/MyFormLibrary";
- infoPathFormView.DataBind();
- if(infoPathFormView.XmlForm.New)
- {
- string fileName = Page.User.Identity.Name;
- infoPathFormView.XmlForm.SaveAs(fileName); // This line throws.
- }
- else
- {
- infoPathFormView.XmlForm.Save();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement