When a user first opens record's form page (the form page consists of a number of tabs), the user is not able to see any tab open, whenever he selects any tab and leaves the page, and then reopens the form page then the previously selected tab is opened. How can we spesify a default tab that user should see when he opens a form page?
You can disable the feature: DisableSaveToProfileSelectedTabIndex, which is responsible for opening the last tab when entering the page, but if you disable it, the first tab should be opened when entering the page, not the last one that was opened.
Hello, Malika Thank you for your response. Could you please tell me more about how I can do the solution you have suggested? I tried to change the code of cliend module, but didn't work as expected.
You don't need to change anything in the code, you can disable the feature through the system UI. To do this, use the link: https://mycreatio.com/0/Flags, but instead of "mycreatio", it should be the name of your site.
I've done several tests enabling and disabling that feature, clearing the cache, logging-off and on.. but the last selected tab in freedom ui is shown when opening the page of any record of the section (in freedom ui).
I have a list page, and its data source is a spesefic object we have created. above the list table there is a search element. What i want is when there is no filter applied the list table should be empty and, when any filter is applied then it should show only the matching resluts. How can i achieve this? What now happening is it is showing all of the existing records, but when i wanted to set up a business rule I could not find any option to access search element.
Clear the list isn't an easy task and needs a development team to be involved. Instead, you can prevent the list load by showing the Error message to the customer:
{
request:"crt.SearchFilterColumnsGroupsRequest",
handler: async (request, next)=>{const searchValueLenIsZero = request?.value?.length==0;const isEmptySearchValue = request?.value?.trim().length==0;if(searchValueLenIsZero || isEmptySearchValue){
Terrasoft.showErrorMessage("There is no filter");}else{
await next?.handle(request);}}}