文章分类 -  MOSS

1 2 3 4 5 6 下一页
lists insert list item under subfolder
摘要:string listsWebServicesURL = "https://XXXXXX/_vti_bin/Lists.asmx"; Lists listService = new Lists(); listService.Url = listsWebServicesURL; listService 阅读全文
posted @ 2016-05-12 19:21 blogsweb 阅读(91) 评论(0) 推荐(0)
获取指定文件夹下的文件
摘要:postContent.LoadXml(@" Image Attachment 0 ... 阅读全文
posted @ 2015-09-10 22:22 blogsweb 阅读(157) 评论(0) 推荐(0)
创建快捷方式来部署
摘要:点击 add existing item, 选择add as link 就可以了。 阅读全文
posted @ 2015-05-28 23:11 blogsweb 阅读(99) 评论(0) 推荐(0)
how to debuger timer job
摘要:When you create a timer job for Microsoft® SharePoint® 2010, you cannot directly press F5 to debug your code. Instead, you must attach the debugger to... 阅读全文
posted @ 2014-07-04 19:04 blogsweb 阅读(146) 评论(0) 推荐(0)
how to upgrade sharepoint project from .net framework3.5 to 4.0
摘要:Updating SharePoint 2010 custom solutions to SharePoint 2013When opening a Visual Studio 2010 solution in Visual Studio 2012 for use in SharePoint 2013 we get this upgrade log saying we didn’t get any errors and a copy of your project was saved.But is everything error free as it says? Lets try and d 阅读全文
posted @ 2014-04-03 16:55 blogsweb 阅读(180) 评论(0) 推荐(0)
how to add user as site collection admin
摘要:stsadm -o siteowner -url http://vmmsracc/sites/msracc -ownerlogin VMMSRACC\Administrator 阅读全文
posted @ 2014-03-22 22:42 blogsweb 阅读(79) 评论(0) 推荐(0)
fix the issue: The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.
摘要:The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.run sharepoint management shell with the service account$db = Get-SPDatabase | Where {$_.Name -eq “SharePoint_ConfigDB”}Add-SPShellAdmin “domain\user_to_add” -database $db 阅读全文
posted @ 2012-09-20 16:38 blogsweb 阅读(218) 评论(0) 推荐(0)
sharepoint how to get next item
摘要:--public static int NextListItemID(SPSite oSite, Guid listId){ int listItemId = -1; Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(delegate() { if (oSite.WebApplication.ContentDatabases.Count > 0) { //Get the connection string for the sharepoint database string connString = oSite.WebAp 阅读全文
posted @ 2012-03-12 09:22 blogsweb 阅读(167) 评论(0) 推荐(0)
how to install sharepoint2010 with local account
摘要:SharePoint 2010 doesn't allow you to install the "Complete" mode on non-domain local user accounts by default, because it's considered as "Development" environment and you should install in "Single Server" mode.However, there are several workarounds how to insta 阅读全文
posted @ 2011-09-08 01:52 blogsweb 阅读(165) 评论(0) 推荐(0)
查看所有的internal name For CBQ web part.
摘要:在item.xsl里加入 如下代码:方法一:<xsl:for-each select="@*"> P:<xsl:value-of select="name()" /> </xsl:for-each>方法二:<xsl:copy-of select="."/> 阅读全文
posted @ 2011-07-19 18:57 blogsweb 阅读(128) 评论(0) 推荐(0)
install sharepoint by local user
摘要:In your everyday-work with SharePoint, can happen to install SharePoint 2010 on a machine outside the domain and you need to manage the database through a SQL Server Standard or Enterprise edition. In this case, a standalone installation isn't good for us, because it relies on the Express versio 阅读全文
posted @ 2011-06-03 21:05 blogsweb 阅读(239) 评论(0) 推荐(0)
用SharePoint计算列来 添加html 颜色显示
摘要:1. 添加html: <div>[Title]</div> 到计算列中。2.添加contentwebpart到页面并添加下列代码:<style type="text/css">DIV.ms-acal-item {HEIGHT: auto !important}DIV.ms-acal-mdiv {BACKGROUND-COLOR: lightgrey}DIV.ms-acal-item DIV {MARGIN: 0px}DIV.ms-acal-item DIV DIV DIV {PADDING-BOTTOM: 0px !important; 阅读全文
posted @ 2011-03-07 16:58 blogsweb 阅读(216) 评论(0) 推荐(0)
SharePoint 2010 LinQ To SharePoint
摘要:SP 2010: Getting started with LINQ to SharePoint in SharePoint 2010 Author: Tobias Zimmergren http://www.zimmergren.net/ | http://www.tozit.com/ | @zimmergrenIntroductionIn SharePoint 2010 you now have the ability to use LINQ syntax to fetch items from your lists instead of using the "traditional" a 阅读全文
posted @ 2010-12-29 16:01 blogsweb 阅读(281) 评论(0) 推荐(0)
ip mapping
摘要:1. Ping 你的 site url. get ip address.2.打开网络设置 面板。 ipv4 ->properties-> advances->ip settings3. 把你的ip address 加上去。搞定。 阅读全文
posted @ 2010-11-30 15:18 blogsweb 阅读(326) 评论(0) 推荐(0)
无法访问site 在 restore from the content db
摘要:Method 1: Specify host names (Preferred method if NTLM authentication is desired)To specify the host names that are mapped to the loopback address and can connect to Web sites on your computer, follow... 阅读全文
posted @ 2010-11-29 15:30 blogsweb 阅读(157) 评论(0) 推荐(0)
calulate field
摘要:=if(and([column]=1,[column]=2),"1","0")http://msdn.microsoft.com/en-us/library/bb862071.aspx 阅读全文
posted @ 2010-10-28 16:03 blogsweb 阅读(177) 评论(0) 推荐(0)
sharepoint 2010 还原 一个站点
摘要:Hello! Russ Maxwell here and I’d like to provide a glimpse into SharePoint 2010 granular backup/restore. Several things have changed and have been improved in this area. This article is specific... 阅读全文
posted @ 2010-10-25 16:38 blogsweb 阅读(305) 评论(0) 推荐(0)
用infopath自定义List的 New Edit Display Page 与去掉 Ribbon的方法
摘要:创建一个list打开Infopath在New里面,选SharePoint,然后点Design然后连到你的站点,选那个List,就可以用infopath定制ListForm了完成了就Publish就会Publish到list所在的那个目录的“Item”文件夹下三个aspx可以直接编辑的.去掉ribbon的方法, ShowFormRibbon="False" 阅读全文
posted @ 2010-10-11 17:25 blogsweb 阅读(194) 评论(0) 推荐(0)
restore sharepoint site from DB
摘要:stsadm -o addcontentdb -url http://test/ -databasename test -databaseserver test-server 阅读全文
posted @ 2010-08-23 16:52 blogsweb 阅读(122) 评论(0) 推荐(0)
区别excel service 的负载均衡选项
摘要:1)rul:可以说,这提供了最有效的利用了你的硬件。从WFE发送到ECS的请求依赖与url的哈希值。这确保了相同的ECS总是处理来自相同workbook的请求(不管用户发送了多少请求)。这意味着workbook将只能被sharepoint检索一次,直到它不被缓存或者文件改变。2)循环:每一个workbook请求在ECS中循环。 结果是相同的wb被加载到sharepoint N次。注意两件事情:1)... 阅读全文
posted @ 2010-07-29 17:40 blogsweb 阅读(129) 评论(0) 推荐(0)

1 2 3 4 5 6 下一页