-
Setting read only fields on an Editform.aspx page
Posted on August 17th, 2009 No commentsSo I was working on a proof of concept assignment that was relatively simple, but thinking about it there was an inherent security issue. The idea for this Sharepoint site is to have a list where someone would register for a research topic. They only get to choose 1 topic. I was going to go about it in a simple way since it’s a POC after all, so it’s just a 2 list solution with a workflow.
All the research topics are entered on one list, and users will just add their name to the desired topic and save the item back to the list, where Ill do some workflow things and remove it from the list of available topics. Since users have edit rights, I removed the toolbar so they can’t delete it on my custom EditForm.aspx page. The big security hoop is them changing the actual content of the topic and or description.
This is where my simple solution comes into play. The EditForm.aspx page renders code that looks like this for the Description field.
Simply change the ControlMode from Edit to Display, and you have a Read Only field on your Edit page. No jQuery, Javascript, or additional CSS required.
Plurk This Post
Buzz This Post
Delicious
Digg This Post Stumble This Post -
Great no code solutions
Posted on April 3rd, 2009 No commentsThis week Laura Rodgers and Woody Windischman published a couple great blog articles for no code solutions for Sharepoint. These are basic yet highly usable solutions for a drop box for users to upload files that others can’t get access to and a great way to expose libraries (or lists) using the Sharepoint web services. I’ve gone through both of these articles in my test site and all I can say is WOW!
I love seeing solutions like this because I am a horrible code writer. So Laura and Woody, keep these great ideas coming for all the non-developers out there. We appreciate and thank you for your efforts.
I Love the SiteData.asmx Web Service
Using legacy FrontPage functionality in SharePoint and SharePoint Designer to create a file “drop box”
Plurk This Post
Buzz This Post
Delicious
Digg This Post Stumble This Post


