Daim ntawv theem Validation hauv SharePoint 2010

Rau kuv ua ntej lawm hauv tsab xov xwm, Kuv thiaj sau txog kem theem validation hauv SharePoint 2010.

Daim ntawv teev validation theem yuav ua ua ntej yuav txuag lub ntsiab lus. Tus validation yuav tsum rov TRUE mus tseg cov ntsiab lus.

Daim ntawv teev lus cov tsev qiv ntawv:

Kuv tau tsim qauv daim ntawv qiv ntaub ntawv nrog cov nram qab no txhua.

Validation Scenario:

Txog caij hnub yuav ntau dua qhov teeb meem hnub.

Validation nqis:

Mus sau tej chaw thiab nias rau ntawm Validation nqis.

Qhia kom meej rau cov cai validation “DueDate > IssueDate”, tam sim no ces qhia yuam kev hais kom muab displayed rau tus neeg siv.

Txuag lub Validation nqis.

Tsim tau tej yam khoom tshiab nyob rau hauv daim ntawv teev.

Yog hais tias tus validation tsis, yuam kev hais yuav tsum displayed kom tus neeg siv.

Yuam neeg Profile kos kev thaum tsim qauv ntaub hauv SharePoint 2010 Configuration Wizard

Ces yuav kuv tsum yuam kev li nram no thaum uas ciav Configuration wizard rau SharePoint 2010.

Koj yuav tsum mus nruab ib lub hotfix rau lub qhov rais neeg rau zaub mov 2008 R2 / Qhov rai 7. Download tau no los ntawm Microsoft Connect.




Yuam kev nyob hauv cov ntaub ntawv ca:

01/09/2010 13:20:05 17 Ua yuam kev kev zam ntawm hom Microsoft.Office.Server.UserProfiles.UserProfileException ces muab pov tseg yog. Cov lus qhia ntxiv kos: Unrecognized attribute 'allowInsecureTransport'. Nco ntsoov tias attribute cov npe no case-sensitive. (C:\Qhov kev pab cuam FilesCommon FilesMicrosoft SharedWeb neeg rau zaub mov Extensions14WebClientsProfileclient.config kab 56)

Microsoft.Office.Server.UserProfiles.UserProfileException: Unrecognized attribute 'allowInsecureTransport'. Nco ntsoov tias attribute cov npe no case-sensitive. (C:\Qhov kev pab cuam FilesCommon FilesMicrosoft SharedWeb neeg rau zaub mov Extensions14WebClientsProfileclient.config kab 56) —> System.Configuration.ConfigurationErrorsException: Unrecognized attribute 'allowInsecureTransport'. Nco ntsoov tias attribute cov npe no case-sensitive. (C:\Qhov kev pab cuam FilesCommon FilesMicrosoft SharedWeb neeg rau zaub mov Extensions14WebClientsProfileclient.config kab 56)

tom System.Configuration.BaseConfigurationRecord.EvaluateOne(Txoj hlua[] daws, SectionInput tawm tswv yim, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Kwv parentResult)

tom System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Kwv parentResult, Boolean getLkg, Boolean getRuntimeObject, Nruas& ntog, Nruas& resultRuntimeObject)

tom System.Configuration.BaseConfigurationRecord.GetSectionRecursive(Txoj hlua configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Nruas& ntog, Nruas& resultRuntimeObject)

tom System.Configuration.ConfigurationSectionCollection.Get(Txoj hlua npe)

tom System.ServiceModel.Configuration.ServiceModelSectionGroup.get_Client()

tom Microsoft.Office.Server.UserProfiles.MossClientBase'1.GetServiceBinding(Txoj hlua endpointConfigurationName)

tom Microsoft.Office.Server.UserProfiles.MossClientBase'1.GetChannelFactory(Txoj hlua endpointConfigurationName)

tom Microsoft.Office.Server.UserProfiles.MossClientBase'1.get_Channel()

