Yuav ua li cas kom hloov lub qhov Home Page / Yuav tsaws Page hauv NTXHUAB 2007

Hloov cov qhov Home Page los Landing Page hauv SharePoint,

Xauj rau

Kev kawm ntawv->

(Thiab mloog tus mob) Txais tos Page – qhia kom meej koj qhov Page URL.

Programmatically nyeem Alerts rau cov neeg nyob rau hauv lub Site Collection

SPAlerCollection cov chav kawm ntawv yuav siv tau ntawm sau ceeb toom rau tus neeg siv.

Cov nram qab no chaws snippet yog siv los nyeem tag nrho cov alerts uas tau sau npe rau cov cov neeg kawm ntawv sau.

lwm yam
zoo li qub
khoob lug GetAlerts()

{


SPSite currSite = tshiab
SPSite(“http://uday”);


SPWeb currWeb = currSite.OpenWeb();


SPUserCollection collUsers = currWeb.Users;


sim

{


foreach (SPUser usr nyob rau hauv collUsers)

{


Console.WriteLine(“Alerts rau tus neeg siv : “ + usr.Lub npe);


foreach (SPAlert alrt nyob rau hauv usr.Alerts)

{


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

}

}

}


ntes

{

}


Console.ReadLine();

}

}



Yuav ua li cas teev lub luv rau Alerts hauv SharePoint 2007

Teev timer hauj lwm luv rau alerts yuav npaj los siv cov setproperty hais kom qhov cuab yeej hauj lwm-tam-alerts ua nyob rau hauv stsadm.

Syntax:
STSADM -o getproperty - pn hauj lwm-tam-alerts –pv <tus nqi cuab yeej> -url <URL ntawm lub Site>

Piv txwv:
STSADM -o getproperty - pn hauj lwm-tam-alerts –pv “txhua txhua 2 feeb” -url http://uday


Kho kom raug InfoPath XML yog cov ntaub ntawv hauv cov tsev qiv ntawv muaj rooj sab laj nyob SharePoint Programmatically yuav ua li cas 2007

Cov lus hauv qab ntawm txoj kab snippet no yuav hloov tau cov ntaub ntawv infopath xml(cov ntaub ntawv)

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

MemoryStream myInStream = tshiab MemoryStream(yam khoom.File.OpenBinary());
XmlTextReader nyeem ntawv = tshiab XmlTextReader(myInStream);

XmlDocument doc = tshiab XmlDocument();
doc.Load(nyeem ntawv);

nyeem ntawv.Kaw();
myInStream.Close();

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

doc.DocumentElement.SelectSingleNode(“Kuv:Xwm txheej”, nameSpaceManager).InnerText = “Rua”;
doc.DocumentElement.SelectSingleNode(“Kuv:SaveDate”, nameSpaceManager).InnerText = DateTime.Today.ToString();
System.Text.ASCIIEncoding encoding = System.Text.ASCIIEncoding tshiab();
SPFile newFile = _web.Folders[“SampleFormLib”].Files.Add(yam khoom.File.Name.ToString(), (encoding.GetBytes(doc.OuterXml)), tseeb);
yam khoom.File.Update();

Xyuas kom koj txim tuag yam khoom.File.Update() yuav kuas nyuas siv zug muaj cov kev hloov (Kuv tau txais tus uas tsis thaum coj cov khoom.Hloov tshiab() and spent couple of hours to find 🙁 )

Tau txoj hauj lwm yuav luv Timer Alerts

Tau lub timer txoj hauj lwm yuav luv rau alerts yuav tau retrieved los ntawm siv qhov hais kom ua getproperty nyob stsadm.

Syntax:
STSADM -o getproperty - pn hauj lwm-tam-alerts - url <URL ntawm lub Site>

Piv txwv:

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

Download tau SharePoint 2010 Lwm cov ntaub ntawv tsim tawm

Yog koj nrhiav SharePoint 2010 Cov ntaub ntawv tsim tawm, koj mus muab tau nws tawm ntawm no

Teem caij ntev rau kev qhia tshiab Icon tau nyob rau hauv SharePoint rau

Teev tau ntev rau tshiab icon nyob rau hauv SharePoint (tus cim uas qhia ntawm tej yam khoom tshiab) nkag rau SharePoint WebApplication kwv thiab teev tus nqi DaysToShowNewIndicator.



SPWebApplication WebApp = SPWebApplication.Lookup(tshiab
Pas(WebAppURL.Text));

WebApp.DaysToShowNewIndicator = 3;

WebApp.Update();

Microsoft Office 2010 Kev saib ua ntej

Koj puas xav tau kev saib ua ntej daim ntawv luam ntawm cov chaw ua hauj lwm 2010 Npe ntawm no

SharePoint 2010 Lawv yuav tsum tau

SharePoint pab (team) tau tshaj tawm tus yam ua ntej zog raws kev SharePoint 2010.

  1. SharePoint neeg rau zaub mov 2010 yuav muaj 64-ntsis xwb.
  2. SharePoint neeg rau zaub mov 2010 yuav kom cov neeg rau zaub mov qhov rais 64-ntsis 2008 los yog cov neeg rau zaub mov 64-ntsis qhov rais 2008 R2.
  3. SharePoint neeg rau zaub mov 2010 yuav kom cov neeg rau zaub mov SQL 64-ntsis 2008 los yog cov neeg rau zaub mov 64-ntsis SQL 2005.

Microsoft SharePoint ntshoo 2010

Kos cov kev yees duab rau no rau: Yog dab tsi tshiab nyob rau hauv SharePoint ntshoo 2010(Hu ua Microsoft Office Groove)