Skip to main content
3-Newcomer
April 14, 2026
Solved

Creating a custom REST domain function

  • April 14, 2026
  • 1 reply
  • 21 views

I’m trying to create a custom REST domain with custom functions.  I copied an example to get going and it seems to initially work. However, when I then go to change the import.js, the updates never seem to take. I can actually delete the import.js and the custom function still work implying that the js is cached.

Do I need to restart the server or clear some cache? 

Best answer by falbert

See useCachedJavaScript in odata.propertiesWindchill REST Services OData Properties

Set it to false in a Dev environment to avoid restarting the MethodServer after each modification. Leave it true in Production since it affects performances.

1 reply

falbert17-PeridotAnswer
17-Peridot
April 14, 2026

See useCachedJavaScript in odata.propertiesWindchill REST Services OData Properties

Set it to false in a Dev environment to avoid restarting the MethodServer after each modification. Leave it true in Production since it affects performances.