FavoriteVikas Palakiti (Adobe) posted in LWC (Originally asked by Vikas Palakiti)Aug 1, 2025, 9:24 AMVikas PalakitiUrgent : Hi folks Can anyone explain in simple terms about tooling, metadata apis and give me code to get the count of lwc components, flows, process builders,custom objects(excluding app exchnage and including) a I have tried but getting errorsThe output successfully printed in developer console through anonymous apex but when i added it to agent or flow it was giving me zero. First when i writtn code through metadata api session id was null in debug logs whereas getting correct output through anonymous apex. When trying to tooling api getting correct output and it was not displaying in agent Add a commentWrite a comment...BoldItalicUnderlineStrikethroughBulleted ListNumbered ListAdd linkCode blockInsert imageAttach filesLink URLCancelSave0/9000Reply
Vikas PalakitiUrgent : Hi folks Can anyone explain in simple terms about tooling, metadata apis and give me code to get the count of lwc components, flows, process builders,custom objects(excluding app exchnage and including) a I have tried but getting errorsThe output successfully printed in developer console through anonymous apex but when i added it to agent or flow it was giving me zero. First when i writtn code through metadata api session id was null in debug logs whereas getting correct output through anonymous apex. When trying to tooling api getting correct output and it was not displaying in agent