Since Arcade is a new language, it is lacking the diversity of function other language already have.
I propose that a user/team could develop/import/export custom Arcade library function that could eventually share to the community. Those function could then be used in all Arcade code.
Here is a repository intended for sharing and maintaining reuseable Arcade expressions across all supported profiles.
Is it something like this that you're seeking, or something else?
Hello,
No, this is not what I wish. I would like the possibility to code my own Arcade function, then "compile/reference" them and then include the library in the Arcade script. For example
In C# :
using myCustomLibrary
in python:
from myCustomLibrary import *
At the moment I am coding attribute rule and I need to use the same function in many rule, so I just copy paste the function definition. A library would be very useful and will be more inline with other programming language.
Thanks
Sylvain
For sure want this too. I visualize it as a bunch of items called "Arcade Functions" and "Arcade Expressions". 2 different library concepts. Then when I edit and attribute in smart forms I have a Custom Library to pull from. Apply the same code to 50 layers and 5 attributes is 150 times. Fix/find a bug....oh boy that is a lot of changes!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.