How to rename a column name in SP List and update the properties like allow multiple values etc.
Looking for solution from PowerApp/ Power Automate. I know how to do manually using Sharepoint site
Solved! Go to Solution.
Hi @pcakhilnadh ,
incase of @zmansuri is busy or out of office and cannot get back to this case in time, I would provide more details based on your requirements, and please consider accept @zmansuri reply as the solution.
We can add some expressions to the body of this action to set the properties of the SharePoint column. The properties that can be changed for the column can refer to the properties in the JOSN of the SharePoint column:
{
"d": {
"__metadata": {
"id": "",
"uri": "",
"type": "SP.FieldChoice"
},
"DescriptionResource": {
"__deferred": {
"uri": ""
}
},
"TitleResource": {
"__deferred": {
"uri": ""
}
},
"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": "test23",
"Filterable": true,
"FromBaseType": false,
"Group": "Custom Columns",
"Hidden": false,
"Id": "e00b1e10-db6f-450a-9cbb-006c8314c485",
"Indexed": false,
"IndexStatus": 0,
"InternalName": "test23",
"IsModern": false,
"JSLink": "clienttemplates.js",
"PinnedToFiltersPane": false,
"ReadOnlyField": false,
"Required": false,
"SchemaXml": "",
"Scope": "",
"Sealed": false,
"ShowInFiltersPane": 0,
"Sortable": true,
"StaticName": "test23",
"Title": "test23",
"FieldTypeKind": 6,
"TypeAsString": "Choice",
"TypeDisplayName": "Choice",
"TypeShortDescription": "Choice (menu to choose from)",
"ValidationFormula": null,
"ValidationMessage": null,
"FillInChoice": false,
"Mappings": null,
"Choices": {
"__metadata": {
"type": "Collection(Edm.String)"
},
"results": []
},
"EditFormat": 0
}
}
Best Regards,
Jessica Gu
asdsad is list name
OderDate is an old name
"TestName" will be the new name
Hi @pcakhilnadh ,
incase of @zmansuri is busy or out of office and cannot get back to this case in time, I would provide more details based on your requirements, and please consider accept @zmansuri reply as the solution.
We can add some expressions to the body of this action to set the properties of the SharePoint column. The properties that can be changed for the column can refer to the properties in the JOSN of the SharePoint column:
{
"d": {
"__metadata": {
"id": "",
"uri": "",
"type": "SP.FieldChoice"
},
"DescriptionResource": {
"__deferred": {
"uri": ""
}
},
"TitleResource": {
"__deferred": {
"uri": ""
}
},
"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": "test23",
"Filterable": true,
"FromBaseType": false,
"Group": "Custom Columns",
"Hidden": false,
"Id": "e00b1e10-db6f-450a-9cbb-006c8314c485",
"Indexed": false,
"IndexStatus": 0,
"InternalName": "test23",
"IsModern": false,
"JSLink": "clienttemplates.js",
"PinnedToFiltersPane": false,
"ReadOnlyField": false,
"Required": false,
"SchemaXml": "",
"Scope": "",
"Sealed": false,
"ShowInFiltersPane": 0,
"Sortable": true,
"StaticName": "test23",
"Title": "test23",
"FieldTypeKind": 6,
"TypeAsString": "Choice",
"TypeDisplayName": "Choice",
"TypeShortDescription": "Choice (menu to choose from)",
"ValidationFormula": null,
"ValidationMessage": null,
"FillInChoice": false,
"Mappings": null,
"Choices": {
"__metadata": {
"type": "Collection(Edm.String)"
},
"results": []
},
"EditFormat": 0
}
}
Best Regards,
Jessica Gu
User | Count |
---|---|
163 | |
90 | |
73 | |
64 | |
62 |
User | Count |
---|---|
210 | |
153 | |
96 | |
87 | |
66 |