Custom Content Browser Filter

Hello.I created an external window for editor. I added a button in it. When I click that button , I would like to list my BPs in content browser according to my filter.
Lets suppose I have 20 character BP. And all of them different. They have their own info according to structure. So just want sort them according to my filter.
Found a document about custom filter.
https://docs.unrealengine.com/latest…xt-/index.html
this doc.

and this is my filter button. I dont know what sould I do ?


FReply FMyGameEditorModule::FilterButton()
{


    FContentBrowserModule& ContentBrowserModule = FModuleManager::Get().LoadModuleChecked<FContentBrowserModule>(TEXT("ContentBrowser"));
    ContentBrowserModule.Get().
    //ContentBrowserModule.Get().SyncBrowserToAssets();
    GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Purple, TEXT("sorted"));

    return FReply::Handled();
}

1 Like