folder level default for compliance asset id
A compliance asset id value can be applied to a folder and this should be 'inherited' as items are created or uploaded to the folder. However, there is no inheritance unlike the classification label. This means a user has to manually tag the asset id of any items they create or upload to the folder. They will not do it or make mistakes. Please can the compliance asset id inherit from the library or folder in the same way as the classification label.

Try this to default the AssetID value: Set-PnPDefaultColumnValues -List “List name” -Folder “Folder name” -Field “ComplianceAssetId” -Value “yourAssetId”
4 comments
-
Chuck commented
If one has 100 contracts in a single folder, each with a different expiration date, the records manager shouldn't have to create 100 different events, and assign the event to 100 different retention labels. There should be one event-driven retention label applied to the folder. It would be best to have the user enter in a "Date Expired" in the SharePoint library metadata and the system could use that date as the trigger for the retention period. Thus, one could put 100 contracts into a single "Contracts" folder and the user would have to enter the metadata field for "Date Expired" and at the date entered the retention clock would start.
-
Chuck commented
If one has 100 contracts in a single folder, each with a different expiration date, the records manager shouldn't have to create 100 different events, and assign the event to 100 different retention labels. There should be one event-driven retention label applied to the folder. It would be best to have the user enter in a "Date Expired" in the SharePoint library metadata and the system could use that date as the trigger for the retention period. Thus, one could put 100 contracts into a single "Contracts" folder and the user would have to enter the metadata field for "Date Expired" and at the date entered the retention clock would start.
-
Chuck commented
Event based retention labels - The records manager should be able to assign the trigger date to a metadata field in SharePoint - For example "Contract Expiration Date" should be a date field and be the trigger for the event based disposition.
-
Krishana commented
Hi Keith Lester, Now we can create the Compliance Asset Id column automate using the pnp Command you can use MS flow or schedule a ps1 script to automate this as per your convenience On the library level or folder level you can apply this. Even you can use Document Center to apply on Document library level and it will inherit.
Set-PnPDefaultColumnValues -List “listname” -Folder “/relative folder name” -FIeld “ComplianceAssetId” -Value “yourAssetId”
Follow this article for more details.
https://regarding365.com/automate-compliance-asset-id-on-sharepoint-documents-f2d47a094b6c