Notifications
Announcements
No record found.
after debugging I found this code is what's causing the error,
ExportToExcelFilterTreeBuilder headerFilterBuilder = new ExportToExcelFilterTreeBuilder(resourcestr(PDEImportSheetPicking));
I checked template name all is fine, I refreshed the entities list. nothing helped
Hi DatWard,
This looks like a custom class. The new method in ExportToExcelFilterTreeBuilder class is looking for the data entity name.
Here you are passing resourcestr(PDEImportSheetPicking). Is PDEImportSheetPicking your data entity name? If so, could try this line of code and check if that resolves your issue?
ExportToExcelFilterTreeBuilder headerFilterBuilder = new ExportToExcelFilterTreeBuilder(tableStr(PDEImportSheetPicking));
Hi Gunjan!
Yes that's staging table of data entity. I tried your code... same error
In that case, you will need to replace PDEImportSheetPicking with the name of the entity. Assuming the name of the entity is PDEImportSheetPickingEntity, your code will look like this -
ExportToExcelFilterTreeBuilder headerFilterBuilder = new ExportToExcelFilterTreeBuilder(tableStr(PDEImportSheetPickingEntity));
You can check getDocumentFilters method in BudgetPlanLoadAttachment as an example where the entity is passed to the new method of ExportToExcelFilterTreeBuilder class
Hello GunJan. didn't work. although I followed error this is where I get error from
this is exactly where I get this error, could it be those fields?
Are you able to open excel from other standard forms in the application?
Hi Gunjan.
Didn't quite understand the question
I think you're right I get this error (from same line) when I'm trying to open this form
The form I'm trying to open:
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 559 Most Valuable Professional
André Arnaud de Cal... 464 Super User 2025 Season 2
Sohaib Cheema 250 User Group Leader