Skip to main content
September 6, 2021
Question

Error while using a!recordLink() inside Editable grid row configuration

  • September 6, 2021
  • 4 replies
  • 0 views

I am using a!recordLink() inside Editable grid row configuration :

a!gridRowLayout(
contents: { a!linkField(
links: a!recordLink(
label: fv!item.ID,
recordType: cons!REQ_RECORD,
identifier: fv!item.ID
)
)}

After clicking on the ID column link field I am getting below error:

An error was encountered while processing your request.

Could you please help me how can I configure the a!recordlink() field inside the editable grid row configuration.

    4 replies

    gayathris111098
    September 6, 2021

    I don't see any issue in your code. Have you verified fv!item.ID has a value?

    To test it, you can hardcode some valid id in identifier and then check?

    September 6, 2021

    Hi gayathris0003,

    I hardcoded one value instead of fv!item.ID and it worked. 

    Could you please tell me how can i show for others?

    gayathris111098
    September 6, 2021

    First see fv!item.ID has a value by showing just in plain text field and if its not null then try tointeger sometimes type can be issue