Select to view content in your preferred language

A CheckAvailableExtensions() function to return a list of extensions available for the user

153
0
09-12-2024 07:13 AM
Status: Open
Clubdebambos
Frequent Contributor

At the moment all we have is the CheckExtension() function that requires you to use the extension code as a parameter. 

It would be great if there was a CheckAvailableExtenstions() function that returned a list of extensions available for the user, or an empty string if none available.

Currently, I have to create a list or dictionary of extensions to check for and iterate through them all, putting them through the CheckExtension() functions to see if they are available. The CheckAvailableExtensions() call could do this all for me and save me having to maintain the list/dictionary if new extensions become available.