S
shawnZ
I have a submit button that submits to sharepoint even if the form already
exists. Meaning when I go in and open a page I can edit it a change it and
submit it again (I do not want to overright it - I want it posted
separately). I found some code at
http://www.sharepointu.com/forums/m_7453/mpage_2/tm.htm However, when I
implement this I get the following errors:
'undefined' is null or not an object at (mypage.FileName = fileStr
Some of the code is shown below:
var mypage = XDocument.DataAdapters["Submit Adoption"];
mypage.FileName = fileStr;
mypage.FolderURL = myLocation;
mypage.Submit();
Can someone please explain what I am doing wrong?
exists. Meaning when I go in and open a page I can edit it a change it and
submit it again (I do not want to overright it - I want it posted
separately). I found some code at
http://www.sharepointu.com/forums/m_7453/mpage_2/tm.htm However, when I
implement this I get the following errors:
'undefined' is null or not an object at (mypage.FileName = fileStr
Some of the code is shown below:
var mypage = XDocument.DataAdapters["Submit Adoption"];
mypage.FileName = fileStr;
mypage.FolderURL = myLocation;
mypage.Submit();
Can someone please explain what I am doing wrong?