This pull request aims to tackle DATIM Issue #6743. The Loaded Data page took a lot of effort to maintain, so hopefully these changes should help automate this process.
CODE CHANGES
Removed all hard-coded inventory years, load dates, and evaluation group descriptions for each state, island, and territory
Added main.js to the file directory
Added RetrieveLoadedData() function to query DATIM for analysis metadata
TESTING
Compare the local Loaded Data page to the production version and see that the data is automatically populating. Note that the baseAddress needs to be set to the correct server you wish to test against. This value will need to point to PROD once v19.0 of DATIM eventually is released. This should be tested alongside DATIM PR #6746. Please leave merging this pull request to me, but feel free to review the changes!
This pull request aims to tackle DATIM Issue #6743. The Loaded Data page took a lot of effort to maintain, so hopefully these changes should help automate this process.
CODE CHANGES
main.js
to the file directoryRetrieveLoadedData()
function to query DATIM for analysis metadataTESTING
Compare the local Loaded Data page to the production version and see that the data is automatically populating. Note that the
baseAddress
needs to be set to the correct server you wish to test against. This value will need to point to PROD once v19.0 of DATIM eventually is released. This should be tested alongside DATIM PR #6746. Please leave merging this pull request to me, but feel free to review the changes!