This project is read-only.
1
Vote

OfficeAMS.Core - CreateField - missing ID

description

Excellent examples. Thank you. Found this issue and fix. Please update.
  • Issue: Missing ID in (new) returned created field.
Method: CreateField
File: OfficeAMS.Core\AppModelExtensions\FieldAndContentTypeExtensions.cs,
Line: 40

public static Field CreateField(this Web web, Guid id, string internalName, string fieldType, string displayName, string group, string additionalXmlAttributes = "", bool executeQuery = true)
  • Fix: web.Context.Load(field, f => f.Id);
    Line: 54

comments