07 2013 档案
SharePoint 2010: Change welcome page on PowerShell
摘要:摘要: SharePoint 2010之后呢, 建立一个 Team Site会有两个 default page, 分别是 Sitepages/home.aspx and default.aspx. 这两个是不一样的, 我遇到过一个问题是, 每当我输入webapplication的 url 之后, 地址会自动定位到SitePages/home.aspx, 由于某些原因, 我的这个页面是不能显示了。 但是default.aspx还是可以正常显示的,所以我通过使用powershell把默认page 修改成了default.aspx.正文:Via Power Shell$site = Get-SPSi
阅读全文
FW: Solving SharePoint Server -503. The service is unavailable, After installation
摘要:Installed: SharePoint Server 2010 for Internet Enterprise Beta (x64) On: Windows Server 2008 Standard (x64) on 64 bit hardwareAttempts to access the Central Administration console led to IIS returning 503. The service is unavailableAnd this error was found in the Application logThe Module DLL 'C
阅读全文
XDocument 使用
摘要:摘要:正文:1.引入XDocument的命名空间using System.Xml.Linq;2. List to XML doc //List to XML public XDocument InitDownloadData(List item) { XElement courseItemElement = new XElement("Courses", item.Select(c => new XElement("Course", new XAttribute(...
阅读全文
设计Popup Window
摘要:设计一个Popup window, 在其中实现分享到Facebook 和Twitter 功能。popup window 名称为 ShareView.xaml, 代码如下: ...
阅读全文
Listbox Binding ItemsSource
摘要:把List绑定到ListBox.前台绑定: ...
阅读全文
ListBox item Sort
摘要:将Rss内容读取到Listbox control中, 然后实现按照标题或发布日期进行排序。 private void ListItemSort(string type) { if (type == "title") { var list = ItemBox.Items.Cast().OrderBy(item => item.Title.Text).ToList(); if (ItemBox.ItemsSource != null) ...
阅读全文
PowerShell添加和部署WSP
摘要:SharePoint PowerShell在SharePoint Product列表里边,然后以管理员权限启动。1. 添加Solution 到 SharePoint Farm.Add-SPSolution -LiteralPath "c:\ilt.wsp"2.获取已添加到SharePoint Farm的Solutions.Get-SPSolution3. 部署Solution 到SharePoint。部署Solution到SharePoint Farm中:Install-SPSolution -Identity ilt.wsp -GACDeploymentpossible
阅读全文
SharePoint 设置Library中文档的默认打开方式
摘要:在SharePoint Library中的文档, 如word, excel等, 文档有两种打开方式, 一种是Viewer in Browser, 一种是Open in Client application。 我们可以设置文档的默认打开方式。1. 打开 Document Library, 如 ChiLe.2. 选择Library > Library Settings.3. 在General Settings下,选择Advanced settings.4. 在Openning Documents in the Browser中选择默认打开方式。
阅读全文
Excel 设置下拉列表
摘要:1. 把列表的候选值写到一块区域, 可以说同Sheet也可以是另一个Sheet中。2. 选中要设置的列, 选择 Data > Data Validation3. 在Data Validation 窗口中, 在Settings 选项卡,选择List, 在Source中选择在1中设置的区域。点击OK.4. 设置完成。
阅读全文
Excel 设置标题栏
摘要:1. 选中列表标题行, 可以设置字体居中显示,并放大字体以表示这是标题栏。2. 选中列表第一数据行,即列表标题行下一行,选择View > Freeze Panes.
阅读全文
浙公网安备 33010602011771号