Skip to main content
superzock
Participant
October 17, 2017
Question

I need to create Default CollectionSets(Folder) through "publish-plugin".

  • October 17, 2017
  • 1 reply
  • 285 views

Hello,

I need to create default CollectionSets(Folder) through "publish-plugin". When Someone configures the plugin then two collections should be created automatically. Can anyone please help me? I am new.

Thanks in advance:)

Anand

This topic has been closed for replies.

1 reply

johnrellis
Legend
October 17, 2017

See the catalog:createCollectionSet() method in the LrCollection class.

superzock
superzockAuthor
Participant
October 18, 2017

Hey,

Thanks for your reply, I got the success to create CollectionSet, but it is showing under Collection tab, I need this in that plugin tab which is generated by "publish-plugin".

Hoping for your reply.

Thanks in advance:)

Anand

johnrellis
Legend
October 18, 2017

I need this in that plugin tab which is generated by "publish-plugin".

Are you referring to the Publish Services panel in the left column of Library?

You create collection sets in a publish service using the method publishService:createPublishedCollectionSet() in the class LrPublishService.