As the title says, we sometimes need to disable buttons while still showing them - something which was easy to do in Classic UI. Is there any way of doing so in Freedom UI? I can't see any examples in OOTB Freedom UI areas, anywhere that does have disabled buttons OOTB are in Classic UI sections (e.g. the "Finish session" button on the System User page on the Access Rules tab when no record is selected).
Does it not work to bind an attribute to the enabled property of a button and set as true/false? I've not tried that, but I assume it would work? Have you already tried that?
Hi there - I'm trying to figure out where to put this schema in Creatio configuration to allow for a button in mobile. I've found this article but it isn't clear how/where to apply this:
The "From" field will be filled depending on the "Default sender" selected by you when replying to an email in the Conversation tab.
However, if you are writing the first email in the thread without replying to the previous one, the "From" field will not be automatically filled if you have selected "Use case source mailbox". Instead, it will be filled with the value of the "Default mailbox" if this option has been selected.
Hi All,
I am trying to apply quick filter in the contact section under "All Email" Tab such that is should show all the mails related to the current user
Below is the handler code:
handlers:/**SCHEMA_HANDLERS*/[{
request:"crt.LoadDataRequest",
handler: async (request, next)=>{/*if (request.dataSourceName === "ByOwnerQuickFilterInTimeline_ComboBox_List_DS")
{
const userId = Terrasoft.SysValue.CURRENT_USER.value;
console.log(userId);
//Create a filter to match the owner field with the current user's ID
const filter = new sdk.FilterGroup();
await filter.addExistsFilter("[SysAdminUnit:Contact:Id].Id");
//workaround for filters
const newFilter = Object.assign({}, filter);
newFilter.items = filter.items;
request.parameters.push({
type: "filter",
value: newFilter
});
console.log("testing");
request.$context.attributes.ByOwnerQuickFilterInTimeline_Value[0] = [
{
checkedState: true,
displayValue: "Lori Espinoza",
value: "ccb53f93-d5ab-4121-8598-63a8a694eeb"
}
];
console.log("Test");
return await next?.handle(request);
}
}
Currently there is no tool to set the default filter in the Freedom UI Timeline component, but our R&D team has a task for implementing this functionality in one of the future application releases. Thank you for reporting this to us and helping us in making the app better!
in the OLD UI I used to create a separate module that stored all the constant values used in the code of the pages, such as a specific AccountTypeId or a SysAdminUnitId. I also used to add this module in the edit pages to access those values.
Now I need to do the same thing in the Freedom UI and I haven't figured out how to do it yet. I tried using the same approach by adding the Module in the SCHEMA DEPS and ARGS of the page definition, but I can't access the properties of the custom module.
I did additional tests and found that referencing the module in the SCHEMA DEPS and ARGS is correct, even though while debugging it's not possible to see the page constants "clearly". However, using "await" allows you to access to those values.
For example, like this:
var customerType = await UsrTestConfigurationEnum.AccountTypes.Customer;
I did additional tests and found that referencing the module in the SCHEMA DEPS and ARGS is correct, even though while debugging it's not possible to see the page constants "clearly". However, using "await" allows you to access to those values.
For example, like this:
var customerType = await UsrTestConfigurationEnum.AccountTypes.Customer;
I want to color rows in a list page whose date has passed (Freedom UI).
I tried to add a css file to my list page. I followed this article, but I still have a problem. When I look at the page's inspect, I see that a line has been added with a link to the file I added (
I would appreciate help.
Can you give more specifics? Is the CSS not being applied to the page?
As long as the steps in the article are followed it does load the CSS on the page. The CSS itself would determine whether or not it actually applies to any elements. Ryan
To remove this feature in a particular section, add '"droppable": false' code in the values part of the FileList viewConfigDiff element in that section formpage.
The issue is that I have a quick filter field, and when the zoom-in % of the screen is at 75% or greater, the field dropdown visibility is not proper. I'm trying to modify the CSS so that it works irrespective of the screen zoom. Is there a way to do this?
In the image provided above, the screen zoom level is below 75%, resulting in the Quick Filters dropdown appearing correctly.
In the image above, with the screen zoomed in beyond 75%, the Quick Filters dropdown remains inaccessible, unless the filter is double-tapped, thereby revealing the dropdown.
Sure. I want to add a column called "IsDeleted" or "Deleted" that is marked to true when the record was deleted by a user. Then another process with process that deletion and do the physical deletion.