Hi Community,
Can you provide a snippet example, on how we can hide a Detail (list) if the List contains no data (records)?
Thank you
Sasori
Like
This can only be done with code. A combination of doing some model queries to check for records that would be in the list, then using an attribute bound to the visible property of the list to set as true/false based on the results of the query.
Using the model to query data: https://customerfx.com/article/querying-data-using-filter-conditions-vi…
Using attributes: https://customerfx.com/article/using-custom-attributes-on-a-creatio-freedom-ui-page/
Using the init to execute the above code when the page loads: https://customerfx.com/article/waiting-for-model-to-be-ready-and-loaded…
Ryan
This can only be done with code. A combination of doing some model queries to check for records that would be in the list, then using an attribute bound to the visible property of the list to set as true/false based on the results of the query.
Using the model to query data: https://customerfx.com/article/querying-data-using-filter-conditions-vi…
Using attributes: https://customerfx.com/article/using-custom-attributes-on-a-creatio-freedom-ui-page/
Using the init to execute the above code when the page loads: https://customerfx.com/article/waiting-for-model-to-be-ready-and-loaded…
Ryan
Hello,
Unfortunately, this task cannot be implemented using standard methods.
Ryan has provided helpful recommendations that will assist you with implementation through development methods.
Additionally, we have registered a task for the development team to add such functionality in future releases.
Best regards,
Pavlo