Hello Community here is me again asking about UiPath Apps stuff
Some know I´m very enthusiatic about apps and I have some cases in mind but for that I need some answers to finally understand more about the new capabilities of now VB Apps. Hopefully I can get some answers from the community. It doesn´t matter if you answer just one question, any feedback is welcome.
Here are my questions.
#1
Which expression can I use to verify whether the edit grid has records or not, so that based on the result I can either maintain the grid hidden if it doesn’t have any records? I remember that in the old version of Apps I accomplished this goal by using the expression below, the output was boolean type so based on it I could perform multiple operations.
#2
What if I have an entity with multiple fields and one of the fields is of Boolean type, and in a label control I want to show the number of total records that has the value true on that entity. Like the rows count property of a datatable but only of the records whose boolean field value are “true”?
Related to this topic, how can I get the total records count from an entity displayed either in an edit grid or in a table control?
Create a List source app variable within your application.
Set the list source variable in the payload or where needed, based on specific filters.
In the “Edit Grid” section, navigate to the “Hidden” category.
Implement the following condition: If({AppVariable.TotalRecords = 0, True, False).
This condition checks if the total records are zero, in which case the grid will be hidden. If there are more records, the grid will be displayed.
Similar to Step 1, you can create a List source app variable. Set the value of the list source by applying filters to the desired calls. Then, in a label, you can use {AppVariable}.TotalRecords or {AppVariable}.data.count. Alternatively, you can implement client-side filtering and count. Please note that “TotalRecords” provides the total count from the server, while “count” will give you only the count of the first 1000 returned records and you can on client side filter
Tooltips are informational messages that appear when you set them and hover over the corresponding field. To provide further clarification, consider the example of an input control. If you want to display a detailed message for the user as information, you can set a tooltip. Users can then hover over the control to access the informative message.