get the current folder directory's UniqueID
Hello,
Is there a way to get the current folder directory's UniqueID?
I can use getGeneiousService(String UniqueID) but that implies I know the UniqueID to begin with. I rather not have to look it up every time (e.g. getGeneiousServices() - there's too many to sift through).
Thanks!
0
-
Hi Matthew,
ServiceUtilities.getSelectedService().getUniqueID() should do it, although you there is not necessarily always a selected folder, so you should check that ServiceUtilities.getSelectedService() is not null first.
0 -
Great! This answered my question.
0
Please sign in to leave a comment.
Comments
2 comments