Hi all,
I am trying to set column default value for folder(Note: not using column customization) by using column default value setting in document library setting. I am trying to set multi-select value as default value for a folder. Since I can find only default value as text, I am unable to set multi-value. Anyone have solution for this?
Hi
@Navas Shereef
,
Use this PnP PowerShell command to set it:
Set-PnPDefaultColumnValues -List <ListPipeBind> -Field <FieldPipeBind> -value <String[]> -folder <String>
Example1:
Set-PnPDefaultColumnValues -List Documents -Field testchoice -value "A","#B","#C" -folder "testFolder"
Example2:
Set-PnPDefaultColumnValues -List Documents -Field testchoice -value "A","#B" -folder "testFolder"
----------
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.