Does anyone know if it is possible to send the crt.CreateRecordRequest to a specific page and not to the objects default form?
I want open the a modal form page rather than the default form. I suppose it will be added in upcoming releases but wondering if there is a workaround now.
I am affraid there is no workaround for it, but I will registed a task for our R&D team on this matter. Thank you in helping us to make the application better!
I would like to know the base function that gets called when you click on a lookup value and takes you to a new page in FreedomUI. We are looking to override the function and add our own logic to it.
In creatio-devkit-common there is the Bs class with the constructor with this function:
process: async t=>{const e =this._getHandler(t);return null == e ?void0: e.handle(t)}
and when the lookup value is clicked the "crt.7XRequest" request is caughth with the "EditRecord" action:
(payload stores information about which entity the lookup column represents and which record will be opened) after which page opening is performed. So you need to check for the "crt.7XRequest" request in your case.
We are trying to integrate our service with Creatio CRM and one of our needs is adding custom fields to such entities as Lead, Contact, Order after getting an access token to customer's CRM account
Is there any possibility to use Creatio Rest API to add such fields?
If yes, I would be glad to get an example of such request
Is there a way to copy the record on click of a button in the Form Page such that it will open the record with copied values and is open to edit values?
When I tried to copy a record using Modal class it directly creates a new record in the DB. I don't want to create a new record in DB with copied values but to open a new record with copied value.
By clicking a button you can start a business-process in which you have the element "Open edit page". In this element, you can also set default values from all the columns you need.
I tried doing this but I could not find my custom Form page in the Open edit page field.
Actually I wanted to perform the same operation that we do on click of "Copy" of a record from a list page in the form page on click of button.
On click of a button, Copy all the fields in the current form page and open a new record with copied fields, But the record should not get saved in DB until user saves the record.
To make a column mandatory in FreedomUI, you can follow these steps:
Identify the column you want to make mandatory in the detail view of your form.
Open the code or configuration file associated with your FreedomUI implementation.
Locate the section or code block related to the detail view of your form.
Find the column you want to make mandatory within the code or configuration.
Depending on the specific implementation of FreedomUI, you can typically add a validation rule or attribute to the column to make it mandatory.
Add the necessary code or configuration to enforce the mandatory requirement for the column. This may involve setting a "required" flag, adding a validation rule, or specifying a validation message.
Save your changes and test the form to ensure that the column is now mandatory in the detail view.
It's important to note that the exact steps may vary depending on the version and customization of FreedomUI you are using. Refer to the documentation or consult with the developers or support team of FreedomUI for specific guidance on making a column mandatory in the detail view.
Use the File extensions AllowList (FileExtensionsAllowList) system settings to set up a list of allowed file extensions. By default, this setting contains the most frequently used file extensions.
I would like to know the name of the function/handler that's called when creating a record and saving it in an editable detail in FreedomUI so that we can override it. We also noticed SaveRecordRequest doesn't seem to be called here.
on the schema where detail is added and it's successfully triggered:
It also depends on which handler you have specified in the "Add button" properties, you need to find it in the schema diff (in my case it was crt.CreateRecordRequest):
The detail we are working with uses an inline record to create new records which doesn't seem to be calling CreateRecordHandler or CreateRecordRequest.
I'm Getting Error while compiling the workspace everytime. I checked the error log and it's saying as below. Kindly help to resolve this. Have attached the file for reference.
[57] ERROR IIS APPPOOL\Creatio Terrasoft.Core.UserConnection OnCurrentUserConnectionChanged - Overwriting UserConnection.Current in the same context is not allowed at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)