Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

WSSv3 Calendar

  Asked By: Hemali    Date: Mar 08    Category: Sharepoint    Views: 721

How or can you remove the option to let users create Recurring Events
and Workspaces?

We have a calendar created that will contain all the events relevant to
our IT department but we would like to remove the option to let users
create Recurring Events and Workspaces.
We don't even want to see the checkbox for it if possible.

Share: 

 

4 Answers Found

 
Answer #1    Answered By: Aakash Gavade     Answered On: Mar 08

In SharePoint 2003 I used a JavaScript on NewForm and EditForm to hide
Workspace option.

<script>
var myTags=document.getElementsByTagName("TH");
for (var i=0; i<myTags.length; i++)
{
if((myTags(i).innerText=="Workspace")||(myTags(i).innerText=="Workspace:"))
myTags(i).parentElement.style.display='none';
}
</script>

 
Answer #2    Answered By: Dara Hobbs     Answered On: Mar 08

I think that this form is established in the RenderingTemplates found in
the ..\12\TEMPLATE\CONTROLTEMPLATES\DefaultTemplates.ascx file. If you
create your own ASCX file with a RenderingTemplate with the same name
and store it in the root of CONTROLTEMPLATES, you can override the
default form. Course, I could be wrong and the form is generated
directly on the ASPX page.

 
Answer #3    Answered By: Abhinivesh Suvarna     Answered On: Mar 08

For those that are interested I found this solution:
http://www.sharepointu.com/forums/t/1548.aspx

1. Open SharePoint Designer 2007. Go to File | Open Site and connect to
SharePoint site.
2. Expand out Lists -> [List Name] -> open NewForm.aspx .
3. Highlight normal list form by clicking on it. This will select the entire web
part.
4. Right-click on selected web part, and choose Web Part Properties...
5. Expand [+] Layout, check option  for Hidden, click OK. ***NOTE: there is a
very good reason for this. SPD and SP can get supporting files out of sych, and
this is a good way to ensure that doesn't occur. Trust me - leave it there.
6. With web part still highlighted, hit the right-arrow key once. Hit Enter.
This creates some whitespace to insert
7. Go to File | Insert SharePoint Controls | Custom List Form...
8. Select your Calendar list, content type, and type of form to create  - in your
case a New Form. Click OK.
9. Remove the field for recurring  events. Save the page.

 
Answer #4    Answered By: Micheal Knight     Answered On: Mar 08

Problem is that this is a one off solution for just this page. There is
an unghosted page in the database that contains this customization for
just this one form. I was describing a more enterprise solution.

 
Didn't find what you were looking for? Find more on WSSv3 Calendar Or get search suggestion and latest updates.




Tagged: