Sharing CustomFunctions with Colleagues

Hi there!

We are using SweepMe in the company and are already sharing our CustomDrivers in a Git repo. Now we have already developed quite some CustomFunctions and we would like to also share those.

What would be the best way to do this with SweepMe! ?

The problem is that SweepMe seems to look only into a specific directory at startup for finding CustomFuntions. How can we add more directories that SweepMe! can search?

Thanks

1 Like

Hello Markus,

Great timing with your question! Starting with SweepMe! version 1.5.7.5, we introduced a new (still beta) feature that allows you to share and load Custom Function scripts from an external folder, similar to how it is already possible with custom drivers.

By default, SweepMe! only loads Custom Function scripts from a specific directory. Here’s how it works:

  • Custom Drivers are loaded by default from:
    C:\Users\Public\Documents\SweepMe!\CustomDevices
  • Custom Function scripts are loaded by default from:
    C:\Users\Public\Documents\SweepMe!\DataModules\CustomFunction\Functions

To extend this functionality with shared repositories or additional folders, you can use the following environment variables:

If you are using the official repositories, the system variables should point to the src folder of the respective directories.

:wrench: Important:
– This requires a Custom Function module with version 2025-07-07 or newer.
– Please note: This feature is currently in beta, and the way external Custom Function scripts are handled may change in future versions of SweepMe!.

Lastly, if you have created Custom Drivers or Custom Function scripts you would be open to sharing, we would be happy to include them in our official repositories. You can submit them via a pull request and benefit from a free quality check and review.

Best,
Franz

1 Like

thank you, this works perfectly

1 Like