RSS

Category Archives: Sharepoint List

How to change choice field “allow fill-in choice” default text ‘Specify your own value:’ to custom text?


  • Open default.master (found in the _catalogs\masterpages folder) in SharePoint Designer. 
  • Before the </HEAD> end tag I added the following js code:

<script type=”text/javascript”>
 function changeSpecifyOwnValue() {

  var node_list = document.getElementsByTagName(‘input’);
   
  for (var i = 0; i < node_list.length; i++) {
      var node = node_list[i ];  // NOTE: there is a space here after the i, if not a lightbulb was added… delete this
    
      if (((node.getAttribute(‘type’) == ‘radio’) && (node.getAttribute(‘value’) != ‘DropDownButton’)) || (node.getAttribute(‘type’) == ‘checkbox’)) {
          if (node.nextSibling.innerHTML==”Specify your own value:”) {
           node.nextSibling.innerHTML = “Other:”;
          }
      }
  }    

 }
</script>

After this I added the function above to be executed in the body onload, below is the sample usgae:

<BODY scroll=”yes” onload=”javascript:if (typeof(_spBodyOnLoadWrapper) != ‘undefined’) _spBodyOnLoadWrapper(); changeSpecifyOwnValue();”>

 

Working with large lists in Office SharePoint Server 2007


A Sharepoint single list should not have more than 2,000 items per list container. A container in this case means the root of the list, as well as any folders in the list — a folder is a container because other list items are stored within it. Maximum number of items supported in a list with recursive folders is 5 million items….(Content Source: http://technet.microsoft.com)

Here is  a white paper provided by  Microsoft. worth reading….Read/Download:Working with large lists in Office SharePoint Server 2007(White Paper)

 

Tags: , , , ,

When you try to attach a file in a custom form on the Web site in WSS 3.0- Error Message: “This form was customized not working with attachment”


When i tried to attach a file in custom list form(CustomNewForm.aspx) i got an error message :“This form was customized not working with attachment”

 This is a know issue. here is a smart workaround for this

  1. Download and install Infrastructure Update for Windows SharePoint Services 3.0 (KB951695)
  2. Then follow this article http://support.microsoft.com/kb/953271
  3. Voila!  it works  fine for me.
 

SLAM! SharePoint List Association Manager to define relationships (one to one, one to many, many to many)


Today i have seen an amazing stuff in codeplex which is very useful for developers who is struggling to define relationships (one to one, one to many, many to many) between SharePoint lists (or Content Types).

Here is a demo video  about SLAM..

Download the SLAM  from here

 
 

Tags: ,