Select to view content in your preferred language

Will custom functions in user.py be listed in the Expression column in Data Loading Worksheets?

135
2
Jump to solution
2 weeks ago
GISP00
by
Emerging Contributor

When adding new functions to the user.py file, should the functions appear as a list in the Expression column, similar to how the base.py functions appear?

Opinions and advice are my own and not the views of my employer.
This is my personal account. I am not acting as an agent for my employer.
0 Kudos
1 Solution

Accepted Solutions
MikeMillerGIS
Esri Frequent Contributor

You will need to run Update Data Loading Workspace.  This will create a new workspace and add any user functions to the dropdown.

View solution in original post

0 Kudos
2 Replies
MikeMillerGIS
Esri Frequent Contributor

You will need to run Update Data Loading Workspace.  This will create a new workspace and add any user functions to the dropdown.

0 Kudos
MikeMillerGIS
Esri Frequent Contributor

You can also manually add the function name to the hidden lookup sheet.

Right click the tabs and select unhide

select -Lookup-

scroll to the bottom and add your function, in my example, I added create_foo()

MikeMillerGIS_0-1758547188311.png

 

0 Kudos