web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow: SP site column help
Power Automate
Answered

Flow: SP site column help

(0) ShareShare
ReportReport
Posted on by 69

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:

LanderDG_0-1684238244508.png

LanderDG_0-1684238775899.png

 

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.

Categories:
  • Verified answer
    Expiscornovus Profile Picture
    33,995 Most Valuable Professional on at

    Hi @LanderDG,

     

    The interface has a add to all content type toggle button for this. In REST API you should be able to set this via one of the Options property:

    https://learn.microsoft.com/en-us/previous-versions/office/sharepoint-server/ee542202(v=office.15)?redirectedfrom=MSDN

     

    addtoallcontenttypes.png

     

     

    Below is an example of using that Options field.

     

    options_4.png

     

    Also be aware that some content types or not managed on the site but in the Content Type gallery (especially the out of the box ones). That would also explain why you are not allowed to add the field to that content type.

     

    In those cases you probably want to create a custom content type (which uses the Microsoft one as a parent) or create the site column in the existing content type (which I wouldn't recommend) and publish the changes to all the sites which are using these content types.

     

    contentypegallery.png

     

     

     

  • LanderDG Profile Picture
    69 on at

    Worked like a charm, thank you so much!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 259 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 134 Super User 2026 Season 2

Last 30 days Overall leaderboard