Adding a BAQ dataview from the wizard showed. ![]()
And now itās working with a manual BAQ dv⦠![]()
This whole thing is a hot mess. EDD sucks anyway.
It shows deleted dataviews lol.
Well, I got it to subscribe to a BAQ dataview, it appears on the list.
But it doesnāt work correctly lol.
If its set to filter to >= 2024 and <= 2026 it only shows 24 and 26, but no data from 25
This seems to be the crux of the issue. I was hoping for a simple fix, as the CEO pointed out the issue. I donāt have the time to get an entirely separate graphing method figured out ![]()
Yeah looks like the slider is defined in main.js so not editable in AppStudio. I wish theyād stop doing this and pull those out into apps or /shared. This having the slider in AppStu would be handy so we could fix the columns list and for setting design time pub/sub on our own ep-embedded-app components.
Further, the columns list in the drop down calls the widely used getViewsAndColumns() method which has 3 paths:
-
BAQ: view schema is
baq, so the runtime treats the view as BAQ-backed and resolves columns from the BAQ metadata. -
ERP: view schema is
Erp, so it resolves columns from ERP class attributes. If the class lookup fails, you get no base column list, so nothing surfaces. -
Well-known: special views like
CallContextBpmData,CallContextClientData, andConstantbypass metadata lookup and use the live design-time row fromcurrent.view(...).dataRow().
There is no path for a dv having blank schema value which is the case for TransView on ootb apps and if you add your own TransView, itāll be schema āErpā or āIceā so it fails on path 2 beacuse thereās no BO Erp.TransView.
Adding TransView to well-known list doesnāt work because thereās no row at design-time.
Thereās also an issue where custom columns go in additionalColumns array and no path handles those.
So custom dataviews and columns are pretty useless. I believe this finding likely relates to a bunch of issues around column inheritance in the framework. Your columns are just not there unless backed by a BO or BAQ. Shame.
EDIT: an ok workaround, as suggested by Kevin, is to set TransView to something generic like Ice.UD01 then use those columns instead of your own. Havenāt tried the pub/sub but pretty sure itād work.
