Refresh issue with a!richTextItem on variable refresh

Certified Associate Developer

Hi,

richTextItem not reevaluate once surveyDoc variable changes, can anyone help me




a!richTextDisplayField(
label: "",
labelPosition: "COLLAPSED",
value: {
a!richTextItem(
text: {index(local!languageData,"survey",{})},
style: "STRONG"
),
" : ",
if(count(local!surveyDoc)>0,
a!forEach(
items: local!surveyDoc,
expression: {
a!richTextItem(
text:document(tointeger(fv!item.appianDocumentId),"name")& char(13),
link:
if(rule!APN_isBlank(fv!item),
null,
if(rule!TCA_isFileTypeSupportedInDocumentViewer(fileType:document(tointeger(fv!item.appianDocumentId),"extension")),
a!startProcessLink(
processModel: cons!TCA_PM_DOCUMENT_VIEWER,
processParameters: {
documentId: fv!item.documentId,
appiandocid:fv!item.appianDocumentId
}
)

,
a!documentDownloadLink(
label: document(tointeger(fv!item.appianDocumentId),"name"),
document: fv!item.appianDocumentId
)
))

)
}
),a!richTextItem(
text:"Not Available"
))
}
)

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data