List stigi Fullgilding í SharePoint 2010

Í fyrri grein minni, Ég skrifaði um dálki stigi staðfestingu í SharePoint 2010.

List stigi löggilding vilja kalla áður en þú vistar efni. Löggilding ætti aftur SATT að vista efni.

Bókasafn Upplýsingar List:

Ég hef búið sýnishorn lista Library Upplýsingar með eftirfarandi dálka.

Validation Scenario:

Gjalddagi skal vera meiri en Dagsetningar.

Löggilding Stillingar:

Fara í lista Stillingar og smelltu á löggilding stillingar.

Tilgreindu löggilding reglu “DueDate > IssueDate”, þá tilgreina villuboð til að sýna fyrir notandann.

Vistaðu Löggilding Stillingar.

Búa til nýjan hlut í lista.

Ef fullgilding bregst, villuboð birtist til notanda.

User Profile Undantekning Villa búa sýnishorn gögn í SharePoint 2010 Configuration Wizard

I encountered the following error while running Configuration wizard for SharePoint 2010.

You need to Install the hotfix for Windows Server 2008 R2 / Windows 7. Download here from Microsoft Connect.




Error in Log File:

01/09/2010 13:20:05 17 ERR An exception of type Microsoft.Office.Server.UserProfiles.UserProfileException was thrown. Additional exception information: Unrecognized attribute ‘allowInsecureTransport’. Note that attribute names are case-sensitive. (C:\Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14WebClientsProfileclient.config line 56)

Microsoft.Office.Server.UserProfiles.UserProfileException: Unrecognized attribute ‘allowInsecureTransport’. Note that attribute names are case-sensitive. (C:\Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14WebClientsProfileclient.config line 56) —> System.Configuration.ConfigurationErrorsException: Unrecognized attribute ‘allowInsecureTransport’. Note that attribute names are case-sensitive. (C:\Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14WebClientsProfileclient.config line 56)

at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)

at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)

at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)

at System.Configuration.ConfigurationSectionCollection.Get(String name)

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

at Microsoft.Office.Server.UserProfiles.MossClientBase`1.GetServiceBinding(String endpointConfigurationName)

at Microsoft.Office.Server.UserProfiles.MossClientBase`1.GetChannelFactory(String endpointConfigurationName)

at Microsoft.Office.Server.UserProfiles.MossClientBase`1.get_Channel()

at Microsoft.Office.Server.UserProfiles.MossClientBase`1.ExecuteOnChannel(String operationName, CodeBlock codeBlock)

at Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceClient.ExecuteOnChannel(String operationName, CodeBlock codeBlock)

— End of inner exception stack trace —

at Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceClient.ExecuteOnChannel(String operationName, CodeBlock codeBlock)

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

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

at Microsoft.Office.Server.Utilities.SPAsyncCache`2.GetValueNow(K key)

at Microsoft.Office.Server.Utilities.SPAsyncCache`2.GetValue(K key, Boolean asynchronous)

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

at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.Provision()

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

at Microsoft.SharePoint.PostSetupConfiguration.EvalModeProvisionTask.Run()

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

Column Fullgilding í SharePoint 2010

Flest verktaki frammi vandamál með dálki fullgildingarferlum í SharePoint 2003/2007.

Það er mjög sársaukafullt að skrifa fullgildingu nota sérsniðna nálgun eins javascript eða jQuery.

SharePoint 2010 gefur eftirfarandi fullgildingu í út af the kassi.

  • Column Level Validation
  • List Level Validation

Column Level Validation

Þó að skapa nýjum dálki í lista, smelltu á dálki löggilding hnút.

Tilgreina löggilding formúlu þína.

e.g.

[FieldName]=”Gildi”

Formúlan ætti aftur SATT fyrir löggilding til PASS.

Búa til nýja dálkinn í List og Tilgreinið fullgildingu Stillingar.


Búa til nýjan liðurílistanum, Smelltu á Vista til að staðfesta.

WOW ... .life er auðvelt með SharePoint.

State Lag að heyra um List stigi staðfestingu í næstu færslu minni.

CodePlex Release : List Leita WebPart

Hi Community,

I have contributed List Search WebPart for SharePoint in CodePlex.

Project Description:

Þessi Project veitir Listi Leita WebPart fyrir WSS 3.0 / SharePoint 2007. Bara bæta WebPart til síðu og tilgreina lista nafn, sía sviðum, sýna sviðum og viðmið.

Simple Interface for Tool Part with advanced features for list search.

Features

  • Ajax Enabled
  • Easy configuration of list
  • Automatically populates List collection in Drop Down List
  • Filter Fields Selection
  • Display Fields Selection
  • Query operator Selection

Configuration Steps

Open the WebPart in Edit Mode.

Filter Fields: Fields to be rendered at page with input box for filter fields.

Display Fields: Fields to be displayed in grid.

Condition criteria between the fields

When you apply changes the WebPart will render as below:

Please leave your new feature requests here: http://www.mstechblogs.com/Forums/viewtopic.php?f=17&t=2&start=0

How to Create Custom Menu Item in Site Actions

The below sample feature creates new menu item in Site Actions menu, Please replace the GUID in the below code.

Sample Feature File

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

<Feature

Id=”<GUID>”

Title=”Custom Menu Item”

Description=” ”

Version=”1.0.0.0″

Scope=”Website”

Hidden=”False” xmlns=”http://schemas.microsoft.com/sharepoint/”>

<ElementManifests>

<ElementManifest

Location=”elements.xml” />

</ElementManifests>

</Feature>

Sample Elements file

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

<Elements xmlns=”http://schemas.microsoft.com/sharepoint/”>

<CustomAction Id=””

GroupId=”SiteActions”

Location=”Microsoft.SharePoint.StandardMenu”

RequireSiteAdministrator=”TRUE”

Title=”My Blog”

Description=” ”

Sequence=”1″>

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

</CustomAction>

</Elements>

TreeView Doc Lib V 2.0 í CodePlex

I have released the next version of TreeView Document Library WebPart for SharePoint 2007.

Added lögun í þessari útgáfu:

  • Automatically populates the list of document libraries in dropdownlist in toolpart
  • Collapsed TreeView can be managed from toolpart property
  • Automatically shows the appropriate icons for the files in document library

WebPart included as feature in solution package.

Please post your comments or additional feature requests.

Kerfisbundið Sækja Listi yfir Skjal bókasöfn

Eftirfarandi númer seðillinn notað til að sækja lista yfir bókasöfnum skjal.

SPWeb _web = SPContext.Current.Web;


SPListCollection ListColl = _web.Lists;


framhandleggur (SPList _lst í ListColl)

{


ef (_lst.BaseTemplate == SPListTemplateType.DocumentLibrary)

{

LibList.Items.Add(_lst.Title);

}

}

BaseTemplateType er hægt að nota til að greina tegund lista.

Microsoft.IdentityModel samkoma vantar villa á meðan installing SharePoint 2010

Meðan hlaupandi SharePoint Stillingar galdramenn, ef þú færð villu “Microsoft.IdentityModel samkoma vantar”

Gakktu úr skugga um að þú hefur sett upp “Geneva Framework”, þess hluti af pre requisites þínum fyrir SP 2010

Download SharePoint 2010 Beta

Microsoft has released the beta bits of SharePoint 2010 for MSDN & Tech Net subscribers.

I hope it will be available for public in few days J

SharePoint 2010 Technology Stack

SharePoint 2010 Technology Stack looks like below.

The key advantage for the developers would be the development machine can be set it up in Windows Vista or Windows 7 (x64-bit) machine J