Missing object type/name from useSelectedRecordIds() #22382
Bredo
started this conversation in
Unsolvable issues
Replies: 2 comments
0 replies
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi team!
I'm playing around with an e-signing integration with DocuSeal (@docusealco), and in my front component that should be placeable anywhere by an admin in Edit Layout, it should only fetch templates belonging to the object type that it's currently embedded as a widget within.
However, currently I'm limited to getting the selected IDs.
I'm currently bypassing this limitation by taking all objects from the Metadata API, and then query the
useSelectedRecordIds[0]across all objects to find a match to the UUID - however this is a pretty meh hack.It would be very ideal to have a
useSelectedObjectmethod that returns the object UUID, and the object name in singular and plural.All reactions