safe link to execute a rule

Hello Team,

I have to create a link for export to excel and have created a rule which generates exportabledatsubset for download.

Now i am using below code to call it in expression but getting error.

Expression evaluation error at function a!safeLink [line 206]: is not a permitted URI under the configured security rules and cannot be cast to safeUri.

 

Below is the code.

a!sectionLayout(
contents: a!linkField(
links: {
a!safeLink(
label: "test",
uri: getdatasubsetdownloadlinkfromrule(
rule!test_exportexcelrule(local!selctapp)
)
)
}
)
),

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data