2 Replies Latest reply on Jun 13, 2010 6:02 AM by José (joez) Pires

    createCollection: "name parameter is missing or is not a string" error

    José (joez) Pires
        1. hello, I'm testing the new LR3 SDK function, and with a simple code :
          1.   local MonCat = import 'LrApplication'.activeCatalog()
          2.   local MaCol = MonCat.createCollection("PickUp",nil,true)
          3. I got the "name parameter is missign or is not a string" error
          4. I got the same result with this syntax :
          5.       local MaCol = MonCat.createCollection("PickUp")
          6. I thought that "PickUp" was a string, it seems that LR is thinking diferrently ! What is the obvious mistake that I don't see on my code ?