I have found many alternatives to open InfoPath form into new window, one of them would be to take InfoPath form link URL and put same URL into summary link web part or page viewer web part.
Reference Link:
http://www.infopathdev.com/forums/p/10464/37554.aspx
Monday, July 20, 2009
Error while updating SharePoint list, “The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again”
This error "The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again" is very common for beginners SharePoint developer, who start developing and digging into SharePoint object model, it’s coming while updating SharePoint list, the cause of error is due to security rights, if we make web.AllowUnsafeUpdates = true and then update the SharePoint list then we won’t get above error.
Sample Code:
Web.AllowUnsafeUpdates = true;
item["Title"]=”Sample”;
item.Update();
Happy Coding !!
Sample Code:
Web.AllowUnsafeUpdates = true;
item["Title"]=”Sample”;
item.Update();
Happy Coding !!
Labels:
and try your operation again,
list item update,
MOSS 2007,
Personal Experience,
refresh the page,
SharePoint,
SharePoint List,
SharePoint Object Model,
The security validation for this page is invalid. Click Back in your Web browser,
web.AllowUnsafeUpdates
Error while updating list items "Cannot complete this action. Please try again."
I was getting error while updating list items; after looking into each code line by line, I have found that error comes due to incorrect syntax near CAML query, I feel that SharePoint didn’t give us good user friendly error message to debug into our code. After making correction, my code work well.
Enjoy!!
Enjoy!!
How to give intelligence into feature XML file
One day I was creating my feature file into solution package, at that time I saw that I didn’t get intelligence of all elements and attribute into my file and I have found that by adding below schema file, we will be having intelligence in any XML file. Though it’s very small things, but I thought to share with you.
Schema file:
"C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML\wss.xsd"
Schema file:
"C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML\wss.xsd"
Error while deploying solution “This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application”
I was getting error while deploying solution through STSADM command, error was “This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application”
I have figured out that it’s giving me problem because of URL parameter into deploysolution STSADM command, after removing it from command, my solution package was working fine.
Reference Link:
http://snahta.blogspot.com/2008/08/this-solution-contains-no-resources.html
I have figured out that it’s giving me problem because of URL parameter into deploysolution STSADM command, after removing it from command, my solution package was working fine.
Reference Link:
http://snahta.blogspot.com/2008/08/this-solution-contains-no-resources.html
Subscribe to:
Posts (Atom)