Validation nivel listë në SharePoint 2010

Në artikullin tim të mëparshëm, I wrote about column level validation in SharePoint 2010.

List level validation will trigger before saving the content. The validation should return TRUE to save the content.

Library Information List:

I have created sample list Library Information with the following columns.

Validation Scenario:

Due date should be greater than Issue Date.

Validation Settings:

Go to List Settings and click on Validation settings.

Specify the validation rule “DueDate > IssueDate”, then specify the error message to be displayed for the user.

Save the Validation Settings.

Create new item in list.

If the validation fails, the error message will be displayed to the user.

Profile User Gabim Exception ndërsa Krijimi dhënat e mostrës në SharePoint 2010 Konfigurimi Wizard

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

You need to Install the hotfix for Windows Server 2008 R2 / Dritaret 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 Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\Profile\client.config line 56)

Microsoft.Office.Server.UserProfiles.UserProfileException: Unrecognized attribute ‘allowInsecureTransport’. Note that attribute names are case-sensitive. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\Profile\client.config line 56) —> System.Configuration.ConfigurationErrorsException: Unrecognized attribute ‘allowInsecureTransport’. Note that attribute names are case-sensitive. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\Profile\client.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, Objekt& result, Objekt& resultRuntimeObject)

at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Objekt& result, Objekt& 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()

në Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

Validation Column në SharePoint 2010

Shumica e zhvilluesve të përballur çështjet me validations kolonë në SharePoint 2003/2007.

Ajo është me të vërtetë e dhimbshme për të shkruar validimin duke përdorur qasje me porosi si javascript ose jQuery.

SharePoint 2010 ofron validations e mëposhtme në të dalë nga kutia.

  • Niveli Column Validation
  • Lista Niveli Validation

Niveli Column Validation

Ndërsa duke krijuar kolonë të ri në listë, klikoni mbi nyjen kolonë validation.

Specifikoni formulë tuaj validation.

e.g.

[FieldName]=”Vlerë”

Formula duhet të kthehen TRUE për validation për të PASS.

Krijo kolonë të ri në Lista dhe Specifikoni validation Settings.


Krijo artikull të ri në Lista, Kliko ruani për të vërtetuar.

WOW ... .life është e lehtë me SharePoint.

Shteti Tuned për të dëgjuar për të nivelit Lista validation në postin tim të ardhshëm.

CodePlex Release : Lista Kërko WebPart

Hi Komuniteti,

I have contributed List Search WebPart for SharePoint in CodePlex.

Përshkrimi i projektit:

Ky projekt siguron Lista Kërko WebPart për WSS 3.0 / SharePoint 2007. Vetëm të shtoni WebPart për faqe dhe të specifikoni emrin e listës, Fushat filtër, Fushat dhe kriteret e ekranit.

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

Si të Krijo Custom Menu Item në Site Actions

Tipar më poshtë Mostra krijon artikull i ri menu në menynë Site Actions, Ju lutemi të zëvendësojë guid në kodin e mëposhtëm.

Mostra Feature dokumentit

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

<Tipar

Id =”<GUID>”

Title =”Custom Menu Item”

Përshkrim =” ”

Version=”1.0.0.0″

Scope=”Website”

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

<ElementManifests>

<ElementManifest

Location=”elements.xml” />

</ElementManifests>

</Tipar>

Sample Elements file

<?version xml =”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”

Përshkrim =” ”

Sequence=”1″>

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

</CustomAction>

</Elements>

TreeView Doc Lib V 2.0 në CodePlex

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

Shtuar karakteristika në këtë version:

  • 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.

Programuar Retrieve Dokumentit Lista e Bibliotekave

Copë vijim Kodi është përdorur për të marrë listën e bibliotekave të dokumenteve.

SPWeb _web = SPContext.Current.Web;


SPListCollection ListColl = _web.Lists;


foreach (SPList _lst ListColl)

{


nëse (_lst.BaseTemplate == SPListTemplateType.DocumentLibrary)

{

LibList.Items.Add(_lst.Title);

}

}

BaseTemplateType can be used to identify the Type of list.

Microsoft.IdentityModel kuvendi Zhdukur Gabim gjatë instalimit SharePoint 2010

Ndërsa drejtimin magjistarët SharePoint Konfigurimi, nëse ju merrni një gabim “Kuvendi Microsoft.IdentityModel zhdukur”

Sigurohuni që ju keni instaluar “Korniza Gjenevë”, pjesë e saj e kushteve tuaja të para për PS 2010

Shkarko 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 Teknologji Stack

SharePoint 2010 Teknologji Stack duket si më poshtë.

Avantazhi kryesor për zhvilluesit do të jetë makinë zhvillim mund të vendosur atë në Windows Vista ose Windows 7 (x64-bit) makinë J