I created an interface via an array of components, i.e.
{
rule!header_component,
a!gridField(
...
)
rule!footer_component
}
The grid is using a recordType for it's data, I enabled the export to excel button to the grid but when I click the button I get the error in the csv file: " Expression evaluation error: could not find variable 'model!parseModel' ". I have no idea what this variable is or where it could be from or what it does. I checked within the record list view, and that exports perfectly fine, it just doesn't work in the grid Interface I have.
Discussion posts and replies are publicly visible
Check tomcat-stdout.log file and share if you find any errors in it, please
Odd. We can look at the logs but this sounds like a bug if the export works from your Record List View.
I would log a support ticket.
It seems the issue arises because your grid is using a read-only interface without the necessary context for model!parseModel, which is typically available in the record list view. You may need to manually configure the export context or check if the interface setup complies with Appian's export requirements. I ran into a similar structured output issue while working on data formatting for a PhD thesis writing service, and ensuring proper context resolved it. Hope this helps!
model!parseModel
create a site for your interface with the interface which has that read only grid.
You will able to export excel from the site but not from the interface
While trying to export from readOnly grid interface, we see this error in the file: " Expression evaluation error: could not find variable 'model!parseModel'
If you save this interface and cofig to a site and try, you will get the data in the file. From the interface object, parsing cannot be done.