Cannot Edit Column Default Value

%3CLINGO-SUB%20id%3D%22lingo-sub-2703968%22%20slang%3D%22en-US%22%3ECannot%20Edit%20Column%20Default%20Value%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2703968%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20not%20seen%20this%20error%20before.%20Working%20with%20PnP-PowerShell%20to%20apply%20column%20default%20values%20programmatically%20from%20Azure%20Runbooks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20issue%20is%20that%20after%20all%20scripts%20have%20run%2C%20it%20shows%20the%20%22Project%22%20CDV%20as%20successfully%20applied%20-%20however%2C%20when%20I%20open%20the%20actual%20%22Project%20Management%22%20folder%20folder%20in%20CDV%20settings%2C%20it%20shows%20as%20%22-1%3B%23PT-77706%22%2C%20in%20red%20font%20color%2C%20AND%2C%20I'm%20unable%20to%20edit%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnyone%20have%20any%20ideas%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Kralj_PT_0-1630431377672.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307011iB28D654335585090%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Kralj_PT_0-1630431377672.png%22%20alt%3D%22Kralj_PT_0-1630431377672.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2703968%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Lists%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2704153%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Edit%20Column%20Default%20Value%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2704153%22%20slang%3D%22en-US%22%3EI%20suppose%20it%20is%20important%20to%20note%20that%20I%20can%20set%20the%20radio%20button%20back%20to%20%22Do%20not%20specify%20a%20default%20value%20for%20this%20location%22.%20After%20a%20refresh%20I%20cannot%20select%20the%20tag%20icon%20to%20apply%20a%20managed%20metadata%20term%20to%20the%20field.%20The%20button%20doesn't%20work.%3CBR%20%2F%3E%3CBR%20%2F%3EFurthermore%2C%20here%20are%20the%20two%20lines%20from%20the%20Document%20Library's%20client_LocationBasedDefaults.html%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22%26quot%3B%2Fsites%2FPT-77706%2FShared%2520Documents%2FProject%2520Management%26quot%3B%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%3CDEFAULTVALUE%20fieldname%3D%22%26quot%3BProject%26quot%3B%22%3E-1%3B%23PT-77706%7C89752c42-6469-4941-9ad6-41d21d45ab88%3C%2FDEFAULTVALUE%3E%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22%26quot%3B%2Fsites%2FPT-77706%2FShared%2520Documents%2FProject%2520Management%26quot%3B%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%3CDEFAULTVALUE%20fieldname%3D%22%26quot%3BLevel1%26quot%3B%22%3E-1%3B%23Project%20Management%7C5f0e00ab-5c04-4e79-bda4-1c96d45a38d9%3C%2FDEFAULTVALUE%3E%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20ID's%20are%20correct%20-%20any%20insight%20welcome.%20TIA%3C%2FLINGO-BODY%3E
Occasional Contributor

I have not seen this error before. Working with PnP-PowerShell to apply column default values programmatically from Azure Runbooks.

 

The issue is that after all scripts have run, it shows the "Project" CDV as successfully applied - however, when I open the actual "Project Management" folder folder in CDV settings, it shows as "-1;#PT-77706", in red font color, AND, I'm unable to edit it.

 

Anyone have any ideas?

 

Kralj_PT_0-1630431377672.png

 

1 Reply

I suppose it is important to note that I can set the radio button back to "Do not specify a default value for this location". After a refresh I cannot select the tag icon to apply a managed metadata term to the field. The button doesn't work.

Furthermore, here is the line from the Document Library's client_LocationBasedDefaults.html:

<a href="/sites/PT-77706/Shared%20Documents/Project%20Management"><DefaultValue FieldName="Project">-1;#PT-77706|89752c42-6469-4941-9ad6-41d21d45ab88</DefaultValue></a>

The ID is correct - any insight welcome. TIA