12 Replies Latest reply on Jun 11, 2010 3:28 PM by areohbee

    SDK 3.0 Is Here

    areohbee Level 5
        • 1. Re: SDK 3.0 Is Here
          DFBurns Level 1

          That link is the general start page for a first-time downloader of the SDK. Is there doc anywhere that describes only what's changed for people familiar with the 2.0 SDK? I downloaded the PDF and didn't see a section in there either.

           

          db

          • 2. Re: SDK 3.0 Is Here
            Lichtzeichenanlage Level 1

            Thx for the information. Looks like adobe fullfilled a lot whishes. After briefly checking the api I just miss a movePhoto function....

            • 3. Re: SDK 3.0 Is Here
              Lichtzeichenanlage Level 1

              Yes - would be great to have a "what's new"- However - They've added so many stuff that 2/3 of the api looks changed. The pdf is more or less a starting point with example plugins. But not an api description at all. Therefor you have to download the rest.

              • 4. Re: SDK 3.0 Is Here
                DFBurns Level 1

                Ok then if I have a working 2.x plug-in, will it work with 3.0 without changes? What's the story re backward compatibility? Do I package and support two separate plug-ins or should I build one for 3.0 that gracefully degrades for 2.x? Seems like important info to have. Maybe I missed a doc or a link.

                • 5. Re: SDK 3.0 Is Here
                  areohbee Level 5

                  DFBurns wrote:

                   

                  Is there doc anywhere that describes only what's changed for people familiar with the 2.0 SDK?


                   

                  Not that I'm aware of - why don't you create one and post it here?!

                   

                  PS - I might if you don't...

                   

                  Rob

                  • 6. Re: SDK 3.0 Is Here
                    areohbee Level 5

                    Yeah, a lot more read functions than write functions were implemented.

                    If I figure a way to move a photo I'll post.

                     

                    Just enough to tide us over until SDK 4.0 me-thinks.

                     

                    Rob

                    • 7. Re: SDK 3.0 Is Here
                      areohbee Level 5

                      SDK 3.0 is 99.9% backward compatible - beware of the .1%

                       

                      And at some point, recode to remove all deprecated functions - Adobe is good about removing them in the next version.

                       

                      Rob

                      • 8. Re: SDK 3.0 Is Here
                        SeanMcCormack Adobe Community Professional

                        The withCatalogDo issues we see about the place you mean?

                        • 9. Re: SDK 3.0 Is Here
                          areohbee Level 5

                          Seán McCormack wrote:

                           

                          The withCatalogDo issues we see about the place you mean?

                          Yeah - like that... &setfenv.

                           

                          -R

                          • 10. Re: SDK 3.0 Is Here
                            areohbee Level 5

                            SDK 3.0 - What's New
                            =================

                             

                            LrApplication

                            -------------
                            .addDevelopPresetForPlugin
                            .developPresetByUuid
                            .developPresetFolders
                            .filenamePresets
                            .getDevelopPresetsForPlugin
                            .metadataPresets
                            .serialNumberHash
                            .viewFilterPresets

                             

                            LrBinding - Same.

                             

                            LrCatalog
                            ---------
                            :batchGetFormattedMetadata
                            :batchGetPropertyForPlugin
                            :batchGetRawMetadata
                            :createCollection
                            :createCollectionSet
                            :createKeyword
                            :createSmartCollection
                            :getActiveSources
                            :getAllPhotos
                            :getChildCollectionSets
                            :getChildCollections
                            :getCollectionByLocalIdentifier
                            :getCurrentViewFilter
                            :getFolderByPath
                            :getFolders
                            :getKeywords
                            :getLabelMapToColorName
                            :getMultipleSelectedOrAllPhotos
                            :getPath
                            :getPropertyForPlugin
                            :getPublishServices
                            :getPublishedCollectionByLocalIdentifier
                            :getTargetPhoto
                            :getTargetPhotos
                            :setActiveSources
                            :setPropertyForPlugin
                            :setSelectedPhotos
                            :setViewFilter
                            .kAllPhotos
                            .kLastCatalogExport
                            .kPreviousImport
                            .kQuickCollectionIdentifier
                            .kTargetCollection
                            .kTemporaryImages

                             

                            LrColor - Same.

                             

                            LrDate
                            ------
                            .formatLongDate
                            .formatMediumDate
                            .formatMediumTime
                            .formatShortDate
                            .formatShortTime
                            .timeFromPosixDate
                            .timeToPosixDate

                             

                            LrDevelopPreset - New
                            ---------------------
                            :getFile
                            :getName
                            :getParent
                            :getSetting
                            :getUuid

                             

                            LrDevelopPresetFolder - New
                            ---------------------------
                            :getDevelopPresets
                            :getName
                            :getPath

                             

                            LrDialogs
                            ---------
                            .resetDoNotShowFlag

                             

                            LrErrors - same.

                             

                            LrExportContext
                            ---------------
                            .publishService
                            .publishedCollection
                            .publishedCollectionInfo

                             

                            LrExportRendiiton
                            -----------------
                            :recordPublishedPhotoId
                            :recordPublishedPhotoUrl
                            :skipRender
                            .publishedPhotoId
                            .wasSkipped

                             

                            LrExportSession
                            ---------------
                            :recordRemoteCollectionId
                            :recordRemoteCollectionUrl

                             

                            LrExportSettings - Same.

                             

                            LrFileUtils
                            -----------
                            .readFile
                            (no writeFile function)

                             

                            LrFilterContext - same.
                            LrFtp - same.

                             

                            LrFunctionContext
                            -----------------
                            .callWithEmptyEnvironment
                            .callWithEnvironment
                            .pcallWithEmptyEnvironment
                            .pcallWithEnvironment
                            :addOperationTitleForError

                             

                            LrHttp - same.

                             

                            LrKeyword - New
                            ---------------
                            :getAttributes
                            :getChildren
                            :getName
                            :getParent
                            :getPhotos
                            :getSynonyms
                            :setAttributes
                            :type
                            .catalog
                            .localIdentifier

                             

                            LrLocalization
                            --------------
                            .currentLanguage

                             

                            LrLogger - same.
                            LrMD5 - same.

                             

                            LrMath - New
                            ------------
                            .bitAnd
                            .bitOr
                            .bitXor

                             

                            LrObservableTable - New
                            -----------------------
                            :addObserver
                            :pairs
                            :removeObserver

                             

                            LrPasswords - New
                            -----------------
                            .retrieve
                            .store

                             

                            LrPathUtils - same.

                             

                            LrPhoto
                            -------
                            :addKeyword
                            :applyDevelopPreset
                            :applyMetadataPreset
                            :checkPhotoAvailability
                            :createDevelopSnapshot
                            :getContainedCollections
                            :getContainedPublishCollections
                            :getDevelopSettings
                            :getNameViaPreset
                            :removeKeyword
                            .catalog

                             

                            LrPhotoInfo - same.

                             

                            LrPlugin
                            --------
                            .enabled

                             

                            LrPrefs - same.
                            LrProgressScope - same.

                             

                            LrPublishService - New
                            ----------------------
                            :createPublishedCollection
                            :createPublishedCollectionSet
                            :createPublishedSmartCollection
                            :getChildCollectionSets
                            :getChildCollections
                            :getName
                            :getPluginId
                            :getPublishSettings
                            :type
                            .catalog
                            .localIdentifier

                             

                            LrPublishedCollection - New
                            ---------------------------
                            :addPhotoByRemoteId
                            :addPhotos
                            :addPublishedPhotos
                            :delete
                            :getCollectionInfoSummary
                            :getName
                            :getParent
                            :getPhotos
                            :getPublishedPhotos
                            :getRemoteId
                            :getRemoteUrl
                            :getService
                            :isSmartCollection
                            :removeAllPhotos
                            :removePhotos
                            :setCollectionSettings
                            :setName
                            :setParent
                            :setRemoteId
                            :setRemoteUrl
                            :setSearchDescription
                            :type
                            .catalog
                            .localIdentifier

                             

                            LrPublishedCollectionSet - New
                            ------------------------------
                            :delete
                            :getChildCollectionSets
                            :getChildCollections
                            :getChildren
                            :getCollectionSetInfoSummary
                            :getName
                            :getParent
                            :getRemoteId
                            :getRemoteUrl
                            :getService
                            :getCollectionSetSettings
                            :setName
                            :setParent
                            :setRemoteId
                            :setRemoteUrl
                            :type
                            .catalog
                            .localIdentifier

                             

                            LrPublishedPhoto - New
                            ----------------------
                            :getEditedFlag
                            :getPhoto
                            :getPublishCount
                            :getRemoteId
                            :getRemoteUrl
                            :setEditedFlag
                            :setRemoteId
                            :setRemoteUrl
                            .catalog

                             

                            LrRecursionGuard - same.

                             

                            LrShell
                            -------
                            .openPathsViaCommandLine

                             

                            LrStringUtils
                            -------------
                            .numberToStringWithSeparators

                             

                            LrSystemInfo - New
                            ------------------
                            .appWindowSize
                            .architecture
                            .displayInfo
                            .is64Bit
                            .memSize
                            .numCPUs
                            .osVersion
                            .summaryString

                             

                            LrTasks - same.
                            LrView - appx same.
                            LrWebViewFactory - same I think.
                            LrXml - same.

                             

                            Export Service Provider - Newly documented
                            ------------------------------------------
                            .endDialog
                            .processRenderedPhotos
                            .sectionsForBottomOfDialog
                            .sectionsForTopOfDialog
                            .startDialog
                            .updateExportSettings
                            .allowColorSpaces
                            .allowFileFormats
                            .canExportToTemporaryLocation
                            .canExportVideo
                            .disallowColorSpaces
                            .disallowFileFormats
                            .exportPresetFields
                            .hidePrintResolution
                            .hideSections
                            .showSections
                            .supportsIncrementalPublish

                             

                            Metadata tagset provider - Newly documented.
                            --------------------------------------------
                            id
                            items
                            title

                             

                            Publish Service Provider - New
                            ------------------------------
                            .addCommentToPublishedPhoto
                            .canAddCommentsToService
                            .deletePhotosFromPublishedCollection
                            .deletePublishedCollection
                            .didCreateNewPublishService
                            .didUpdatePublishService
                            .endDialogForCollectionSetSettings
                            .endDialogForCollectionSettings
                            .getCollectionBehaviorInfo
                            .getCommentsFromPublishedCollection
                            .getRatingsFromPublishedCollection
                            .goToPublishedCollection
                            .goToPublishedPhoto
                            .imposeSortOrderOnPublishedCollection
                            .metadataThatTriggersRepublish
                            .renamePublishedCollection
                            .reparentPublishedCollection
                            .shouldDeletePhotosFromServiceOnDeleteFromCatalog
                            .shouldDeletePublishedService
                            .shouldDeletePublishedCollection
                            .shouldReverseSequenceForPublishedCollection
                            .updateCollectionSetSettings
                            .updateCollectionSettings
                            .validatePublishedCollectionName
                            .viewForCollectionSetSettings
                            .viewForCollectionSettings
                            .willDeletePublishService
                            .disableRenamePublishedCollection
                            .disableRenamePublishedCollectionSet
                            .publish_fallbackNameBinding
                            .small_icon
                            .supportsCustomSortOrder
                            .titleForGoToPublishedPhoto
                            .titleForPhotoRating
                            .titleForPublishedCollection
                            .titleForPublishedCollectionSet
                            .titleForPublishedCollectionSet_standalone
                            .titleForPublishedCollection_standalone
                            .titleForPublishedSmartCollection
                            .titleForPublishedSmartCollection_standalone

                             

                            I wrote this late at night by visual comparison.

                            Please let me know if you catch any mistakes.

                            Rob

                            • 11. Re: SDK 3.0 Is Here
                              DFBurns Level 1

                              Thanks much, Rob. Apparently your timeout value is about 2 days. :-)

                              • 12. Re: SDK 3.0 Is Here
                                areohbee Level 5

                                DFBurns wrote:

                                 

                                Thanks much, Rob. Apparently your timeout value is about 2 days. :-)

                                You're welcome. I was hoping someone else would do it first ;-)

                                 

                                 

                                What's new in a nutshell:

                                1. Publishing

                                2. Collections (and Folders)

                                3. Keywords.

                                4. Applying Presets.

                                5. View Filters

                                6. Reading develop settings.

                                7. Enhanced metadata support.

                                8. Misc...

                                 

                                Anything else worthy of mention?

                                 

                                Rob