SOLVED

Trying to make a Geolocation column editable in a Sharepoint list

Copper Contributor

In Sharepoint, I am trying to create a map view from a sharepoint list. To do this, I am following this guide (which mirrors the documentation). I had no problems running the powershell....

 

 Add-PnPField -List $List -Type GeoLocation -DisplayName $FieldName -InternalName $FieldName -AddToDefaultView -AddToAllContentTypes

 

 

... and I can see the geolocation field in the site settings:

 

 KXYC3111.png

 

The problem is that I can't edit the value in the list. It doesn't work in "Create", "Edit" or "Edit in Grid". If I click on the column in site settings, there is no option to make it editable.

 

RyU8d22.png

 

2 Replies
best response confirmed by David Mehr (MVP)
Solution

Hello @AdamCodes716 

 

try to create the field direct on list over the SharePoint list GUI. I do the same and it's possible to edit the value, also in grid view:

DavidMehr_0-1703247212388.png

 

 

Best, Dave

Thank you David. Just to be clear, this "location" field must be of the special type "geolocation". From what I have read (and my own experience), it is currently only possible to create this field using code.
1 best response

Accepted Solutions
best response confirmed by David Mehr (MVP)
Solution

Hello @AdamCodes716 

 

try to create the field direct on list over the SharePoint list GUI. I do the same and it's possible to edit the value, also in grid view:

DavidMehr_0-1703247212388.png

 

 

Best, Dave

View solution in original post