deletePublishedCollection : No info.photoIds
Hello,
I'm trying to use deletePublishedCollection function.
However i don't retrieve info.photoIds . I have always nil in this element of info structure.
I did'nt retrieve in the documentation that this element of structure exist. But all examples are using it ???
I don't understand.
Do I do initialize something when I did the export as i did it to retrieve info.remoteId ?
some help will be pleasant
The code I copyed from sample (ZenPhoto/Flicker) isbelow (I reduced in maximum the function and delte all test. But I never go inside the 'for' loop)
function publishServiceProvider.deletePublishedCollection( publishSettings, info )
import 'LrFunctionContext'.callWithContext( 'publishServiceProvider.deletePublishedCollection', function( context )
local progressScope = LrDialogs.showModalProgressDialog {
title = LOC( "$$$/Chouette38/DeletingCollectionAndContents=Deleting photoset ^[^1^]", info.name ),
functionContext = context }
for i, photoId in ipairs( info.photoIds ) do
Chouette38API.deletePhoto( publishSettings, { photoId = photoId } )
end
end )
end
