cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
trishmalloy
Post Partisan
Post Partisan

Send an HTTP request to SharePoint - Create hidden column isn't creating a column at all

Hello,

 

Here's my syntax ... No column is created.

 

question.PNG

4 REPLIES 4
abm
Super User
Super User

Hi @trishmalloy 

 

What error are you getting after the run? What does the run history shows?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

@abm,

 

Thank you for responding!

 

There are no errors, the flow runs "successfully.

 

Flow-1.PNG

Here's the Body input:

{
"__metadata": {
"type": "SP.FieldText"
},
"Title": "School",
"FieldTypeKind": 2,
"MaxLength": 255,
"Hidden": true,
"DefaultValue": "Knox County Career Center"
}

 

Here's the Body output:

{

  "d": {
    "__metadata": {
      "type""SP.FieldText"
    },
    "DescriptionResource": {
      "__deferred": {
      }
    },
    "TitleResource": {
      "__deferred": {
      }
    },
    "AutoIndexed"false,
    "CanBeDeleted"true,
    "ClientSideComponentId""00000000-0000-0000-0000-000000000000",
    "ClientSideComponentProperties"null,
    "ClientValidationFormula"null,
    "ClientValidationMessage"null,
    "CustomFormatter"null,
    "DefaultFormula"null,
    "DefaultValue""Knox County Career Center",
    "Description""",
    "Direction""none",
    "EnforceUniqueValues"false,
    "EntityPropertyName""School",
    "Filterable"true,
    "FromBaseType"false,
    "Group""Custom Columns",
    "Hidden"true,
    "Id""dc14f3fc-3166-4a31-aa9f-8c96c6b01c80",
    "Indexed"false,
    "IndexStatus"0,
    "InternalName""School",
    "IsModern"false,
    "JSLink""clienttemplates.js",
    "PinnedToFiltersPane"false,
    "ReadOnlyField"false,
    "Required"false,
    "SchemaXml""<Field DisplayName=\"School\" Type=\"Text\" Required=\"FALSE\" ID=\"{dc14f3fc-3166-4a31-aa9f-8c96c6b01c80}\" SourceID=\"{a577b647-c465-4605-a3b9-2fd5cb180ba2}\" StaticName=\"School\" Name=\"School\" ColName=\"nvarchar1\" RowOrdinal=\"0\" MaxLength=\"255\" Hidden=\"TRUE\" CanToggleHidden=\"TRUE\" Version=\"1\"><Default>Knox County Career Center</Default></Field>",
    "Scope""/knoxcountycareercenter/Shared Documents",
    "Sealed"false,
    "ShowInFiltersPane"0,
    "Sortable"true,
    "StaticName""School",
    "Title""School",
    "FieldTypeKind"2,
    "TypeAsString""Text",
    "TypeDisplayName""Single line of text",
    "TypeShortDescription""Single line of text",
    "ValidationFormula"null,
    "ValidationMessage"null,
    "MaxLength"255
  }
}
trishmalloy
Post Partisan
Post Partisan

@abm Any thoughts on this?

abm
Super User
Super User

Hi @trishmalloy 

 

If you are not getting any errors that means the column is created successfully.

 

You can check this by

 

https://{YourSharepointSite.com}/_layouts/15/FldEdit.aspx?List={YourListId}&Field=School

 

Above replace the SharePoint Site and your List Id (GUID).

 

Also have a look at this link.

 

Changing Order / Hiding Columns in New / Edit Forms | Nick Grattan's Blog (wordpress.com)

 

 

Thanks

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (3,851)