04 2013 档案
摘要:Get the SPLimitedWebPartManager instance on the page;Get the provider and consumer Web parts need to be connected;Get the connection points for the provider and consumer Web parts;Connect them using SPConnectWebParts method. If necessary, certain transforming needs to be in place for compatible inte
阅读全文
摘要:public void UpdateSharePointListFromXML() { string filename = Server.MapPath("XMLFile1.xml"); XmlDocument xmldoc = new XmlDocument(); xmldoc.Load(filename); XmlNodeList topM = xmldoc.DocumentElement.ChildNodes; foreach (XmlElement elemen...
阅读全文
摘要:Adding Custom Properties to Visual Web PartsOpen the web part code file:Add the following code to the web part file:privatestring propertyName = "Default Value";[System.Web.UI.WebControls.WebParts.WebBrowsable(true),System.Web.UI.WebControls.WebParts.WebDisplayName("Property Name"
阅读全文
摘要:<:article id=post-542 class="post-542 post type-post status-publish format-standard hentry category-migration category-sharepoint-2010 category-sharepoint-2013 category-sharepoint-configuration category-sharepoint-development category-sharepoint-engineering tag-migration tag-sharepoint-2013&
阅读全文
摘要:SharePoint 2010, Hide My Site, My Newsfeed, My Content Link, Find People Searchbox on top navigation | Podcast, 나는 꼼수다 팟캐스트 다시듣기 다시보기 SharePoint 2010, Value does not fall within the expected range.at Microsoft.SharePoint.SPFieldMap.GetColumnNumber0评论If you facing this error...if you save or read a c
阅读全文
摘要:public SPWorkflow GetTheLatestWorkflowInstance(SPListItem myitem) { SPWorkflowCollection ss = myitem.Workflows; SPWorkflow[] sort = new SPWorkflow[ss.Count]; int k = 0; foreach (SPWorkflow ghy in ss) { sort[k] = ghy; ...
阅读全文
摘要:<span><img name=”indicator” id=”sPresenceIndicator” alt=”" src=”/_layouts/images/imnhdr.gif” border=”0″ complete=”complete” showofflinepawn=”1″ onload=”IMNRC(‘Your corporate email here’), getElementById(‘sPresenceIndicator’)”/></span>
阅读全文
摘要:<div id="Div1" class="ms-quicklaunchouter" runat="server"> <div class="ms-treeviewouter"> <SharePoint:SPRememberScroll runat="server" id="RememberScroll1" onscroll="javascript:_spRecordScrollPositions(this);" style=
阅读全文
摘要:All Users in SharePoint Site Custom WebpartBy tdomf_6998b, on October 18th, 2010Price (USD): 0.0Category: For e.g. WebPart, Workflow, Event Receiver etc.This webpart will display all the users from each group in the current site. You can however add a foreach loop for each web (or site) in the site
阅读全文