How can I capture the newly changed field value before saving a record in a crt.SaveRecordRequest in Creatio Freedom UI? Currently, I am getting the old value instead of the new one.
If you are looking into the direct way to get changed attributes values in the SaveRecordRequest - there is none documented on our side. But you can use HandleViewModelAttributeChangeRequest where request has the oldValue and value properties, save the original values of needed attributes into the separate parameters and use these parameters in your task.
I have a master record and a detail where I allow inline editing. Making changes on the detail triggers an update on the master record. Because the table behind the master record has live updates, the changes are immediately reflected on the master record.
All that logic works fine. The issue I have is that if the user makes changes to the master record and then changes to the detail (like adding a new detail, deleting or editing an existing one,) the changes on the master record are not saved,.
Is there any way to save the master record when the user saves the detail changes?
At the moment, the Message Composer element is not customizable in the system. We recognize that this limitation may affect your workflow and the flexibility you need to tailor the system to your specific business requirements.
That being said, we want to assure you that we are actively working toward enhancing this functionality. Based on the feedback we've received from you and other users, we've increased the priority of this task.
Your experience and satisfaction with the product are very important to us. We constantly strive to make Creatio more adaptable and user-friendly, and your feedback plays a key role in guiding these improvements
In the classic version we can communicate between modules, for example from page to detail or vice versa using messages.
I have case in my form page there is a modal page, when the modal page is closed it will send data to the form page to do something. How to implementation in freedom?
It would likely work to use requests with the correct scopes set for message exchange like how sandbox worked, but I've not really tried to implement that across different pages. It might also work to just use Javascript's built-in Broadcast Channel API for that as well. It exists for purposes like this, messaging between different contexts. See details here: https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API
Thank you for reaching out. I looked into possible solutions and came across the idea that you could rely on the Resolution time field or find similar fields that are not created until you press Save. Unfortunately, I don’t see any other viable options in your case.
We are in the Account form page. The account form page has three lookup fields (Type, Category, Primary Contact) We want to filter the Primary Contact based on the (Type and Category). How can this be achieved in freedomUI. Any code example?
Note, since that post, the "crt.OpenLookupPageRequest" request has been replaced by the new request "crt.OpenSelectionWindowRequest", so use this new request name instead of what is listed in that post)
Note, since that post, the "crt.OpenLookupPageRequest" request has been replaced by the new request "crt.OpenSelectionWindowRequest", so use this new request name instead of what is listed in that post)
Please upgrade your app to 8.2.1 and use the option to run the process upon clicking the button upon selecting specific records in some specific list (I used banking details list for tests):
I've checked OOB - works properly and the collection of Ids is passed to the process. Here is the part of the code that triggers the process upon button click:
The OOB approach above is static, it passing only 1 paramater which is the recod Id. I need to pass, record Id and data from the detail grid (2 parameters), that's is why i shifted to coding.
You can use the "Read data" element and calling a sub-process to get the data from the passed collection of Ids and then pass this data to the sub-process for additional processing.
Hi thanks for your reply. But the grid actually grid actaully does not have direct relationship to the record id the reason i cannot use read element as well.
I really need to pass 2 parameters
1. RecordId paramater 2. Collection type parameter
This is 100% possible in calssic ui. What is the counterpart in freedom ui?
I don't understand how it's impossible to retrieve needed data from the list records using their IDs that are passed when clicking the button using no-code tools. Please study the approach described.
Hi Oleg, thank you for your reply. The data on the grid is not linked to the record. It is a grid data coming from external source. Therefore I could not use read process element from buisness process.
I need pass the all parameters from client side. In Classic UI this is posible, we are able to manage to pass 1 or more input paramaters from client code to business process, including Guid or Collection Type.
To remove the "+" and process buttons please, follow the instructions: 1) Add and enable the feature "AllowCreateAngularSchema" 2) Relogging to the app 3) In the configuration, replace the MainShell schema with the additional menu item "Angular replacing view model":
Parent object - "Main shell layout with vertical navigation":
4) Fill the new MainShell with the following code and save the module:
In your case if you need to hide it for all users - specify the "All employees" and "All external users" in the GlobalSearchInputVisible operation permission.
It's an option, but we faced several tickets when 2 first DCM stages are not displayed in the UI on all Freedom UI pages when this addon is installed. So better hiding the elements using examples we shared above.
Once enabled, open the code for the page and set some breakpoints. Is a dataSourceName for "LookupAttribute_85sj3qr_List_DS" getting triggered? Maybe the name is wrong?
Is request.$context.Parameter_q8l08xk correctly retrieving the account?
I want to show a message to users when Creatio is working on some process and hide it when the process ends, is there something similar to Toast dialogs/messages but to implement in a Freedom UI page?
I have also seen Ryan Farley's post (https://customerfx.com/article/displaying-toast-message-popups-from-cre…), but in both cases we need to specify a duration and I need the message to be visible until the process finishes. Sometimes it takes a few seconds and when there are more registrations, it could be several minutes and I want the user to know that Creatio is working ...
We had a workaround to display the same toast message again but with a very short duration, since only 1 toast can display at a time, the new one replaces the original and then disappears. Not great and it would be nice to be able to hide toast messages on demand - ideally with reference to a specific message, so if we got back some ID from starting the toast notification.
We had a workaround to display the same toast message again but with a very short duration, since only 1 toast can display at a time, the new one replaces the original and then disappears. Not great and it would be nice to be able to hide toast messages on demand - ideally with reference to a specific message, so if we got back some ID from starting the toast notification.
Harvey's idea could work, display the first toast with awaitResponse, then when the process ends display another toast without the awaitResponse and it should take the place of the first one.