Skip to content

Resolve "Consider using an immutable value, instead of the datasource name, when constructing a formula."

What is in this MR

The MR changes the use of the data source name in a get formula to the use of the data source id instead.

So instead of doing get('data_source.My Data Source.Name') we will do get('data_source.0.Name') where 0 is the id of My Data Source.

How to test this MR

  • Create a new builder application
  • Add a new data source to fetch a row
  • Add a paragraph element
  • display some attribute of the row in the paragraph using the new syntax.
    • You can check the page.data_sources in the store page store to find the id of your data source

Merge Request Checklist

  • changelog.md has been updated if required.
  • New/updated Premium/Enterprise features are separated correctly in the premium or enterprise folder
  • The latest Chrome and Firefox have been used to test any new frontend features
  • Documentation has been updated
  • Quality Standards are met
  • Performance: tables are still fast with 100k+ rows, 100+ field tables
  • The redoc API pages have been updated for any REST API changes
  • Our custom API docs are updated for changes to endpoints accessed via api tokens
  • The UI/UX has been updated following UI Style Guide

Closes #1853 (closed)

Edited by Alexander Haller

Merge request reports