Pengesahan tahap dalam senarai SharePoint 2010

Dalam artikel saya sebelum ini, 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.

Profil pengguna Ralat Pengecualian manakala Mewujudkan Sampel Data dalam SharePoint 2010 Wizard Konfigurasi

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(Rentetan[] 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, Objek& result, Objek& resultRuntimeObject)

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

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

Pengesahan ruangan dalam SharePoint 2010

Kebanyakan pemaju berhadapan dengan isu-isu pengesahan ruangan dalam SharePoint 2003/2007.

Ia adalah benar-benar menyakitkan untuk menulis pengesahan menggunakan pendekatan adat seperti javascript atau jquery.

SharePoint 2010 menyediakan pengesahan berikut dalam Daripada Box.

  • Tahap ruangan Pengesahan
  • Senarai Tahap Pengesahan

Tahap ruangan Pengesahan

Walaupun mewujudkan ruang baru dalam senarai, klik pada nod pengesahan ruangan.

Nyatakan formula pengesahan anda.

e.g.

[FieldName]=”Nilai”

Formula tersebut hendaklah mengembalikan TRUE untuk pengesahan untuk LULUS.

Mewujudkan ruang baru dalam Senarai dan Tentukan Tetapan pengesahan.


Buat perkara baru dalam Senarai, Klik menyimpan untuk mengesahkan.

WOW ... .life mudah dengan SharePoint.

Negeri ditala untuk mendengar tentang pengesahan tahap Senarai dalam post saya yang akan datang.

CodePlex Akhbar : Senarai Carian WebPart

Hi Komuniti,

I have contributed List Search WebPart for SharePoint in CodePlex.

Huraian Projek:

Projek ini menyediakan Senarai Carian WebPart untuk WSS 3.0 / SharePoint 2007. Hanya tambah WebPart untuk halaman dan nyatakan nama senarai, bidang penapis, bidang paparan dan kriteria.

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

Ciri-ciri

  • 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

Cara Membuat Custom Menu Item dalam Tindakan Laman

Ciri-ciri sampel bawah mewujudkan item menu baru di tapak Menu Tindakan, Sila menggantikan GUID dalam kod di bawah.

Contoh Ciri Fail

<?versi xml =”1.0″ pengekodan =”utf-8″?>

<Ciri-ciri

Id =”<GUID>”

Title =”Custom Menu Item”

Penerangan =” ”

Versi =”1.0.0.0″

Skop =”Website”

= Tersembunyi”Palsu” xmlns =”http://schemas.microsoft.com/sharepoint/”>

<ElementManifests>

<ElementManifest

Lokasi =”elements.xml” />

</ElementManifests>

</Ciri-ciri>

Fail Unsur sampel

<?versi xml =”1.0″ pengekodan =”utf-8″?>

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

<CustomAction Id =””

GroupId =”SiteActions”

Lokasi =”Microsoft.SharePoint.StandardMenu”

RequireSiteAdministrator =”BENAR”

Title =”My Blog”

Penerangan =” ”

Urutan =”1″>

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

</CustomAction>

</Unsur>

TreeView Doc Lib V 2.0 dalam CodePlex

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

Ciri-ciri tambahan dalam siaran ini:

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

Pengaturcaraan Ambil Senarai Perpustakaan Dokumen

Berikut Kod yang digunakan untuk mendapatkan semula senarai perpustakaan dokumen.

SPWeb _web = SPContext.Current.Web;


SPListCollection ListColl = _web.Lists;


foreach (SPList _lst dalam ListColl)

{


jika (_lst.BaseTemplate == SPListTemplateType.DocumentLibrary)

{

LibList.Items.Add(_lst.Title);

}

}

BaseTemplateType can be used to identify the Type of list.

Microsoft.IdentityModel perhimpunan Hilang Ralat semasa memasang SharePoint 2010

Walaupun ahli-ahli sihir berjalan SharePoint Konfigurasi, jika anda menghadapi masalah “Microsoft.IdentityModel perhimpunan hilang”

Pastikan anda telah memasang “Rangka Kerja Geneva”, peranannya daripada syarat pra anda untuk SP 2010

Muat SharePoint 2010 Beta

Microsoft telah mengeluarkan bit beta SharePoint 2010 untuk MSDN & Pelanggan Net Tech.

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

SharePoint 2010 Teknologi Stack

SharePoint 2010 Teknologi Stack kelihatan seperti di bawah.

Kelebihan utama untuk pemaju akan menjadi mesin pembangunan dapat membinanya dalam Windows Vista atau Windows 7 (x64 bit) machine J