Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

Figure out a way to merge all the new 2013 stuff in the Schemas namespace with the new FieldInfos objects from the new 2010 Setup namespace #8

Open
taoneill opened this issue Apr 4, 2014 · 0 comments
Milestone

Comments

@taoneill
Copy link
Contributor

taoneill commented Apr 4, 2014

Ideally, we should enhance FieldInfos to be more complete (e.g. TaxonomyFieldInfo, etc.) and collaborate with/reuse the new Schemas utils so that we don't have to depend on any Element.xml.

Basically, we want:

  1. Create FieldInfo object that hold all field schema metadata as a static "constant" object in your Contracts project
  2. Use a FieldHelper with capabilities similar to ContentTypeHelper to EnsureField(FieldCollection, FieldInfo)

This way we can provision fields easily on a site collection or on a list. This is related to #1, where some things that @FranckyC or @yohanb added to ListHelper don't follow the "Ensure"/"Add if not exists" philosophy of ContentTypeHelper.

@drdeteck drdeteck modified the milestone: v0.5-2013 Apr 4, 2014
@taoneill taoneill modified the milestone: v0.5-2013 Apr 4, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants