Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
I have a requirement to show the hyperlink when exported to excel from record grid . The associated DB column has a either a DOC Id or a url .
By exporting ,few fields are shown as desired (both label name with hyperlink), few are just shown with with label and no hyperlink and few are entirely skipped to show the excel.
I have the following sample code.. Is something wrong here?
a!gridColumn( label: "File Name", value: a!linkField(
links:a!safeLink( label: fv!row['recordType!record.fieldname], uri: if( left(fv!row['recordType!record.docImage], 10 ) = "[Document:", document( todocument(fv!row['recordType!record.docImage]), "url" ),fv!row['recordType!record.docImage] )), showWhen:a!isNotNullOrEmpty(fv!row['recordType!record.docImage]),
showwhen:false exportWhen: true, align: "START" ),
Thanks
Discussion posts and replies are publicly visible
The code has showwhen configured twice! So that is something to fix. Also, one of the showWhen condition checking value for docImage whether its null or empty seems to be the cause behind behavior that label is shown without any link. So verify that values might be blank or null in the docImage column so the behavior might be correct.
showwhen: false is not a duplicate . This parameter is being used to hide the column in the UI and I am only exporting it.
The doc Image value is not empty but its still not showing in the export