Index

Duplicate list instance Url

Not unique list instance Url might lead to the provision fail.

Ensure Folder ContentTypeRef in list definition

List definitions should include Folder content type to work correctly.

Entity is not provisioned

Any xml manifest is not included into feature considered not provisioned.

Improve web part definition

Adding icons enhance look and feel of the Web Parts with which Web Parts will be more identifiable. It also make Web Parts more professional.

Improve web part module

Web part group property should not be ‘Custom’.

Incorrect 'ID' attr name

List scoped field MUST HAVE "ID" (not "Id") attribute. SharePoint generates random GUID for these fields.

Incorrect lookup field provision

In SharePoint development, developers are often stymied be seemingly simple tasks. Provisioning a lookup field using the declarative model in a solution package is one such task. The most common symptom of an improperly-provisioned lookup is that no error will occur on deployment, but the lookup field will have an empty reference to its parent list when viewed in List Settings. Developers will usually, and correctly, assume that the field is broken because the parent list did not exist yet when the field is provisioned. The most common way this is to use a Feature Receiver to provision their lookups after declaratively provisioning everything else because they cannot figure out a way to make the declarative approach work.

Incorrect 'Note' field index

If you specify (thanks copy & paste) Indexed attribute for note field the exception will occuer during feature activation

Incorrect 'ShowField' attr value

In SharePoint 2013, if schema.xml contains user field with an attribute ShowField="NameWithPicture" it is recommended to replace it with ShowField="NameWithPictureAndDetails" attribute.

Incorrect 'StaticName' length

SharePoint only allows 32-character in field's internal (static) name.

Internal and static field names are different

Internal and static field names are different

Multiple content type groups in element file

Avoid multiple content type groups in one element file.

Multiple field groups in element file

Avoid multiple field groups in one element file.

Prevent field from deletion

If we don't want to let the users to delete the field in SharePoint provide template with attribute AllowDeletion="FALSE"

Prevent list from deletion

If we don't want to let the users to delete the configuration list in SharePoint provide template with attribute AllowDeletion="FALSE".

Login