wss

Sharepoint development using Visual Studio Express?

橙三吉。 提交于 2019-12-05 06:25:09
问题 Having spent the past few weeks familiarising myself with WSS 3.0 I finally want to get around to doing some Sharepoint development. I have Visual Studio Express installed on my Sharepoint server, but when I try to install the "WSS 3.0 Tools: Visual Studio Extensions" from Microsoft it tells me that I don't have Visual Studio installed. A quick check to the pre-reqs on the download site tell me that this extension only applies to the Standard, Professional, or Team editions. So, two questions

SharePoint list CAML query using CONTAINS

丶灬走出姿态 提交于 2019-12-04 23:56:40
I'm trying to query a SharePoint list using the following CAML query in a webpart. I have tested the query in U2U CAML Query Builder and Stramit CAML Viewer and it works fine, only returning the matching records, but when I use it in my webpart it return all list items. It is driving me crazyyyyy. Here is the code: string camlQuery = string.Format(@"<Query><Where><Contains><FieldRef Name='Title' /><Value Type='Text'>2</Value></Contains></Where></Query>"); SPQuery query = new SPQuery(); query.Query = camlQuery; SPListItemCollection items = Articles.GetItems(query); grid.DataSource = items

Accessing SharePoint content (list) from a WCF service

自闭症网瘾萝莉.ら 提交于 2019-12-04 19:28:56
I've written a WCF service which tries to read the list items from a particular list in SharePoint. For testing purposes I run the WCF service using Visual Studio ASP.Net Development server. I pass the Site ID to the web service and from the web service I try to open the List and read the items. But when I try to read the items I'm getting the following error - This operation can be performed only on a computer that is joined to a server farm by users who have permissions in SQL Server to read from the configuration database. To connect this server to the server farm, use the SharePoint

Create Sharepoint List which has gantt view - programmatically

自作多情 提交于 2019-12-04 19:13:38
I am new to sharepoint therefore don't know much - any help would be highly appreciated. Basically i want to programatically (in the same project) :- 1. create a List and make it a Gantt View 2. Add add appropriate cololumns (that would generate the Gantt chart) to the List 3. And finally i would like to add values/data to the coloums created via this code too... If there is a sample code or any tutorial...please any help would be much appreciated please thank you so much Try this: using (SPSite site = new SPSite("http://yoursite/")) { using (SPWeb web = site.OpenWeb()) { Guid id = web.Lists

In a meeting workspace get all agenda items from a list programmatically

一曲冷凌霜 提交于 2019-12-04 15:26:33
I want to get all items from a specific list in recurring meeting workspace. I tried to execute the following CAML: <Query> <Where> <IsNotNull> <FieldRef Name='ID' /> </IsNotNull> </Where> </Query> But it only displays data for the upcoming meeting. However when I open list, from actions menu I can choose to display data from all meetings. That makes me think it is possible. I know I can convert the list to series items so they appear in all meetings, but it is not that I want. Yeehaaw! Finally I found a solution! SPQuery class has a property MeetingInstanceId , which one you can assign a

get users by group in sharepoint

寵の児 提交于 2019-12-04 11:26:56
问题 can anyone show me how to get the users within a certain group using sharepoint? so i have a list that contains users and or groups. i want to retrieve all users in that list. is there a way to differentiate between whether the list item is a group or user. if its a group, i need to get all the users within that group. im using c#, and im trying to do thins by making it a console application. im new to sharepoint and im really jumping into the deep end of the pool here, any help would be

How do I determine the disk size of a SharePoint list?

江枫思渺然 提交于 2019-12-04 03:58:43
问题 I have a list with roughly 5500 items, and I would like to find out the size on disk. Is there some way I can do this? I don't mind running a query in the database, if necessary. 回答1: If you enable a site quota, an option under site settings appears called Storage Space Allocation . When you go to set a quota in the Central Administration, the page will tell you what the current storage used is so you can have an idea before there. Once you get to the Storage Space Allocation report, you can

Sharepoint development using Visual Studio Express?

北城以北 提交于 2019-12-03 21:38:23
Having spent the past few weeks familiarising myself with WSS 3.0 I finally want to get around to doing some Sharepoint development. I have Visual Studio Express installed on my Sharepoint server, but when I try to install the "WSS 3.0 Tools: Visual Studio Extensions" from Microsoft it tells me that I don't have Visual Studio installed. A quick check to the pre-reqs on the download site tell me that this extension only applies to the Standard, Professional, or Team editions. So, two questions really: 1 - Do I need the WSS Visual Studio Extension in order to do Sharepoint Development? 2 - If I

Edit only owned list items in Windows Sharepoint Services 3.0

馋奶兔 提交于 2019-12-03 20:59:27
Is there a way to limit the "edit item" permission in WSS 3.0 to only allow a user to edit his own documents or list items? We need the ability for a user to edit only documents/list items he creates - NOT items that someone else created. So, essentially we need a sub-set of the EDIT permission as well as ADD. Is this possible in Windows Sharepoint Services 3.0? Is there a way to create custom permissions in code or a feature? Abs WSS has a basic UI for setting item-level permission on list items, but they hide that from the UI for document libraries. If you go into Settings->List Settings-

Proxy websocket wss:// to ws:// apache

瘦欲@ 提交于 2019-12-03 10:12:33
问题 i searched alot but i couldnt connect my websocket to wss:// , i found that there is a way to proxy wss://domain.com:9090 and apache apply the proxy on it and redirect request to where the normal ws://domain.com:9090 server is running ProxyPass /websocket ws://domain.com:9090 ProxyPassReverse /websocket ws://domain.com:9090 this code in apache config will send request from any address ended with /websocket to ws://domain.com:9090 ex : ws://websocket will be ws://domain.com:9090 i want to do