I want to use a business process to add a ui element in the form page, for example adding a text field, it will be from the object itself but we need to have users able to add it by themselves and it gets saved in the page design -no issues with placement-
Can this be done? and also how will the new item show, can I control the label/title on page using this process? from user input for example.
I have an angular component that I load to my creatio instance via clio, andI place it in a Freedom UI List page. I want to handle some business logic in that component dependent on the current logged in user. How can I get that with JS and Angular?
Since you are working with Freedom UI, the recommended approach is to use crt handlers rather than the old Terrasoft.SysValue. The current logged-in user is available via the $context object in your request handler.
Here’s an example of how you can access the current user in your Angular component logic:
handlers:[{
request:"crt.HandleViewModelInitRequest",
handler: async (request, next)=>{
await next?.handle(request);// Access the current user information from the contextconst currentUser = request.$context?.CurrentUser;if(currentUser){
request.$context.UserName= currentUser.displayName;}}}];
You can then use UserName inside your component template or for any business logic you need.
This way, your component will always get the correct logged-in user directly in Freedom UI.
I want to have the ability to add more columns with their data-types in my objects, but do this from the front end ui not the app configuration, is it feasable? or is there any limitations to this inquery, It's similar to Asana or Monday.com's feature of being able to add columns on the spot and not needing admin to create it in the object structure itself
Hi! Currently, in Creatio, adding columns to objects and defining their data types must be performed through either the Object Designer in the Application Hub or the Configuration section. There is no feature within Creatio's front-end UI that would allow end users to dynamically create new object columns on the spot like the functionality you described in Asana or Monday.com.
However, a workaround could involve implementing business processes or custom development that lets users store additional data in dynamically generated fields connected to your objects. This would, however, require developer assistance and predefined design.
Thanks for your help, but to clear things out here, for the workaround to be implemented, how are these dynamically generated fields stored? like will they be added to the object as if I'm doing it from Application hub or Configruation, or what?
I’m wondering if anyone has run into this issue and found a solution that I might be overlooking. In the Contacts module, I have a Multi-Select field. When I try to delete a Contact that has value(s) populated in that field, I get a prompt saying the Contact cannot be deleted because it has related records in the Lookup Storage. Since this is a Multi-Select field, I don’t see it as a standard field within the Object. I’m looking for the best way to automatically clear or delete that field/storage when the Contact itself is deleted.
On the object for the multiselect, select the Contact lookup column and change to "Delete with this object". That means the system will automatically delete the related rows in the multiselect object (without asking the user) when the related contact gets deleted.
On the object for the multiselect, select the Contact lookup column and change to "Delete with this object". That means the system will automatically delete the related rows in the multiselect object (without asking the user) when the related contact gets deleted.
Thanks, Ryan! That’s exactly what I was looking for within the Object. I was overthinking it and assumed it would be in the Contact Object, but of course, it wasn’t showing there because it’s a multi-select. Appreciate your help, just a quick blip in my matrix for a moment!