Skip to main content
                                                      
Home
TechNet
Discussions
Resources
  

SharePoint User Group - India > TechNet
Making Uneditable Columns in a sharepoint list
So, here i am with my first topic that is
Creating Uneditable Columns.
Earlier i was working on another cool stuff, but that time a problem i found evertime how to create uneditable columns in a list as readonly columns are hard to create, it can be done only by programming and more over assemblly including in the project.Man what a terrible thing it was to do,
so here is a cool thing which i did.
 
NOTE:This is only sounds logicall when you not allow anyone to edit that column using spreadsheet,as i am not creating readonly field.
 
So,Suppose my list is
"ProjectDetails" in that i have "EditForm.aspx".
 
 
Now just what we have to do is, right click and go to the view source and look for the id of the column input field u like to make uneditable
 
and just below where the webpart appears.
 
 
in the script put this simple script :
 
 
<script type="text/javascript">
document.getElementByID("Enter ID of The Column").disabled ="true";
</script>
 
That was it..
 
Need any help:
 
BING LIKE SEARCH IN SHAREPOINT WITH KEYWORDS SUGGESTION
Recently i quit the job and free at home so in between i was doing some r n d so found something very cool to do,
 
I was onto creating a search base portal site template.
in that i have created some lists which contains my data to search for and enetered data in that ,which i took from data in excel sheet...
 
Now the target which i had was :
 
Search should be unambiquos, and solution should be assembly free.
 
So i try to used Basic webparts and play with them along with my weapons i.e javascript to call sharepoint "webservices","Jquery" and "CSS".
 
Now these are the things which i did which sounds to me very exciting:
 
1)Making Uneditable  Columns using javascript.
2)using Search Box,Search core results and search paging.
3)Showing HTML in a Calculated Field Column.
4)Run Javascript as well as Jquery in Calculated Column.
5)Way to  Create  Bing Like Look and Feel for search page.
6)Adding Search Keywords inleelisence as in google and bing,taking keywords from a sharepoint list.
7)Modifying XSLT of search core results to modify the appearing properties and add new manage metadata properties.
 
 
So as i am free and stuck with some personall issues and at home these days "No More Job" i thought to write some blogs on my research, so one by one i discuss each of them so lets share them. 
Sharepoint Object Model 2010,Ecma Script.
It is very exciting for me to work on this,i have develloped three application till now on sharepoint 2010. one is sharepoint team status 2010,leave application,timesheet application and the best thing is that all of mine applications are assemblly free...ohhh no need of dlls,in my next blog i will post the wsp as well as code for my application... Really ecma script and object model change the way of devellopment,and sharepoint 2010 designer is as kewl as it was supposed to be,it took me very less effort to create my first work flow with it..
Infopath Workflow
http://weblog.vb-tech.com/nick/archive/2007/02/25/2207.aspx
WWW - Warm Welcome, Workspace 2010

Wondering! about this warm welcome to Workspace 2010? Yes, It’s the New Space in the Microsoft’s Office Applications, officially named as “Microsoft® SharePoint Workspace 2010”.

Its a successor to the Microsoft Office Groove 2007. Nevertheless, you can have Two-In-One i.e., both New “SharePoint Workspace” as well as old Groove as “Classical Workspace”. 

For More info ...

More to come....

Regards,

Venkat.KL

[Venkatanarasimha K.L]

A sneak peek into Ribbon Customization in Windows® SharePoint® Services “14” / Microsoft® SharePoint® Server 2010

Hi,

Here is a link to a sneek peek into SharePoint 2010 Ribbon Feature.

A sneak peek into Ribbon Customization in Windows® SharePoint® Services “14” / Microsoft® SharePoint® Server 2010

 

(Adding a Button for example)

 The Ribbon which is already there in other Office 2007 Products is now available for SharePoint 2010.  In general, a Ribbon is a device that presents commands organized into a set of tabs. The tabs on the Ribbon display the commands that are most relevant for each of the task areas in the applications.  The Ribbon is a context sensitive and configurable.  The Ribbon is added in the UI (user interface). One can extend by using Feature infrastructure with a combination of XML and ECMAScript (JavaScript, JScript) and finally it can be deployed by any of the 3 ways;

More..

 

(Removing a Added Button Example)

Once a button is added on to the SharePoint 2010 Ribbon, there could be a scenario to remove. Lets see, how to do that.  It is as simple as;

  • Define the location of the button to be removed.
  • Use HideCustomAction element

more..

Regards,

Venkat.KL

[Venkatanarasimha K.L]

six pillars of moss
http://www.cmswire.com/cms/cms-reviews/sharepoint-2007-review-six-pillars-of-moss-000922.php
Understanding Paths in MOSS, .ddf files, manifest.xml files, and elements.xml files
Understanding the various MOSS file paths can be a bit frustrating at times. Here's my cheatsheet: Package.ddf: The ddf directives specify the path to the physical files to be copied to the .cab/.wsp file. .Set DestinationDir sets the target location within the .cab file (like a folder); all other paths are relative to the file system location of the .ddf file itself. Manifest.xml: Instructs SharePoint where to deploy the files held in the cabinet. File paths depend on the containing XML element: assembly paths are relative to the target /bin directory, TemplateFiles are relative to the 12-hive's TEMPLATE directory, DwpFiles are relative to the wwwroot\wss\VirtualDirectories\wpcatalog directory, and FeatureManifests and Resources are both relative to the 12-hive's TEMPLATE\FEATURES directory. Feature.xml: ElementFile locations are relative to the directory structure where the feature is installed (eg. as specified in Manfiest.xml) Elements.xml (via Feature.xml): Module URLs are targets within MOSS; File URLs are relative to the Module URL This list is a work in progress--your feedback is appreciated! By, Michael Hanes
Using Disposable Windows SharePoint Services Objects
http://msdn.microsoft.com/en-us/library/aa973248.aspx
Compare WSS vs. MOSS
Here is the great link about WSS 3.0 and MOSS 2007 comparisions:
 
1 - 10 Next

 ‭(Hidden)‬ Admin Links