Jinsi ya Mabadiliko Kwanza Home / Landing Kwanza katika Moss 2007

Kuubadilisha Kwanza Ukurasa wa Kwanza Landing au katika SharePoint,

Kuvinjari kwa

Site Vitendo ->

(Kuangalia na kujisikia) Karibu Kwanza - Kwanza TAJA yako URL.

Programmatically Soma Alerts kwa Watumiaji katika Collection Site

Darasa SPAlerCollection inaweza kutumika kupata Collection Alert kwa mtumiaji.

Snippet chini code ni kutumika kwa kusoma alerts wote waliosajiliwa kwa ajili ya watumiaji wa ukusanyaji tovuti.

binafsi
tuli
utupu GetAlerts()

{


SPSite currSite = mpya
SPSite(“http://Uday”);


SPWeb currWeb = currSite.OpenWeb();


SPUserCollection collUsers = currWeb.Users;


kujaribu

{


foreach (SPUser usr katika collUsers)

{


Kuwafariji.WriteLine(“Tahadhari kwa mtumiaji : “ + usr.Name);


foreach (SPAlert alrt katika usr.Alerts)

{


Kuwafariji.WriteLine(alrt.Item.Title + ” –> “ + alrt.AlertFrequency);

}

}

}


catch

{

}


Kuwafariji.ReadLine();

}

}



Jinsi ya kuweka Interval kwa Alerts katika SharePoint 2007

Kuweka timer kazi ya muda kwa alerts unaweza kuweka kwa kutumia setproperty kwa ajili ya mali kazi-haraka-alerts amri katika stsadm.

Syntax:
STSADM-o-getproperty pn kazi-mara moja-alerts-PV <mali ya thamani ya> -url <URL ya Tovuti>

Mfano:
STSADM-o-getproperty pn kazi-mara moja-alerts-PV “kila 2 dakika” -url http://Uday


Jinsi ya Hariri InfoPath XML File katika Library Forum Programmatically katika SharePoint 2007

chini ya mistari ya Snippet code ni update xml infopath rekodi(file)

SPWeb _web = SPContext.Current.Web;
SPList _list = _web.Lists[“SampleFormLib”];

MemoryStream myInStream = MemoryStream mpya(item.File.OpenBinary());
XmlTextReader msomaji = XmlTextReader mpya(myInStream);

XmlDocument doc = mpya XmlDocument();
doc.Load(msomaji);

reader.Close();
myInStream.Close();

XmlNamespaceManager nameSpaceManager = XmlNamespaceManager mpya(doc.NameTable);
nameSpaceManager.AddNamespace(“yangu”, “http://schemas.microsoft.com/office/infopath/2003/myXSD/2009-06-11T12:44:57“);

doc.DocumentElement.SelectSingleNode(“yangu:Hali ya”, nameSpaceManager).Ndani Nakala = “Kuokolewa”;
doc.DocumentElement.SelectSingleNode(“yangu:SaveDate”, nameSpaceManager).InnerText = DateTime.Today.ToString();
System.Text.ASCIIEncoding encoding = System.Text.ASCIIEncoding mpya();
SPFile newFile = _web.Folders[“SampleFormLib”].Files.Add(item.File.Name.ToString(), (encoding.GetBytes(doc.OuterXml)), kweli);
item.File.Update();

Kuhakikisha nitafanya item.File.Update() kufanya mabadiliko (I got makosa wakati nitafanya item.Update() and spent couple of hours to find 🙁 )

Kupata Job Alerts Interval Timer

Kupata Interval timer kazi kwa alerts inaweza Rudishwa kwa kutumia amri getproperty katika stsadm.

Syntax:
STSADM-o-getproperty pn kazi-mara moja-alerts-url <URL ya Tovuti>

Mfano:

STSADM -o getproperty -pn job-immediate-alerts -url http://uday
			

Download SharePoint 2010 Developer Documentation

Mnamtafuta SharePoint 2010 Developer Document, unaweza kushusha ni kutoka hapa

Set Duration kwa Kiashiria New Icon katika SharePoint

Kwa Set Duration kwa icon New katika SharePoint (kiashiria ambayo inaonyesha karibu na vitu mpya) kupata WebApplication SharePoint kitu na kuweka thamani ya DaysToShowNewIndicator.



SPWebApplication WebApp = SPWebApplication.Lookup(mpya
Uri(WebAppURL.Text));

WebApp.DaysToShowNewIndicator = 3;

WebApp.Update();

Microsoft Office 2010 Kiufundi Preview

Je, unataka kupata Ufundi Preview nakala ya Ofisi ya 2010 Kujiandikisha Hapa

SharePoint 2010 Mahitaji ya mfumo

SharePoint Timu imetangaza awali System Mahitaji ya SharePoint 2010.

  1. SharePoint Server 2010 itakuwa 64-bit tu.
  2. SharePoint Server 2010 itahitaji 64-bit Windows Server 2008 au 64-bit Windows Server 2008 R2.
  3. SharePoint Server 2010 itahitaji 64-bit SQL Server 2008 au 64-bit SQL Server 2005.

Microsoft SharePoint workspace 2010

Kuangalia Video Hapa: Nini mpya katika SharePoint workspace 2010(Zamani Microsoft Ofisi Groove)