Hi @DonH - I know it's been 9 years, but here's the macro you were looking for!
https://github.com/macropeople/macrocore/blob/master/meta/mm_getfoldertree.sas
I needed to build it to enable easier switching for those customers who need to run Data Controller in a Workspace Server context https://docs.datacontroller.io/dci-troubleshooting/#workspace-server-type-only
4 years later, and Allan's macro now lives at core/meta/mm_getfoldertree.sas at main · sasjs/core
Carl Sommer - SAS Technical Support
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.