I am including a data file (JSON) and am reading the values ​​of it in Apex. Is this a good practice? Since my data will not change and the settings are too large to be saved in a metadata.

The file is included on the Documents tab.

  • 2
    if it will not change - why not include it as a static resource? That would be a better approach to be able to access it anywhere. – Ronnie Jul 3 '18 at 20:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.