none
how to open calendar new event window as normal window rather than pop up in sharepoint 2010 ?

    Question

  • as per my reqriement, when i create a new calendar event with workspace option i need to redirect to my custom page. here it is redirecting property but it is opening as a dialog box. so if i can open new event page as normal window my problem will be solved.

    Appreciate your help

    any idea ?


    suryakumarp
    Friday, May 13, 2011 6:51 PM

Answers

  • atlast i figured it out. we need to change in the calendar schema.xml file

    default it shows newMWS.aspx page. here u can give our custom page -----  CreateURL="Mycustompage.aspx">

    update the below filed with your new page.

      <Field ID="{08fc65f9-48eb-4e99-bd61-5946c439e691}" Type="CrossProjectLink" Name="WorkspaceLink" Format="EventList" DisplayName="$Resources:core,Workspace;" DisplayImage="mtgicon.gif" HeaderImage="mtgicnhd.gif" ClassInfo="Icon" Title="$Resources:core,Meeting_Workspace;" Filterable="TRUE" Sealed="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="WorkspaceLink" ShowInDisplayForm="FALSE" >
            <FieldRefs>
              <FieldRef Name="Workspace" RefType="LinkURL" CreateURL="Mycustompage.aspx">$Resources:core,Calendar_MeetingWorkspaceField_Desc;</FieldRef>
              <FieldRef Name="RecurrenceID" RefType="RecurrenceId" DisplayName="$Resources:core,Instance_ID;" />
              <FieldRef Name="EventType" RefType="EventType" />
              <FieldRef Name="UID" RefType="UID" />
            </FieldRefs>
          </Field>

    • Marked as answer by Wayne Fan Wednesday, May 18, 2011 8:40 AM
    Tuesday, May 17, 2011 5:19 PM

All replies

  • It is an option from the advanced settings for the list, but is seems that it is not working and the popup is displayed whatever you select.
    Friday, May 13, 2011 6:54 PM
  • i selected  Launch forms in a dialog? = No  in the Advanced settings.

    when i click on new event for calendar "All Events" view , it is opening as a normal page. but i have problem when i am in the "calender view".

    Calendar View - when i try to create a new event with workspace option and when i click on save button it is redirecting to

    http://w2msmossmgn02:33980/sites/P000309/_layouts/newMWS.aspx this page and opened as normal window.

    here iam trying to redirect to my custom page instead of newMWS.aspx page, still it is redirecting in the dialog box only.

     

    Thanks,

    Surya.


    suryakumarp
    Friday, May 13, 2011 7:49 PM
  • atlast i figured it out. we need to change in the calendar schema.xml file

    default it shows newMWS.aspx page. here u can give our custom page -----  CreateURL="Mycustompage.aspx">

    update the below filed with your new page.

      <Field ID="{08fc65f9-48eb-4e99-bd61-5946c439e691}" Type="CrossProjectLink" Name="WorkspaceLink" Format="EventList" DisplayName="$Resources:core,Workspace;" DisplayImage="mtgicon.gif" HeaderImage="mtgicnhd.gif" ClassInfo="Icon" Title="$Resources:core,Meeting_Workspace;" Filterable="TRUE" Sealed="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="WorkspaceLink" ShowInDisplayForm="FALSE" >
            <FieldRefs>
              <FieldRef Name="Workspace" RefType="LinkURL" CreateURL="Mycustompage.aspx">$Resources:core,Calendar_MeetingWorkspaceField_Desc;</FieldRef>
              <FieldRef Name="RecurrenceID" RefType="RecurrenceId" DisplayName="$Resources:core,Instance_ID;" />
              <FieldRef Name="EventType" RefType="EventType" />
              <FieldRef Name="UID" RefType="UID" />
            </FieldRefs>
          </Field>

    • Marked as answer by Wayne Fan Wednesday, May 18, 2011 8:40 AM
    Tuesday, May 17, 2011 5:19 PM