In book hierarchy - we see folder - how to get folder name ?
if(Constants.FV_BK_FOLDER == compType || Constants.FV_BK_GROUP == compType)
comp = comp.NextComponentInBook;
print "folder name" - how to do this ? comp.Name or comp.path does not help
otherwise set a breakpoint there and have a look at data browser.
This shows group name - I need folder name.
I've just tried this on FrameMaker 2019 and it seems to work as expected:
comp.BookComponentTitle = 'myFolderName';