Where is the list of recently shared links stored that are retrieved with cloud.getSharedArtifacts() and can it be refreshed somehow?
Are they stored in the XD file, itself…in the application somewhere? When using this I am getting some odd results. The documentation mentions that it may still list items that are deleted from the cloud and older items, that are still live, may not get listed.
I guess I’m really just looking for a way to get an accurate list of the prototypes and specs that have been shared from an XD file and are still accessible.
Hi @nateUX, could you please provide us more details on the “odd results” you are getting? It will help us replicate the results on our end. Thank you.
Expected result: No link present as it has been deleted Note: This behavior is documented in the api documentation but goes back to my original question of if there is a way to get an accurate list of shared artifacts.
Copy url and paste in browser
Result: Presented with a password entry screen.
Expected result: Some kind of page that lets me know this file doesn’t exist…since I deleted it.
Hi Nate, this one totally slipped - sorry for the delay. However, I’m unable to replicate the error you are seeing here. What I’m suspecting here is that you are not providing a strong enough password. Once you include an uppercase, lowercase, and a number, the update button should be activated.
This one is an expected behavior as the doc points out (also as you mentioned). Also, as you can see in XD, this is an XD behavior as well. You will still see the link after you “permanently delete” the link on the server when you click on the “share” button.
Unfortunately, there is really no way of knowing the exact status from the XD app itself or from the APIs. A potential solution to this will come in the future in the form of REST APIs. Please stay tuned for that update!