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.
|
||||||
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.
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 {
{
{
{
} } }
{ }
} }
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: Piv txwv:
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()); XmlDocument doc = tshiab XmlDocument(); nyeem ntawv.Kaw(); XmlNamespaceManager nameSpaceManager = tshiab XmlNamespaceManager(doc.NameTable); doc.DocumentElement.SelectSingleNode(“Kuv:Xwm txheej”, nameSpaceManager).InnerText = “Rua”; 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 lub timer txoj hauj lwm yuav luv rau alerts yuav tau retrieved los ntawm siv qhov hais kom ua getproperty nyob stsadm. Syntax:
Piv txwv:
Yog koj nrhiav SharePoint 2010 Cov ntaub ntawv tsim tawm, koj mus muab tau nws tawm ntawm no 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.
WebApp.DaysToShowNewIndicator = 3; WebApp.Update(); Koj puas xav tau kev saib ua ntej daim ntawv luam ntawm cov chaw ua hauj lwm 2010 Npe ntawm no SharePoint pab (team) tau tshaj tawm tus yam ua ntej zog raws kev SharePoint 2010.
Kos cov kev yees duab rau no rau: Yog dab tsi tshiab nyob rau hauv SharePoint ntshoo 2010(Hu ua Microsoft Office Groove) |
||||||
Copyright © 2024 MSTechBlogs - Qoob loo Powered by WordPress & Atahualpa |