Skip to content
This repository was archived by the owner on Mar 11, 2020. It is now read-only.
This repository was 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

Description

@taoneill

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 Franck Cornu (@FranckyC) or Yohan Belval (@yohanb) added to ListHelper don't follow the "Ensure"/"Add if not exists" philosophy of ContentTypeHelper.

Activity

  1. modified the milestone: v0.5-2013 on Apr 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions