Error using CreateAdditionalListingForPath

Hi,

I'm trying to create a custom dashboard tab with a document preview.

When the Embedding Shell Listings and File Previewers in Dashboards instructions I come to the following error :


CustomControlSite.cpp, 1049, L’objet ne gère pas la propriété ou la méthode « CreateAdditionalListingForPath » (0x80040008)
Tab Test Singer: test.html, 26, L’objet ne gère pas la propriété ou la méthode « CreateAdditionalListingForPath » (0x80040008)
MErrorHelper.cpp, 2347, L’objet ne gère pas la propriété ou la méthode « CreateAdditionalListingForPath » (0x80040008)
(M-Files 25.1.14445.5 2025-02-21T12:01:32.082Z)

With the following : 

testTab.ShowDashboard("test", { ShellFrame: testTab.ShellFrame });

var shellFrame = dashboard.CustomData;
var preview = shellFrame.CreateAdditionalListingForPath("Checked Out to Me\\");

Any idea ? 

Thank you in advance.