Page 1 of 1

List builder is Not Working Well

Posted: October 21st, 2022, 9:29 am
by CathyC
To use the list builder, you drag in the list control to the view canvas
image.png
It opens this page where you can select the options for your inquire and it will create the submethod, controllers, table in the ui canvas, etc.
You can then drag in the columns to the results to check which fields you want in the results
image.png
Here is the created list and controllers
image.png
Question: that is a lot of controllers, are they all valid? why are they doubled for the results ones?

Bug: the list ends up without style and not looking like other pages:
image.png
This was a question Shalom and I ran into while on a call working in EC base MVC

Re: List builder is Not Working Well

Posted: October 24th, 2022, 1:38 pm
by SteveCap
The controllers that are created can be choosen by the user.
Inquire will create 4
image.png
image.png (12.65 KiB) Viewed 453 times
image.png
image.png (12.65 KiB) Viewed 453 times
By default it creates one for Paging, Page Size, Sorting, Data Download, and Filtering.
They should all be functional. If you use the wizard multiple times it will create the controllers again for the new list/grid. Deleting a list/grid does not delete the controllers that were created with them. They will have to be deleted separately.

As far as going to the page your page probably does not have a template assigned to it which is where the css gets added or if it is in a template that template is not including the needed css. If the app does not have the css, which is possible because EC MVC is very old you would have to copy it from an existing app.

Re: List builder is Not Working Well

Posted: October 25th, 2022, 8:02 am
by shalomsims
In this case, 10 controller parameters were created called TestSortValues_[PageSize,Data,etc] and TestSortResults_[PageSize,Data,etc] all for one list. Is that because of some setting we used in the ListBuilder?

image.png

Re: List builder is Not Working Well

Posted: May 5th, 2023, 11:56 am
by CathyC
This is resolved now. The list wizard has since been changed and will no longer create many controllers for one list. It will now create one controller with logic inside it to determine which path it should take based on the action.
And the no style issue was a bug that has since been fixed