for this read only grid , if request is denied then for that row i need to show like Request has been denied ("comments for denied") and in brackets rejection comments as shown in pic .
Can someone help me with the code
Discussion posts and replies are publicly visible
Hi ZAINAB ,
a!gridColumn( label: "Answer", value: a!richTextDisplayField( value:{ a!richTextItem( text: /*normal text*/ ), a!richTextItem( text: "(required comment)", showWhen: /* give your condition here for denied tasks*/ ) } ) )
data is getting from record type
the above code is just a sample, if data is coming from recordtype use below notation
fv!row[recordType!yourRecord.fields.value]
getting the below error
code
Please add & after "(" in second rich text item
still same error Sri Ram Kaja
The record type you used for grid is Audit log. Now you cannot use requests in fv!row[] in second rich text item. Use relationship between audit log and request if there is any relationship added. Else try to add the relationship or get the request details separately in a local variable and then use that in rich text item
example: fv!row[recordType!AuditLog.relationships.Requests.requestStaus]
Hi amjadk7839 ,
Please dont post this image in every post you see in discussion as this is not relevant for this discussion. Since you created a separate thread for this thing, please expect a reply there.