List builder is Not Working Well

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Post Reply
CathyC
Posts: 469
Joined: November 16th, 2021, 11:15 am
Contact:

List builder is Not Working Well

Unread post 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
Last edited by CathyC on May 5th, 2023, 11:56 am, edited 1 time in total. word count: 117

Tags:
SteveCap
Posts: 327
Joined: August 26th, 2021, 9:18 am
Contact:

Re: List builder is Not Working Well

Unread post 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 427 times
image.png
image.png (12.65 KiB) Viewed 427 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.
word count: 156
shalomsims
Posts: 38
Joined: March 16th, 2022, 1:04 pm
Contact:

Re: List builder is Not Working Well

Unread post 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
word count: 33
CathyC
Posts: 469
Joined: November 16th, 2021, 11:15 am
Contact:

Re: List builder is Not Working Well

Unread post 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
word count: 55
Post Reply