Folder with some default values are not coming using the method sp.web.getFolderByServerRelativePath("/sites/dev/DefaultColumnValues/fld_GHk5").getDefaultColumnValues(); .I think that the issue is with the regular expression in the column-defaults/list.ts file in the function getDefaultColumnValues which is called from the folders class.
2.0.11
Please specify what version of the library you are using: [ 2.0.6 ]
Please specify what version(s) of SharePoint you are targeting: [ SP Online ]
If you are not using the latest release, please update and see if the issue is resolved before submitting an issue.
The expected behaviour is to get all default values at folder level when using getDefaultColumnValues() function
It is getting just the first default value at folder level.
Create a folder with some default values and pass the folder to the function sp.web.getFolderByServerRelativePath("/sites/dev/DefaultColumnValues/fld_GHk5").getDefaultColumnValues() to check the default value
yea its a bug, PR soon in, thanks for reporting.
What happens when retrieving values from a folder that has some default values inherited from a parent folder?
Most helpful comment
yea its a bug, PR soon in, thanks for reporting.