Skip to main content
Inspiring
Mar 19, 2024 8:59 AM UTC
Solved

Access Denied with recordLink

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"
                      )

    konduruc733182
    Inspiring
    Mar 19, 2024 9:54 AM UTC

    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
    Mar 19, 2024 9:06 AM UTC

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

    Inspiring
    Mar 19, 2024 9:11 AM UTC

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

    konduruc733182
    Inspiring
    Mar 19, 2024 9:13 AM UTC

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