tom Microsoft.Office.Server.UserProfiles.MossClientBase'1.ExecuteOnChannel(Txoj hlua operationName, CodeBlock codeBlock)

tom Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceClient.ExecuteOnChannel(Txoj hlua operationName, CodeBlock codeBlock)

— Kawg ntawm kos puab pawg ib txoj lw —

tom Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceClient.ExecuteOnChannel(Txoj hlua operationName, CodeBlock codeBlock)

tom Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceClient.GetProfileProperties()

tom Microsoft.Office.Server.Administration.UserProfileApplicationProxy.RefreshProperties(Guid applicationID)

tom Microsoft.Office.Server.Utilities.SPAsyncCache'2.GetValueNow(Qhov tseem ceeb los ntawm K)

tom Microsoft.Office.Server.Utilities.SPAsyncCache'2.GetValue(Qhov tseem ceeb los ntawm K, Boolean asynchronous)

tom Microsoft.Office.Server.Administration.UserProfileApplicationProxy.InitializePropertyCache()

rau cov neeg rau zaub Microsoft Office Administration mov... UserProfileApplicationProxy. nyiaj()

mus Microsoft.SharePoint. PostSetupConfiguration. EvalModeProvisionTask. ProvisionServiceApplicationsAndProxies()

yuav mus Microsoft.SharePoint. PostSetupConfiguration. EvalModeProvisionTask. dhia()

mus Microsoft.SharePoint. PostSetupConfiguration. TaskThread. ExecuteTask()

Kem Validation hauv SharePoint 2010

Feem ntau cov developers muag teeb meem nrog rau sab validations nyob SharePoint 2003/2007.

Nws yog mob yeej sau tus validation siv kev cai mus kom ze li javascript los yog jquery.

SharePoint 2010 qhia cov nram qab no validations nyob rau hauv lub thawv.

  • Kem Validation theem
  • Daim ntawv teev Validation theem

Kem Validation theem

Thaum tsim tshiab qhia kiag rau hauv daim ntawv teev, nyem rau ntawm tus ncej tag validation ntawm.

Thov qhia koj qhov validation mis.

e.g.

[FieldName]=”Tus nqi”

Lub mis yuav tsum tau rov tseeb rau validation mus PASS.

Tsim tshiab qhia kiag rau hauv daim ntawv thiab qhia kom meej validation nqis.


Tsim tau tej yam khoom tshiab nyob rau hauv daim ntawv teev, Nias tseg rau validate.

WOW... yog yooj yim nrog SharePoint lub neej.

Lub xeev Tuned kom tau hnov txog daim ntawv theem validation nyob hauv kuv tus ncej tom ntej.

CodePlex tawm : Daim ntawv teev kev nrhiav WebPart

Nyob hauv lub zej zog,

Kuv muaj contributed nrhiav WebPart ntawm daim ntawv teev kev SharePoint nyob rau hauv CodePlex.

Yog ib qhov hauj lwm:

Qhov Project no muab rau daim ntawv teev kev nrhiav WebPart WSS 3.0 / SharePoint 2007. Ntxiv ntawm WebPart Hmong Phab thiab qhia kom meej rau daim ntawv teev npe xwb, lim teb, zaub liaj teb thiab kev.

Yooj yim Interface rau lub cuab tam feem uas txawm nta rau daim ntawv teev kev nrhiav.

Nta

  • Ajax Enabled
  • Configuration tau yooj yim ntawm daim ntawv teev
  • Populates daim ntawv sau hauv tee cia sau tau
  • Lim teb xaiv
  • Xaiv zaub yuav liaj teb
  • Lus nug cov neeg tsav tsheb xaiv

Configuration muaj kauj ruam

Qhib cov WebPart hauv Edit hom.

Lim teb: Liaj teb kom yuav mus rau ntawm nplooj ntawv nrog input kem kev lim teb.

Zaub teb: Teb yuav tsum displayed nyob rau hauv daim phiaj.

Txav kev ntawm lub teb

