Ask Your Question

uno service: return folder content as a sequence (array) of file url?

asked 2020-01-16 13:11:21 +0200

Lupp gravatar image

I once found this service and cannot find it again.

edit retag flag offensive close merge delete


Opaque gravatar imageOpaque ( 2020-01-16 13:45:32 +0200 )edit

Thanks! However, my question was not about the file picker. It was a service to which I could pass an accessible folder in URL notation and which returned the contained elements. The result was called a sequence but actually was a 1D-array.

Lupp gravatar imageLupp ( 2020-01-16 13:51:58 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2020-01-16 14:28:15 +0200

Lupp gravatar image

updated 2020-01-16 14:29:36 +0200

I got it again. It was the service
My question specifically addressed one of many member functions (of the interface):
sequence< string > getFolderContents ([in] string FolderURL, [in] boolean bIncludeFolders)
In LibreOffice Basic the service is accessible via an object created by createUnoService("")


edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-01-16 13:11:21 +0200

Seen: 43 times

Last updated: Jan 16 '20