Hey,
I am currently in the process of copying a site column field from one team to another. Although the code runs successfully, I have encountered an issue where the column is only being used in "wiki pages" within the new team. However, I require the column to be utilized in all types of pages for my ongoing work. To provide a better understanding of the situation, I will include screenshots below:


This is my body from column:
{
"d": {
"__metadata": {
"id": "https://3sfdsfde.sharepoint.com/sites/sfdfsfsf/_api/Web/Lists(guid'blur')/Fields(guid'blur-960f-4d51-a3b0-9a7a3d79a2dc')",
"uri": "https://360itbe.sharepoint.com/sites/sdf-brlur-qfdfd/_api/Web/Lists(guid'e5532b4e-fs-fqdf-9a42-5df57af36c6e')/Fields(guid'5fsdfsdff-4d51-a3b0-9a7a3d79a2dc')",
"type": "SP.FieldLookup"
},
"DescriptionResource": {
"__deferred": {
"uri": "https://dfsdfsdf.sharepoint.com/sites/fds-sdfdfs-sfdsfdf/_api/Web/Lists(guid'e5532b4e-152sfdfs8-42b0fsdf9a42-5df57af36c6e')/Fields(guid'fsdfdf-960f-4d51-a3b0-9a7a3d79a2dc')/DescriptionResource"
}
},
"TitleResource": {
"__deferred": {
"uri": "https://sdfdf.sharepoint.com/sites/fsdfdfsd-sfdfs/_api/Web/Lists(guid'e5532b4e-sfdf-42b0-9asfdf42-5df57af36c6e')/Fields(guid'sfdffs-960f-4d51-a3b0-9a7a3d79a2dc')/TitleResource"
}
},
"AutoIndexed": false,
"CanBeDeleted": true,
"ClientSideComponentId": "00000000-0000-0000-0000-000000000000",
"ClientSideComponentProperties": null,
"ClientValidationFormula": null,
"ClientValidationMessage": null,
"CustomFormatter": null,
"DefaultFormula": null,
"DefaultValue": null,
"Description": "",
"Direction": "none",
"EnforceUniqueValues": false,
"EntityPropertyName": "Locatie",
"Filterable": true,
"FromBaseType": false,
"Group": "Custom Columns",
"Hidden": false,
"Id": "sfdfsfsd",
"Indexed": false,
"IndexStatus": 0,
"InternalName": "Locatie",
"IsModern": false,
"JSLink": "clienttemplates.js",
"PinnedToFiltersPane": false,
"ReadOnlyField": false,
"Required": true,
"SchemaXml": "<Field ClientSideComponentId=\"00000000-0000-0000-0000-000000000000\" DisplayName=\"Locatie\" Format=\"Dropdown\" Indexed=\"FALSE\" List=\"5sfdfsf30a-11cddaaba625\" Mult=\"TRUE\" Name=\"Locatie\" Required=\"TRUE\" ShowField=\"Title\" Title=\"Locatie\" Type=\"LookupMulti\" ID=\"{sfsdfsdf9a2dc}\" Version=\"2\" StaticName=\"Locatie\" SourceID=\"{e5532b4e-1528-42b0-9a42-5df57af36c6e}\" ColName=\"int2\" RowOrdinal=\"0\" />",
"Scope": "/sites/dfsdfdfsion/SitePages",
"Sealed": false,
"ShowInFiltersPane": 0,
"Sortable": false,
"StaticName": "Locatie",
"Title": "Locatie",
"FieldTypeKind": 7,
"TypeAsString": "LookupMulti",
"TypeDisplayName": "Lookup",
"TypeShortDescription": "Lookup (information already on this site)",
"ValidationFormula": null,
"ValidationMessage": null,
"AllowMultipleValues": true,
"DependentLookupInternalNames": {
"__metadata": {
"type": "Collection(Edm.String)"
},
"results": []
},
"IsDependentLookup": false,
"IsRelationship": true,
"LookupField": "Title",
"LookupList": "sfdfsdfsd5",
"LookupWebId": "sfdfsfa",
"PrimaryFieldId": null,
"RelationshipDeleteBehavior": 0,
"UnlimitedLengthInDocumentLibrary": false
}
}
I intentionally inserted random characters into the confidential information, such as the List ID.