Back Deploy lookup field correctly

RESP515103

Description

The following checks should be met:

  1. Remove attribute Version from field
  2. Add ShowField="Title" attribute to lookup field
  3. Set WebId="~sitecollection" or remove WebId attribute from lookup field
  4. Add List="{WebRelativeListUrl}" attribute to lookup field if List attribute is missing
  5. Change List attribute from GUID to ListUrl for lookup field if List attribute present
  6. Check list existing for lookup field. It should be in same feature

Notes

- Rule does not check fields in the List Schema
- reSP validates #6 as separate rule

Resolution

Fix validation required conditions.

Links

Last updated: 1/17/2016
Comments
Login to leave a comment.