Thaum koj mus thov hloov tus WebPart yuav kav li nram qab no:

Thov cia koj tshiab feature thov ntawm no: http://www.mstechblogs.com/Forums/viewtopic.php?f=17&t=2&start=0

Tsim kev cai zaub mov yam nyob rau hauv qhov kev yuav ua li cas

Cov nram qab no coj mus kuaj feature tsim tshuab raj ua ib yam tshiab nyob rau hauv qhov chaw ua zaub mov, Thov hloov tus GUID hauv lub qab qhov chaws.

Feature qauv ntaub ntawv

<?xml version =”1.0″ encoding =”utf-8″?>

<Feature

ID =”<GUID>”

Title =”Tshuab raj ua kev cai khoom”

Hauj lwm =” ”

Version =”1.0.0.0″

Tau =”Qhov chaw”

Muab zais =”Cuav” xmlns =”http://schemas.Microsoft.com/sharepoint/”>

<ElementManifests>

<ElementManifest

Qhov chaw =”elements.xml” />

</ElementManifests>

</Feature>

Qauv ntaub ntawv ntsiab

<?xml version =”1.0″ encoding =”utf-8″?>

<Hais xmlns =”http://schemas.Microsoft.com/sharepoint/”>

<CustomAction Id =””

GroupId =”SiteActions”

Qhov chaw =”Microsoft.SharePoint.StandardMenu”

RequireSiteAdministrator =”MUAJ TSEEB”

Title =”Kuv Blog”

Hauj lwm =” ”

Sib lawv liag =”1″>

<UrlAction Url =”http://www.mstechblogs.com/ sharepoint “/>

</CustomAction>

</Ntsiab>

TreeView Doc Lib V 2.0 nyob rau hauv CodePlex

Kuv tau txiav txim rau tom ntej version ntawm TreeView daim ntawv qiv WebPart rau cov SharePoint 2007.

Nta ntaub tso hauv no tso:

  • Txais populates daim ntawv txog kev qiv ntaub ntawv nyob dropdownlist hauv toolpart
  • Collapsed TreeView yeej tswj los ntawm cov cuab yeej toolpart
  • Yuav qhia cov icons tsim nyog rau cov ntaub ntawv nyob rau hauv daim ntawv qiv

WebPart nyob li feature nyob tov pob.

Tswg thov koj tuag los sis cov kev thov ntxiv feature.

Programmatically Retrieve npe rau daim ntawv qiv

Cov cai hauv qab no snippet yog siv retrieve daim ntawv txog kev qiv ntaub ntawv.

SPWeb _web = SPContext.Current.Web;


SPListCollection ListColl = _web.Teev;


foreach (SPList _lst nyob rau hauv ListColl)

{


Yog hais tias (_lst.BaseTemplate == SPListTemplateType.DocumentLibrary)

{

LibList.Items.Add(_lst.Npe);

}

}

BaseTemplateType yuav siv los xyuas seb daim ntawv.

Sib Microsoft.IdentityModel dhos nws yuam kev thaum txhim kho SharePoint 2010

Thaum nws khiav SharePoint Configuration wizards, Yog hais tias koj tau txais ib qho kev ua yuam kev “Microsoft.IdentityModel los ua ke nco”

Xyuas kom koj tau ntsia “Geneva moj khaum”, nws ib feem ntawm koj cov nyiaj requisites uantej SP 2010

Download tau SharePoint 2010 Beta

Microsoft tau tso lub beta khoom SharePoint 2010 kev MSDN & Tech nuj subscribers.

Kuv vam tias nws yuav tsum muaj nyob rau cov pej xeem nyob ob peb hnub J

SharePoint 2010 Tshuab pawg

SharePoint 2010 Tshuab Tshooj zoo li nram qab no.

Qhov tseem ceeb kom zoo dua rau tus developers yuav txoj kev loj hlob tshuab tau yuav teev nws qhov rais Vista lossis qhov rais 7 (x 64-ntsis) tshuab J