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?
publishServiceProvider.updateCollectionSetSettings
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!

I've gone ahead and handled the collection set creation and update at the server from within updateCollectionSetSettings, likewise for handling collection creation and updating within updateCollectionSettings.  Failure at the server is correctly aborting the adding/updating of the collection/set within Lightroom.  All is good.

Similar Messages

  • Can a Collection Set show the total number of images held within all of its Collections?

    I have a number of Collections held in Collection Sets.  I know the number of images in each Collection but the Collection Set doesn't give a total. Is there a switch somewhere I need to turn on to get this info?

    Hello,
    select "Library->Show fotos in subfolder". Goto grid view. Display the filmstrip. Select the collection set. The total number of images is displayed on top of the film strip.

  • Best Place to Buy a new iPhone 3G in the US?

    I'm planning to buy an iPhone 3G. Yeah I know, why am I buying it after hearing so many problems with it? Well, I think Apple and AT&T will fix the problems since it is in their interest to do so.
    Anyhow, Where is the best place to buy it in the US; the Apple Store, AT&T Store or Best Buy (Starting Sept 7)?
    Some of my friends bought it at the Apple and AT&T stores and when they had problems with it and had to return it they got a refurbished one.
    I was thinking of waiting for Best Buy to get it so if there is a problem with it then maybe I can get a new brand new one. Is this true? Also, I went by the Best Buy store and the salesperson told me that they will offer insurance for the iPhone which the Apple and AT&T store don't offer.
    Any recommendations? Thanks.

    Just to give you a head up if you have finally decided to buy iPhone from Best Buy. Unless Apple have fixed the bugs in firmware 2.1. You will most likely encounter frequent crashes using any Apps from Apple store, or simply browsing. The worst of course is the SAD (Silver Apple of Death) where your iPhone is bricked until you go home and restore it using iTunes.
    I suggest if you really have these issues, DO NOT exchange your iPhone, because all iPhones are the same! It's the software problem. I'm on my 3rd replacement and that's what I have encountered. Exchanged three times, all three have the exact same software stability -- Bad! Dust getting underneath the glass is actually the norm! I am already reluctant to go back to Apple Store for an exchange. I guess I'll ask them to exchange for a new one when there are more dust getting in the screen. SAD SAD SAD.

  • Setting up the server Mac OS 10.8.3 on a dynamic IP and running Podcast Producer

    Greetings!
    I need to configure MAC OS X Server 10.8.3 with the version of software to work with a dynamic IP via dyn.com / dns / or what is a better way.
    And we must port the Podcast Producer to version 10.8 the fact that it supports both free software server package to version 10.7.5 (this package can be downloaded for free on the site aple.com since the program itself is free).
    And then it all set up, you need it to work.
    The general idea is that on remote computers, iMac, iPhone, iPad made ​​podcasts. Thrown off the server. The server writes the files to your disk and raspiarivaet podcast for download from different sources.
    If you could do it - byloby wonderful. Write, discuss payment.
    Best regards.

    Greetings!
    I need to configure MAC OS X Server 10.8.3 with the version of software to work with a dynamic IP via dyn.com / dns / or what is a better way.
    And we must port the Podcast Producer to version 10.8 the fact that it supports both free software server package to version 10.7.5 (this package can be downloaded for free on the site aple.com since the program itself is free).
    And then it all set up, you need it to work.
    The general idea is that on remote computers, iMac, iPhone, iPad made ​​podcasts. Thrown off the server. The server writes the files to your disk and raspiarivaet podcast for download from different sources.
    If you could do it - byloby wonderful. Write, discuss payment.
    Best regards.

  • CMS System to create a page on the server

    Hi all,
    I am looking for a way for ColdFusion to create and save an
    html (or cfml) page generated by a user entering text into a form
    field on an html template page and submitting the text.
    I am looking to build an email system to allow the client to
    create email mailshots and to provide a link to an online html page
    if the email does not display correctly.
    I have built the aspect of it whereby the user can send the
    email, I just need the content of that email to be saved as an html
    page with todays date as the filename on the server.
    Any suggestions appreciated.
    Thanks,
    Paul

    2 cf tags will help you:
    <cffile> and <cfsavecontent>
    you my need only cffile, depending on how your form is
    constructed and
    how you process it...
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • How to set at the server level to log transport request in SAP ME

    Hi:
    when I do configuration in SAP ME, can I set at the system level to log for transport request ?
    so I can  use transport request for other client or server.

    Hi!
    There is no "transport request" in SAP ME, however, there is Configuration Data Transfer Export/Import activity which can export the data to ZIP file at the source site and then import that file at the destination site.
    CDT activity can utilize CTS+ as a transport channel but I would suggest ZIP file instead because the file can be edited manually in case of any issue or if you want to remove some data.
    For details, please consult this How-To Guide.
    Regards,
    Sergiy

  • How to create a file in the server?

    Hi,
    I'm making a webservice that has to generate a XML file, sign it using another webservice and return this XML. The problem is that i don't know how to create the file in the server throught webservice.
    I use this code in the webservice to generate the XML and after I return the XML to client in a byte[]
         static void outputDocumentToFile(Document myDocument, String path) {
            //setup this like outputDocument
              try {
                   // XMLOutputter outputter = new XMLOutputter("  ", true);
                   XMLOutputter outputter = new XMLOutputter();
                   //output to a file
                   FileWriter writer = new FileWriter(path);
                   outputter.output(myDocument, writer);
                   writer.close();
              } catch(java.io.IOException e) {
                   e.printStackTrace();
        }But the file is generated in the client-side, how can I generate the file in the server-side?
    Thanks very much.

    Well the File object doesn't create a file it's simply an abstract representation of file and directory pathnames.
    You can try something like this:
    <%
    try
    // get the path to the web server root
    // I read somewhere not to use 'getRealPath' for some reason which I
    // can't seem to remember :S Hopefull someone can enlighten us :)
    String path = application.getRealPath("/project/jsp/demo.txt");
    File file = new File(path);
    PrintWriter writer = new PrintWriter(new BufferedWriter(new FileWriter(file)));
    writer.println("Hello World!");
    writer.close();
    catch (Exception e)
    System.err.println(e.getMessage());
    %>
    Hope this helps :)

  • Create a directory on the server based on the username logged in the client

    hello everybody,
    All my files which are transferred from client to server are stored in a directory called "workspace".Before the user sends the files, he is authenticated.How can I create a directory on the user name who is logged in on the server???
    Say, user1 has logged in and tries to send files to server.Now, I'd like to create a sub-directory user1 under work space so that all the files which he uploads will be stored under his name.When the user1 is logged in the first time, a directory will be created on his name else all files will be stored under his directory.
    I'm using JDBC with my-sql.
    ANy ideas??
    Thanks for your time.

    Well, it wouldn't matter what DB you are using....
    You have the user name, correct?
    You have the File object refering to the main directory, correct?
    File userDir = new File(mainDir, username);
    if(!userDir.exists()) {
       if(!userDir.mkdirs()) {
           throw new IOException("Can't make directory " + userDir.getAbsolutePath());
    // use userDir to write any files...

  • Where is the best place to see videos and other information about the features in the ipad

    I keep hearing about the 200 new features in the IPad 2 where can i find all 200

    Some of them are for developers and is not surface into the UI. But anyway here is a place to start:
    http://www.apple.com/ios/features.html

  • How to deploy Visual composer applications and set up the server

    Hi ,
    I have SAP Netweaver developer studio client installed on my Laptop and I can use it to create VC applications but I cannot visualise the applications since I don't have server.
    Is there a server that  I can install and configure? and what else do I need before I can successfully deploy visual composer applications.
    thanks

    Hi Bhat,
    Please ping server whether it is reachable or not.
    Please enter IP and host name in the host file (Start>>Drivers>>etc>>host file)
    Then enter host and instance number in NWDS. then open server view through open perspective, it will show you whether server is up or not.
    Hope this will helps you.
    Regards
    Arun

  • Smart Collection by Collection Sets?

    Hey all,
    Quick question on creating a Smart Collection within a Collection Set:
    Here's the deal:
    I have a collection set.  In it, I have a collection of about 358 photos.  From there, I rated the photos.  I then tried to create a Smart Collection from within that Collection Set, searching for photos that are 3 stars or above as my only criteria.  I targeted the Collection Set as the place where the Smart Album should be created.  (So it's Collection Set > Collection and Smart Collection)
    The issue is, with 3 stars and above being the only criteria selected, it is picking 3 stars and above from across my entire library, (returning about 17,000 photos that meet this criteria).
    I only want "3 stars and above" from this particular collection set, but without having to add additional criteria (I am coming from Aperture, and this was easy to do by "Project." )
    Is there a way to do this in Lightroom per collection set?  I added a keyword as an additional criteria, and with 2 rules, it works the way I would like, but I really was hoping that Smart Albums could search by Collection Set and not across the entire library.
    Any tips?
    Thanks!
    GG

    GG,
    Smart Collections always work on the entire catalog. You'd have to include the collection name as a additional criteria to achieve what you want.
    Beat Gossweiler
    Switzerland

  • Keyword search on collection set not working for specific sub-collections

    I am having the following problem:
    When I do a search (Text->Keyword->Contains All-> for a keyword (in my
    case "Fave"), it does not work if I select the collection set that contains the
    collection that contains the images with that keyword.
    It DOES work if I select the folder, parent folder, or just the
    collection that contains the image. Just not the collection set.
    The details of how this came about are below - and are probably a
    little unusual, but not outside the realm of what should be allowed.
    Is there a way to reset/reindex keywords in a collection?
    Specifically:
    images lives in collection C1 which is part of collection set
    CS1. It lives in F1 (on disk and in LR) which is in parent folder
    PF1. A keyword search works when I select F1 or PF1 or C1, but NOT
    when I select CS1
    This happens on a set of folders that went through the following
    (totally allowable?) sequence:
    I am running on a Windows 7 64 bit machine with 64 bit LR3.3
    I have an internal disk where I keep my catalog and images. Windows
    mounts this as P:. I also mount it on my Desktop as the folder
    "Lightroom" (this allows me to change to a larger external disk
    by mounting it in the same place without changing the locations of
    all the files).
    I mistakenly imported pics into P:/PF1 rather than
    C:/.../Desktop/Lightroom/PF1 as I normally do.
    Added keywords made a collection C1 put the images in it, and added
    C1 to collection set CS1
    Having realized my import mistake (P: rather than
    C:/.../Desktop/Lightroom), I went in the Folders->P: section and did
    an Update Folder Location on F1 to C:/.../Desktop/Lightroom/F1
    This seemed to be all fine, but this weird Keyword search problem
    resulted.
    I have tried the following things:
    o Deleting and re-adding Keywords in the Collection
    o Deleting and re-adding the Keywords in the Folder
    o Renaming and relocating the Folder
    o Create new collection C2 and move pics from F1 into C2

    See my simplified recipe for reproducing this bug (which turns out not to be related to the drive mounting I described):
    http://forums.adobe.com/thread/764538

  • Get parent Collectionset in create Collection

    Hi All,
         In Create Collection, How to get parent collectionset.
    Thanks,
    Dung

    I think you want to post this in the Photoshop Lightroom forum (this is the Lightroom SDK forum, for plugin authors).
    Or have I misunderstood the question? (collection:getParent() to get parent in lua code).
    Or are you trying to call the catalog function to create a collection, but don't know what to use for parent collection set? If this is the case, then you will have to create a collection set if you can't find something suitable to act as parent (e.g. a selected collection set obtained from catalog:getActiveSources()). Reminder: parent parameter is optional - if omitted, then collection will be created in root of catalog (or publish service) - that's another option.
    Most of my plugins that create collections create a collection set in the root, named after the plugin, and put all sub-collections/sets in it.

  • Default Collection Set For New Collect

    Good Morning,
    Since upgrading to 5.2 I notice that when I right click on a collection set to create a new collection Lightroom does not default to the collection set I right clicked on as the "Inside Collection Set" if my original collection set is nested inside another collection set. I am then force to scroll through a long list of collection sets to choose the correct one.
    It did not work like this in previous versions - 5.0 or 3.6.
    Is this an intentional change or some type of bug?
    Thanks
    Harry

    I have the same issue. In previous version of LR you could control click on a collection set, select "create collection" and the window would open with the same collection set selected. Now it jumps to the parent collection set of the one you clicked on forcing you to go back and scroll through to find the original collection set. It's a small issue but a pain all the same.

  • I cannot make a top level collection set.

    LR 4 only lists other collection sets as an option or "next to." I have a PC, 16 GIG RAM.

    Shirley Anne Baker wrote:
    When I Click the Plus icon for either Collection or Collection set I get:
    Next to Collection Set (and it lists whatever one I'm on)
    Or
    Inside a Collection Set.
    It depends on your starting point. If you already have a static collection or collection set selected when you press the + icon, I agree you get the options that you've stated. If, however, you do not have any existing static collection or collection set selected (e.g. if you have a folder or even a smart collection selected), when you then press the + icon you will get this:
    So if you're looking to create a new collection set at the top level, either select an existing top level collection (and choose "Next To"), or have no existing static collection/collection set selected and choose "Top Level".

Maybe you are looking for