Hey there, I’ve been looking everywhere for this but I’m out of ideas. Hope that you could help me, the thing is: I’ve been meaning to add a Reference Viewer functionality to a button in a editor tools widget, I already have an asset there, so the real problem is I don’t know how to open the Reference Viewer for an specific asset on BP or C++. I know that it can be opened by right clicking an asset and opening the Reference Viewer, but that wouldn’t cut it.
I’ve been looking at the source code and the nearest I could find was
IAssetManagerEditorModule::Get().OpenReferenceViewerUI(AssetIdentifiers);
but no idea on how to use it, don’t know anything about Slate and also the includes didn’t work for that one, also found SReferenceViewer.h/cpp
and UEdGraph_ReferenceViewer
but no idea on how to implement them or include their references.
TL;DR: Need a way to open the Reference Viewer from BP or C++ for an asset