RecordData 25.1 error

Certified Lead Developer

Hello,

We have moved from version 24.4 to the new 25.1 and we have encountered some errors in interfaces.

The gridFields that were in version 24.4 had a RecordData as data collection in which they were configured with some Fields with relationships

a!recordData(

recordType: recordType!example,

fields:{

recordType!example.example

...

})

Now in version 25.1 the interface is broken because the action records have lost their ID

To fix it, we added the base field recordtype!exxample.id to the field so that it obtains the data since it gave an error and the action link did not appear.

a!recordData(

recordType: recordType!example,

fields:{

recordType!example.id  <-----

recordType!example.example

...

})

Is there any explanation for this?

Thank you

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    Thanks everyone. Just wanted to share what we found after upgrading from 24.4 to 25.1 in case it helps others.We realized this happened because the base id field was not explicitly included in the fields array.

    • The a!recordActionItem() links didn’t show up.
    • Grids using a!recordData() with related fields started erroring out.

    Recommendation you're upgrading to 25.1 or beyond, make sure to check Any record grid using a!recordActionItem() or record links includes the ID field. and All a!recordData() definitions for this change to avoid runtime errors.

Reply
  • 0
    Certified Senior Developer

    Thanks everyone. Just wanted to share what we found after upgrading from 24.4 to 25.1 in case it helps others.We realized this happened because the base id field was not explicitly included in the fields array.

    • The a!recordActionItem() links didn’t show up.
    • Grids using a!recordData() with related fields started erroring out.

    Recommendation you're upgrading to 25.1 or beyond, make sure to check Any record grid using a!recordActionItem() or record links includes the ID field. and All a!recordData() definitions for this change to avoid runtime errors.

Children
No Data