Duarte Nobrega
 

Manage Item Scheduling does not work

20

Aug

When “Manage item scheduling” doesn’t work, in a sharepoint list items or news pages , that are queried with a Content Query Webpart:

Work Around:

  1. Go to the Parent Content type page.
  2. Create a new property ("Add new site column") to your content type.
  3. Name the property Hidden (type yes/no checkbox). Make sure the property will be inherited by all content types.
    1. Name the property & choose type:
    2. Make sure the default value is "No", and that will be inherited:
  4. Create or use an existing date field (ex: Article Date)
  5. Add 2 new query filters to your CQWP (image below)
    1. AND ArticleDate is “less or equal than”
    2. AND Hidden equals No
  6. IMPORTANT: You might experience the problem that when you create the field Hidden, it will be empty for all existing items in the list. For that you can run a script in the SharePoint server to change a field value (see article “Change SharePoint List Field Value script”).

 

Duarte Nobrega schreef

Comments (0)

Duarte Nobrega

ISSUE: Add new Site does nothing -> "OK" button gray fixed but Metadata is lost

11

Oct

Problem description:

 

1. OK button gets grey:

In Sharepoint 2003, when you try to add the new site link to the “Sites beheren” list, the button turns grey and the page seems fozen due to an automatic security update.

In the official page to fix this problem does not mention a solution: http://support.microsoft.com/kb/934229

 

2. OK button fixed, but Metadata lost

Some blogs suggest changing the OK button, and I used that non supported fix.

The following fix:

 

<input type="button" value="         OK         " onclick="document.forms[0].submit()" />        

 

Meanwhile it was noticed that the data filled in some fields (pop ups and URL field types) is not saved when they create a new site or add a new site link.

 

 

Solution:

 

1. Open the following file with text editor:

 

   C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\[LCID]\SPSSITES\LISTS\SITESLST\NewForm.aspx

 

[LCID] - Sharepoint language pack that is beeing used

 

2. In the following code fragment comment the SPSWC:InputFormButtonAtBottom and add on top the code in red just like below:

 

 

<SPSWC:InputFormButtonSection runat="server">

 

<!-- Workaround for WIN2003SP2 issue: http://support.microsoft.com/kb/934229 -->

   <!-- NEW FIX: bd TT -->

 

      <input type="submit" name="ButtonOk" value="         OK         " onclick="ValidateNewForm();if (typeof  (Page_ClientValidate) == 'function') Page_ClientValidate(); document.forms[0].submit();" language="javascript"  id="ButtonOk" DisableOnPost="true" />&nbsp;

 

         <!-- <SPSWC:InputFormButtonAtBottom ID="ButtonOk" runat="server" TextLocId="Page_OkButton_Text"/> -->

<!-- End workaround -->

 

   <SPSWC:InputFormButtonAtBottom ID="ButtonCancel" runat="server" TextLocId="Page_CancelButton_Text" visible="false" />

</SPSWC:InputFormButtonSection>

 

 

Duarte Nobrega schreef

Comments (0)

Duarte Nobrega
Page 1 of 1 in the Sharepoint2003 category

Zoeken

Categorie

Archief


Sign In