0

We are trying to create a custom column in the users' OneDrives to display some information reflecting applied retention labels. We achieved to create the colum through PnP.PowerShell and also apply CustomFormatter property with a format that also works on SharePoint Online sites.

Unfortunately the column shows just empty, the custom formatting seems not to be applied.

Digging a bit deeper, I found that custom formatting in SPO creates a div in the fields content with the class "sp-field-customFormatter". This doesn't happen in OfB, so I think that custom column formatting is not working in OfB as the needed scripts don't get loaded.

Can anyone confirm that or tell me that I am mistaken? ;)

1 Answer 1

0

Unfortunately, column formatting is a feature that can be used to customize how fields in SharePoint lists and libraries are displayed. However, it is not supported in OneDrive for Business. The custom formatting scripts do not get loaded in OneDrive for Business, which results in the custom column not being displayed as expected.

Sign up to request clarification or add additional context in comments.

2 Comments

OK, thanks for the confirmation. Bad to hear that. Alternatively, I tried with an SPFX extension with a field customizer. But actually they also don't seem to be supported in OfB, correct?
As far as I know, that's the case.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.