Could not display interface. Please check definition and inputs.

I am attempting to use a filter with the Portal to Sail Plug-in but am encountering an error.

My code is the following:
fn!getPortalReportDatasubset(
reportId: cons!APPIAN_ALL_TASKS_REPORT, pagingInfo: topaginginfo(1,10),
filters: { { field : "0", operator : "LIKE", value : "*a*" } },
contextIds: {}
)

Where cons!APPIAN_ALL_TASKS_REPORT is a constant that refers to the Appian out of the box "All Tasks" report.

I've attached a screenshot of the error I am seeing for additional context.

...

OriginalPostID-129532

OriginalPostID-129532

  Discussion posts and replies are publicly visible

Parents
  • Do you know for sure the field value is "0"? The order of the columns in the report does not match the field value. You should output the values of columns[1].field and make sure that is the correct value. I have it my code to write out the field array to a separate local variable the I reference that local!fields[1] to ensure that whatever the field id is the i get the correct one for that column. Downside is that you have to execute the datasubset twice in order to get the fields array.
Reply
  • Do you know for sure the field value is "0"? The order of the columns in the report does not match the field value. You should output the values of columns[1].field and make sure that is the correct value. I have it my code to write out the field array to a separate local variable the I reference that local!fields[1] to ensure that whatever the field id is the i get the correct one for that column. Downside is that you have to execute the datasubset twice in order to get the fields array.
Children
No Data