Skip to main content
Known Participant
January 29, 2016
Answered

Create new folder and have it shown in the folder panel

  • January 29, 2016
  • 1 reply
  • 631 views

In my plug-in I want to create an sub-directory in my photo folder and have shown in the Folder panel.

The first part was easy ...

LrFileUtils.createAllDirectories(destinationFolder)

After creating it, it is of-course empty.

Question: how can I have this new folder shown in the Folder panel.

Even it I try "Synchronize Folder .." it does not show up.

This topic has been closed for replies.
Correct answer johnrellis

I think the only way to get the folder to appear in the Folders panel via a plugin is to import a photo from that folder, using catalog:addPhoto().

1 reply

johnrellis
johnrellisCorrect answer
Legend
January 29, 2016

I think the only way to get the folder to appear in the Folders panel via a plugin is to import a photo from that folder, using catalog:addPhoto().

dhmc05Author
Known Participant
January 29, 2016

Hi John,

Thanks for the quick response!

Actually I created a couple of directories / folder and used "LrFileUtils.copy" to copy a image file.

When I used "Synchronize Folder ..", only one photo showed up of-course because of "Don't import suspected duplicates".

catalog:addPhoto() might work. I'll try and let you know.