Feature Request: please enable local variables In records

Certified Senior Developer

Feature Request:

Enable local variables where we can query or get some important data related to a record item so that it can be reused in all the of the related actions visibility because we usually do same set of queries/group checks most of the time. 

  Discussion posts and replies are publicly visible

Parents
  • Data related to the core record can be brought into context in one of 3 ways:

    1. as mentioned by the other responses, you can use an Expression-back record at assemble the related data in the expression itself. This will work but will have a performance overhead as you're making two or more round-trips to the data source
    2. you can make a 'VIEW' in the database, effectively bringing the data together in one place. Your record then is still entity-backed but is now referencing the VIEW rather than the original entity
    3. Modern records all you to nest related data in the underling CDT which conceptually works much in the same way as a VIEW does.
Reply
  • Data related to the core record can be brought into context in one of 3 ways:

    1. as mentioned by the other responses, you can use an Expression-back record at assemble the related data in the expression itself. This will work but will have a performance overhead as you're making two or more round-trips to the data source
    2. you can make a 'VIEW' in the database, effectively bringing the data together in one place. Your record then is still entity-backed but is now referencing the VIEW rather than the original entity
    3. Modern records all you to nest related data in the underling CDT which conceptually works much in the same way as a VIEW does.
Children