Tag: SharePoint
-
How to make a field in a SharePoint Edit form readonly
Paul Galvin showed how to hide a field in a SharePoint. I wanted to use this code to make a field “read only” once a from has been submitted. Forgetting about DataSheet view (for now), we can put a Content Editor Webpart on the top of the EditFrom.aspx page (to add a CEWP to the…
-
How I created a “Copy to new item” functionality for a SharePoint list – Part 2
Second part. First Part can be found here. On the second page (NewForm.aspx), I grabbed out of the querystring the values for the source list item and the name of the list. I used this person’s query string parser. Then I used the following SOAP query : In the last three lines I changed the…
-
How I created a “Copy to new item” functionality for a SharePoint list – Part 1
I wanted to create a “copy to new item” functionality for a SharePoint list. Steps I came up with: The first thing I had to do was add a link to the context menu (I learned that it is called an ECB) and have it point to the NewForm.aspx. Once I got that, I could…
-
How to get into Web Part Page Maintenance mode
For when you screw up a CEWP with bad code, you can use the query string “contents=1” to remove the offending webpart.
-
How to add a webpart to a Sharepoint “NewForm.aspx”
I wanted to put a hidden CEWP on top of a standard SharePoint input form (you know when you click “NEW” too add an item to a list). The edit page was grayed out. I added to the querystring “NewForm.aspx?ToolPaneView=2” and I can add the CEWP to the top of the page. Once I added…
