Fd.fields() is not working

Hi, community,
In the JS editor, I added the variables to the global window for later use in the browser for testing and fd.fields() is not working.
fd.data() is working, but it is not the same method I want to use.

Do you know why?

Hello @Stepan,

Currently, fd.fields() method is available in SharePoint Online version only.
In SharePoint 2019, you can get internal names of all fields and controls using this code:

1 Like