sharepoint

Accessing Sharepoint tasks via web services?

♀尐吖头ヾ 提交于 2019-12-24 07:35:38
问题 I've looked at a lot of the previous questions asked about sharepoint and accessing objects via web-services, and I am pretty convinced that tasks can be accessed through the Lists interface. Can anybody please verify this for me? Also, if anyone has any examples of this I would be very grateful. I'm not a Sharepoint guy but I need to connect to an instance just to retrieve task objects. 回答1: Assuming you want a code solution using Visual Studio and C# Add a web reference to your SharePoint

How do I make a Microsoft Word document “read only” within a SharePoint document library?

家住魔仙堡 提交于 2019-12-24 07:10:12
问题 How do I make open “read only” the only option within a SharePoint document library? When using either Word 2003 or 2007 and saving the document as a template or modifying the file properties as “read only” doesn’t prevent modification of the file in a SharePoint document library. Modifying the document library permissions to only allow “read only” access doesn’t work either. What works is to use a SharePoint URL link list to access the files within an external server directory, but that

Cannot resolve symbol 'UserProfileWebService'

99封情书 提交于 2019-12-24 07:07:21
问题 I found this article on msdn: http://msdn.microsoft.com/en-us/library/ms550407.aspx, and I would like to use the code sample provided, but I can't seem to figure out how to resolve UserProfileWebService . Does anybody know what reference do I need to add or is this some sort of SDK missing? Also, is there any alternative to http://www.findjar.com when it comes to C#? Any info is appreciated, thank you! NOTE: I am a little bit of a sharepoint noob, so I might be missing some important data

SharePoint 2007: Formatting a FormField

我们两清 提交于 2019-12-24 06:49:44
问题 I'm trying to display the page owner and last modified date on the footer of a SharePoint master page for a publishing site. On my master page I currently have: <SharePoint:FormattedString FormatText="Page owner: {0} Last updated: {1:dd/MM/yyyy}" runat="server"> <SharePoint:FormField ControlMode="Display" FieldName="PublishingContact" DisableInputFieldLabel="true" runat="server"/> <SharePoint:FormField ControlMode="Display" FieldName="Modified" DisableInputFieldLabel="true" runat="server" />

Sharepoint Timer Job and log4net

二次信任 提交于 2019-12-24 06:45:20
问题 I'm developing a custom SharePoint solution which consist of a feature and a timer job (which is created by the feature in FeatureActivated). In my solution I want to use log4net for logging (I know about ULS). Everything is fine with log4net in the feature itself (just placed log4net.config near web.config and all is fine), but I have completely no idea how to initialize log4net from timer job (taking into account it is run not by IIS but by OSWTIMER). Can someone please help me finding

SharePoint配置IP地址或域名访问(默认机器名访问)

≡放荡痞女 提交于 2019-12-24 06:09:32
SharePoint 2016部署完成后,默认以机器名作为 Web 的访问地址。即使局域网内采用 IP 地址访问,也只能看到网站的 Logo,网站内容是空白。 若需要外网用 IP 地址访问(或者通过外网域名),该如何实现呢? 1)打开 SharePoint 管理中心。 2)在“系统设置(System Settings)”下,点击“配置备用访问映射(Configure alternate access mappings)”。 3)点击“编辑URL(Edit Public URLs)”。 4)在弹出的页面中,点击下拉菜单 “备用访问映射集(Alternate Access Mapping Collection)”,继续点击“更改备用访问映射集(Change Alternate Access Mapping Collection)” ,选择对应的应用程序网站(比如选择默认网站“SharePoint - 80”);“默认(Default)”文本框为机器名的网址,在“Internet”文本框中,输入IP访问地址(或者是域名访问地址)以及对应的端口号,点击“Save (保存)”。 5)使用IP地址或域名地址访问,进行测试。 来源: CSDN 作者: PiaoShiSun 链接: https://blog.csdn.net/JohnnySun2015/article/details

CAML Query for Week and Month not working

孤街醉人 提交于 2019-12-24 05:55:17
问题 I following CAML Query does not work: <Where><DateRangesOverlap><FieldRef Name=\"EventDate\" /><FieldRef Name=\"RecurrenceID\" /><Value Type=\"DateTime\"><Week /></Value></DateRangesOverlap></Where> AND <Where><DateRangesOverlap><FieldRef Name=\"EventDate\" /><FieldRef Name=\"RecurrenceID\" /><Value Type=\"DateTime\"><Month/></Value></DateRangesOverlap></Where> But this one works: <Where><DateRangesOverlap><FieldRef Name=\"EventDate\" /><FieldRef Name=\"RecurrenceID\" /><Value Type=\"DateTime

How to implement an IFilter for indexing heavyweight formats?

送分小仙女□ 提交于 2019-12-24 05:31:07
问题 I need to develop an IFilter for Microsoft Search Server 2008 that performs prolonged computations to extract text. Extracting text from one file can take from 5 seconds to 12 hours. How can I desing such an IFilter so that the daemon doesn't reset it on timeout and also other IFilters can be reset on timeout if they hang up? 回答1: 12 hours, wow! If it takes that long and there are many files, your best option would be to create a pre-processing application that would extract the text and make

How to implement an IFilter for indexing heavyweight formats?

﹥>﹥吖頭↗ 提交于 2019-12-24 05:31:05
问题 I need to develop an IFilter for Microsoft Search Server 2008 that performs prolonged computations to extract text. Extracting text from one file can take from 5 seconds to 12 hours. How can I desing such an IFilter so that the daemon doesn't reset it on timeout and also other IFilters can be reset on timeout if they hang up? 回答1: 12 hours, wow! If it takes that long and there are many files, your best option would be to create a pre-processing application that would extract the text and make

How to create a PDF from a string and send it to the user?

旧城冷巷雨未停 提交于 2019-12-24 05:08:36
问题 Good morning everybody, I have a project which is supposed to be deployed on sharepoint 2007 (wss 3.0) as a custom web part . It is simply a button to convert a certain string to a pdf file and send it to the user.I'm using c# .NET . I have the following code: HttpContext.Current.Response.AddHeader"ContentDispositio n", "attachment;filename=foo.pdf"); HttpContext.Current.Response.AddHeader("Content-Length", bb.Length.ToString()); HttpContext.Current.Response.ContentType = "application/pdf";