I'm writing a Export/Publish Service Provider that supports Publish and Export (supportsIncrementalPublish= true). So, there is only on sectionsForBottomOfDialog() which is used for both Export and Publish. This is nice since most of the setting options should obviously be identical for Export and Publish. A few settings though are only required by the Publish Provider. To keep the Export dialog as simple as possible I would like to hide the Publish specific settings when called via "Export".
Is there a way to identify whether the dialog was opened via "Publish" or "Export" so that I could hide some of the elements in the first case?
Excellent! Totally right! Here's what I found on p.70:
LR_isExportForPublish Boolean, read-only.
True when the current export operation is part of a publish service, either currently running or being edited in the Publishing Manager.
Exactly, what I was looking for!
Thanks for opening my eyes...