diff --git a/samples/react-advanced-page-properties/src/webparts/advancedPageProperties/AdvancedPagePropertiesWebPart.ts b/samples/react-advanced-page-properties/src/webparts/advancedPageProperties/AdvancedPagePropertiesWebPart.ts index 42006c0c1..8c71b8aa6 100644 --- a/samples/react-advanced-page-properties/src/webparts/advancedPageProperties/AdvancedPagePropertiesWebPart.ts +++ b/samples/react-advanced-page-properties/src/webparts/advancedPageProperties/AdvancedPagePropertiesWebPart.ts @@ -76,7 +76,8 @@ export default class AdvancedPagePropertiesWebPart extends BaseClientSideWebPart fi.forEach((f) => { if (!f.FromBaseType && !f.Hidden && f.SchemaXml.indexOf("ShowInListSettings=\"FALSE\"") === -1 && f.TypeAsString !== "Boolean" && f.TypeAsString !== "Note") { - this.availableProperties.push({ key: f.InternalName, text: f.Title }); + const internalFieldName = f.InternalName == "LinkTitle" ? "Title" : f.InternalName; + this.availableProperties.push({ key: internalFieldName, text: f.Title }); Log.Write(f.TypeAsString); } });