Skip to main content
March 19, 2024
Solved

Access Denied with recordLink

  • March 19, 2024
  • 6 replies
  • 0 views

Hi,

I have created a record link in a read-only grid. When I click on the link in interface it takes me to the summary page of the record but when I click on the link in site it is giving me Access Denied error. 

Below is code I created for record link and I have administrator level access.

a!linkField(
                      links: a!recordLink(
                        label: fv!row.country_txt,
                        recordType: 'recordType!{d1de8e89-4208-44d3-bb27-0306902c0671}RGRACSLBL Label Change Country',
                        identifier: ri!labelChangeCountryId,
                        dashboard: "summary",
                        openLinkIn: "NEW_TAB"
                      )

    Best answer by konduruc733182

    why do you have a rule input as your identifier? Where is it coming from? Have you tried using fv!identifier and checking it. 

    6 replies

    stefanhelzle0001
    Brainy
    March 19, 2024

    Did you check the security setting of the site, page and record?

    March 19, 2024

    yes, have administrator access to the site, page and record

    konduruc733182
    March 19, 2024

    Have you tried using rich text display field and getting rid of the link field to use a!recordLink()