sharepoint

problem opening sitecollection locally sharepoint

Hi, I have created a sitecollection and in AAM I have made following settings for my sitecollection at port 80,name of sitecollection is VSMOSS http://VSMOSS default(zone) http://vsmos.Ttl.com http://vsmoss.Ttl.com default(zone) http://vsmoss.Ttl.com http://vsmoss.com default(zone) http://vsmoss.Ttl.com Bu...

Is it possible to configure a calendar view in SharePoint to list folders instead of files?

Does anyone know if it's possible to display items on a calendar view (on a document library) in SharePoint based on properties of a folder (which is a custom content type in itself) rather than for the files in the document library. For example: Folder1 Expires=20/4/2010 Folder2 Expires=21/4/2010 For these folders, there should be tw...

Sharepoint custom page Full postback with SPGridVIew depite the presence of update panel

Hi all I have a custom sharepoint aspx page that has a dropdownlist and a SPGridView. I put the dropdownlist inside an update panel so when the selected index changes the page does not refresh. It worked fine till I added a SPGridVew to the page with an ObjectDataSource as a datasource for it. after I added the SPGridView the page mad...

Sharepoint: Combining Javascript files stored in "Style Library"?

For the sake of client-side performance, it's best to minimize the number HTTP requests to load a page. Is it possible to combine the contents of all Javascript files stored in the "Style Library" such that the client only has to make one request instead traditionally, a request for each Javascript file? ...

How to add a column to SharePoint document library that is based on a document property

I am trying to map built-in Word document properties to Sharepoint columns. For example Word has property called Total Editing Time. How would i go about doing this in Sharepoint (or more specifically SP2010)? ...

How to default to a datasheet view

How to setup Sharepoint to default to a datasheet view for a particular list? ...

SharePoint Lookup Field 20 Item JS error

Hi Everyone, I've got an issue with SharePoint Server 2007 SP1 which seems to be documented in various forms, but I haven't been able to find an answer to my seemingly simpler question. http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/040533d2-c738-4ac2-b2d6-65a1602fa2d1 Essentially, we have a form with a l...

How do I manage permissions on multiple items in SharePoint 2007?

I'm relatively new to SharePoint and am trying to put a bunch of Word files (that were on our network file server) into SharePoint. We have set up a document library that, by default, gives everyone access to everything. This is the desired top-level permission set because most items will work well this way. The problem is that I hav...

How to Integrate SharePoint 2007/2010 and Google Apps?

Hello All, My (smaller) company has an existing Google Apps Deployment, used for E-Mail / Calendar, etc. I'm looking into a SharePoint setup (2010 most likely). One of the best features is that new events are added to one's Outlook Calendar, e-mails can be sent automatically, etc. Naturally, this works best out-of-the-box with Exchange...

empty sharepoint user profile property throw an exception

I have a user profile property. user not assigned any value that property. If I use below code. It is thorwing exception " object reference not set to an instance of an object " userprof["OptOut"].ToString() I tried all types like if (userprof["OptOut"] != null) OR if(userprof["OptOut"].Value != null) nothing worked out...

Sharepoint how to get a list of Sharepoint specific fields/columns

Hi all: I have a list of fields/columns that comprises of Sharepoint specific fields/columns, my own custom fields/columns, and a bunch of custom fields/columns created by someone else (which I dont know what they are yet). My goal is to get the list of the fields/columnns created by that someone else. My first hurdle lies in how to t...

Is it possible to cancel a workflow activity in the MethodInvoking event handler?

I have a SharePoint workflow with a SendEmail activity. I use the MethodInvoking event handler to set the To property. However, sometimes the workflow should not try to send an e-mail, because there is no e-mail address. I can detect such a condition in the MethodInvoking event handler. Is it possible to skip the SendEmail activity and ...

Gridview sort has permission problem

Hi all I have a old question about permisson. I know I can use the SPSecurity to run unser a special account, but in this case, the situation is something different. Here is the situation: I make a web part with a GridView and a SqlDatasource on it. This GridView would display some data from a SQL Server. Users have no permission to ac...

Sharepoint SPGridView filtering with SPDatasource as datasource

Hi all I have SPGridView with a SPDatasource as a datasource. I want to know how to implement filtering in this case. thanks ...

Adding an existing site column to a custom list

I think I'm going mad - this seemed like an easy thing to do but I can't find any info on it at all. I have created a Custom List and added 4 columns to it. Created By and Modified By are already in the list but hidden from the view. I want to add a Date Modified column (which is a built in field) to this Custom List. How do I do thi...

can we access sharepoint list items through object model when current login user have read permissions?

Hi all, iam using sharepoint object model to access the sharepoint list items.when iam login to the site with fullcontrol permission it is working fine.but when iam login with read permission(user) it is not working. please tell me can we access the list items with read permission user through object model. ...

Problem in SharePoint Object model when accessing the sharepoint list items?

just i wrote using (SPSite site = SPContext.Current.Site) { using (SPWeb web = site.OpenWeb()) { //SPList lst = web.Lists["ManagerInfo"]; SPList lst = web.Lists[strlist]; SPQuery getUserNameQuery = new...

Hide my new menu in some document library

I have written a feature(Site scoped) that adds custom menu items to the New Menu. it will create new documents inside the document library. Below are the sample entries in Feature and Element manifest file <?xml version="1.0" encoding="utf-8" ?> <Feature Id="59bba8e7-0cfc-46e3-9285-4597f8085e76" Title="My Custom Menus" Scope="Site" x...

Sharepoint: Redirect user to default site

Is it possible to set a default site for a group of users in Sharepoint and have the main default page redirect them to the sub site? ...

Make SharePoint 2007 List View read-only

I need to deploy a new List View for the standard List View Web Part in MOSS 2007 via the object model (the list already exists, a new view should be added). I need and want to make this list view read-only. This is because saving changes to the view would corrupt modifications made to Header/Footer. How can I do that via the object mod...