I am trying to follow along with this forum thread and dev doc to change the display and add a new address field:
However, when I follow for "Customizing field type" (same in forum and docs) and I refresh the lead or account, I get the following files loaded in the DevTools instead of my custom ones:
/client/src/views/fields/address.js?_=1617214960188
/client/res/templates/fields/address/detail.tpl?_=1617214960219
I thought it would load these since /client/custom/Espo/Custom/Resources/metadata/fields/address.json exists:
/client/custom/src/views/fields/address.js
/client/custom/res/templates/fields/address/detail.tpl
Am I misunderstanding or misapplying something? My address.json file is just as documented:
How can I debug this and get it to load my custom address files?
Thanks,
Andrew
However, when I follow for "Customizing field type" (same in forum and docs) and I refresh the lead or account, I get the following files loaded in the DevTools instead of my custom ones:
/client/src/views/fields/address.js?_=1617214960188
/client/res/templates/fields/address/detail.tpl?_=1617214960219
I thought it would load these since /client/custom/Espo/Custom/Resources/metadata/fields/address.json exists:
/client/custom/src/views/fields/address.js
/client/custom/res/templates/fields/address/detail.tpl
Am I misunderstanding or misapplying something? My address.json file is just as documented:
Code:
{ "view": "custom:views/fields/address" }
Thanks,
Andrew
Comment