wss

Is there a way to get a Sharepoint site's locale with web services?

旧巷老猫 提交于 2019-12-08 07:46:38
问题 I've looked through the wss 3.0 documentation, but I can't find anything. I would like to retrieve the locale for a Sharepoint 2007 site using web services (no access to server so can't deploy anything on it), so as to know what time zone is site the configured in. Is that possible? thx 回答1: The time zone of a SharePoint web site can be obtained by the GetList method of the Lists web service. It seems weird to ask for information about a list to get regional settings of a web site but that's

Node.js + Express.js + Socket.io on port 443 (HTTPS TLS/SSL)

余生颓废 提交于 2019-12-08 01:26:17
问题 I have an app with Node.js, Express.js, and Socket.io that runs fine using ANY port except 443. The server is meant to only operate over HTTPS port 443 and likewise, the websocket should be encrypted as well. CODE THAT WORKS var fs = require('fs'); var https = require('https'); var express = require('express'); var socket = require('socket.io'); var sslOptions = { key: fs.readFileSync(__dirname + '/../ssl/server.key, cert: fs.readFileSync(__dirname + '/../ssl/server.pem, ciphers: 'ECDHE-RSA

Is there a way to get a Sharepoint site's locale with web services?

戏子无情 提交于 2019-12-06 22:18:27
I've looked through the wss 3.0 documentation, but I can't find anything. I would like to retrieve the locale for a Sharepoint 2007 site using web services (no access to server so can't deploy anything on it), so as to know what time zone is site the configured in. Is that possible? thx The time zone of a SharePoint web site can be obtained by the GetList method of the Lists web service. It seems weird to ask for information about a list to get regional settings of a web site but that's it :-) This is an excerpt of the method response about a single list: <List> ... <RegionalSettings>

Accessing SharePoint content (list) from a WCF service

泪湿孤枕 提交于 2019-12-06 14:19:59
问题 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

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

落爺英雄遲暮 提交于 2019-12-06 06:59:50
问题 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. 回答1: Yeehaaw!

An unexpected error has occurred

蹲街弑〆低调 提交于 2019-12-06 06:28:44
I have created an asp.net web application on my local machine and I am deploying it to sharepoint. For that I am refereing the following Deploying ASP.NET Web Applications in the Windows SharePoint Services 3.0 _layouts Folder [ http://msdn.microsoft.com/en-us/library/cc297200.aspx] Its works perfect on my local machine but when I was trying to deploy the same on clients machine it was giving me the " An unexpected error has occurred. " Error. The scenario is, There is not visual studio install on my clients machine so what I was doing is I simply copying my solution folder in 12'hives LAYOUT

Node.js + Express.js + Socket.io on port 443 (HTTPS TLS/SSL)

久未见 提交于 2019-12-06 05:26:50
I have an app with Node.js, Express.js, and Socket.io that runs fine using ANY port except 443. The server is meant to only operate over HTTPS port 443 and likewise, the websocket should be encrypted as well. CODE THAT WORKS var fs = require('fs'); var https = require('https'); var express = require('express'); var socket = require('socket.io'); var sslOptions = { key: fs.readFileSync(__dirname + '/../ssl/server.key, cert: fs.readFileSync(__dirname + '/../ssl/server.pem, ciphers: 'ECDHE-RSA-AES256-SHA:AES256-SHA:RC4-SHA:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM', honorCipherOrder: true }; var app =

Create a dropdown list in Sharepoint containing List Documents with links to them

吃可爱长大的小学妹 提交于 2019-12-05 10:54:53
问题 I am looking to create a dropdown list on my default.aspx page which i want it to contain List documents/pages and when the document/page is selected the page should redirect to the selected document/page. Any suggestions of how this can be done please? any examples/samples would be grealy appreciated? Thank you :) 回答1: AA drop down has a selectedvalue and a selected text property. It will display the selected text. Store the name or some sort of string that identifies the document as the

How do you instruct a SharePoint Farm to run a Timer Job on a specific server?

删除回忆录丶 提交于 2019-12-05 08:11:54
We have an SP timer job that was running fine for quite a while. Recently the admins enlisted another server into the farm, and consequently SharePoint decided to start running this timer job on this other server. The problem is the server does not have all the dependencies installed (i.e., Oracle) on it and so the job is failing. I'm just looking for the path of least resistance here. My question is there a way to force a timer job to run on the server you want it to? [Edit] If I can do it through code that works for me. I just need to know what the API is to do this if one does exist. I

Opening a xls spreadsheet programatically in C# from a SharePoint site in Read / Write mode

耗尽温柔 提交于 2019-12-05 06:57:30
I have written a procedure that will open a xls from a local disc, refresh the data in it and then save it again. This works fine. The problem occurs when I replace the filename to point to a SharePoint site. It opens the file fine. Refreshes the file, but when it trys to save the file it throws an exception with the message "Cannot save as that name. Document was opened as read-only.". If I try and save the file with a different filename then it works fine. Does anybody know what I am missing? I think it must have somethoing to do with how I am opening the file. Is there another way that I