[BUG] AICloudDocument API is broken
Adobe Illustrator 29.6.1 + Adobe Illustrator SDK Build 207
The AICloudDocument suite’s GetFirstNRecentCloudDocuments function contains 2 suite-breaking bugs:
The
numRecentDocumentsargument is being ignored, e.g. if its value is 10, the function SHOULD return the asset refs for the 10 newest AIC documents stored in the user’s Adobe Cloud. Instead, it ALWAYS returns an unpredictable number of asset refs, usually 110-120.The
reqHandleOutargument SHOULD return a bookmark pointer to the user’s remaining AIC documents, which can be passed toGetNextNRecentCloudDocumentsto get the next batch of asset refs. Instead, it ALWAYS returns NULL. This means thatGetNextNRecentCloudDocumentsCANNOT be used.
--
The GetFirstNRecentCloudDocuments and GetNextNRecentCloudDocuments functions are the ONLY way to obtain valid asset refs from Adobe Cloud. Other AICloudDocument suite functions, e.g. OpenCloudDocument(), REQUIRE a valid asset ref to access an AIC document stored in Adobe Cloud.
e.g. If the user’s Adobe Cloud contains 2000 AIC documents, all 2000 documents ARE accessible in Illustrator’s File > Open > Open from Creative Cloud dialog. However, approximately 1900 of these documents CANNOT be opened by the plugin as their asset refs cannot be obtained.
These bugs render Adobe Illustrator’s AICloudDocument suite practically unusable.
--
Here is an Xcode project which demonstrates this bug: