IPWorks Cloud 2020 JavaScript Edition

Questions / Feedback?

ListLinkItems Method

Lists the files and folders of a link.

Syntax

async sharefile.listLinkItems(linkId : string): Promise<void>

Remarks

Lists the items contained within the link. Calling this method will fire the ItemList event once for each item, and will also populate the Item* properties (clearing any previously-held items in the process).

The items listed are not listed recursively. To get the items contained within folder items, further calls can be done using the ListItems method.

string linkId = shareFile.Links[0].Id;
shareFile.ListLinkItems(linkId);

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 JavaScript Edition - Version 20.0 [Build 8265]