I'm looking for help with setting a default tab in a Freedom UI page.
I want the"Lead Info"tab (which is the first tab) to always be selected by default when opening a lead record. However, after I perform or complete an activity and return to the Lead page, it automatically opens the "Lead Activities" tab instead of the "Lead Info" tab.
Is there a way toset the page to always open the "Lead Info" tab, regardless of the last active tab or navigation history?
You can set the active tab using something like this (where "Tabs" is the name of the tab control):
request.$context.Tabs_SelectedTabIndex_Profile=0;
I've not tried setting that in the crt.HandleViewModelInitRequest, but it could work - although might need to wrap in a setTimeout just to break out of the message loop and let the page load first and for the saved user profile for selected tab is loaded first (I don't believe there is a way to prevent that). Try something like this:
Please, find detailed instructions on how to add pop-up hints in the Adding pop-up hints Academy article.
Unfortunately, there is no basic option to add hints using standard Creatio tools, but the corresponding task is already registered for our R&D department. It will be implemented in further releases.
Please, let us know in case any further information is required.
I have a project where we have a decent amount of tabs per edit page. Many fields are labeled similarly due to the nature of the project. However, not all of them are required on a given page. I think it would make it easier for the users if there was a way to let them know in which tab they are missing a required value. I attach a picture describing what I mean.