1 Reply Latest reply on Nov 16, 2012 6:30 AM by BenWilliams

    Best place in publishServiceProvider to create collection sets on the server?


      I'm developing a LR publishing plugin that talks to a custom-built back-end.  Collections on the server are created as needed within the publishServiceProvider.processRenderedPhotos function, which is working fine.

      Looking towards supporting collection sets, I don't think it's a good approach to try to manage these on the server at publish-time. 


      I haven't found any examples on creating collection sets on the server.  Is the following function a better place to create the collection sets on the server?




      If so, would it work to talk to the server at this point, get the collection set id, and if that fails, to throw an error?  I'd hope that the collection set creation would then be aborted within LR.

      Any advice is greatly appreciated!