Hi,



I am scanning around and couldn't fine anyway on how to add/display the new column I added on my schema. It's a File Datatype which meant to be used to upload any file.



I kept getting:

 "Unhandled Promise rejection: Object { message: "DataValueType.BLOB is not supported" }"

Here's the sample DIFF script I added.

{
				"operation": "insert",
				"name": "TCFileObj",
				"values": {
					"layout": {
						"colSpan": 12, "rowSpan": 1, "column": 0, "row": 5
					},
					"bindTo": "TCFile",
                    "controlConfig": {
                            "fileUpload": true
                        }
				},
				"parentName": "ParentName",
				"propertyName": "items",
				"index": 6
			}





 

Like 0

Like

4 comments

Hello,

The data type "File" doesn't mean to be displayed on the page and therefore you cannot upload files to it using the UI.

If you want to work with files, please use the Attachment detail.

Dmytro Vovchenko,



Is it a datatype not meant to be use in Schema/Object level?

Solem Khan Abdusalam,

 

Hi,

 

Please use a standard and working approach with the "Attachments and notes" detail on the page to upload files. There is no particular documentation or example on how to add DataValueType.BLOB fields on the page, but you can review how the column is added to the system setting with "MenuLogoImage" code page:

and implement the same.

Oleg Drobina,



That's actually a very cool way to start somewhere!

I'll check it out.



I'll post the sample code after making it work.

Show all comments

Hi all, 

 

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.



Thanks!

Like 0

Like

3 comments

Hello,

 

In the basic code I found this example:

request: "crt.CreateRecordRequest",
                            params: {
                                entityName: a,
                                entityPageName: t.cardSchemaName,
                                defaultValues: o
                            }

try using the same approach, but change entityName and entityPageName. This should open your custom page.

Hi Oleg, that does work, thank you. 



Only trouble is it opens the modal as a full width page. I don't suppose anyway around that in this version?



Harry,

 

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!

Show all comments

Redis permission denied

Like 0

Like

6 comments

Hello,

 

Could you please elaborate on this and describe your question in more detail?

When I browse  creatio web page on IIS then error occur 

REDIS PERMISSION DENIED

Hi!

 

Please make sure you have your Redis software in a running state and that you filled in the settings of connectionStrings:


 

Also, you have to meet the requirements of having Redis Server 4.0 and up. Here is the necessary info: https://academy.creatio.com/docs/user/on_site_deployment/caching_server

Rehan Ali,

Hi Rehan,

Can you tell me how you solve this Error?

Rehan Ali,

did you get sulution?

Hello!

 

To understand the mistake, please provide us with more information about the issue that you are facing. 

Show all comments

Hi community,

 

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.

 

Thanks in advance.

 

Regards,

Abilash.S

Like 0

Like

1 comments

Hi,

 

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 ? void 0 : 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.

Show all comments

I am trying to create a basic printable report that includes data from Section as well as the detail of that section

 

and I have created the template in Word,

 

and the report setup in creatio is as below,

But the output only has data from the main section but not from the detail,

Can you please help with this?

Like 1

Like

0 comments
Show all comments

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

 

Thank you

Like 0

Like

0 comments
Show all comments

Hello Community, 

 

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.

 

Thanks in Advance

Like 0

Like

3 comments

Hello,

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. 

Hello, 

 

Thankyou for your reply,

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. 

 

Any Suggestions is really helpful. 

 

Thanks

Gargeyi

 

 

Hello,

In that case, you can add a button with the action "Open new record".

With it, you can choose your objects and set the column values from the main record.

this button will open a new page without actually saving the record.

Show all comments

Hi Community,

 

I would like to know how we can make a column mandatory in an attachment list (the detail here) as soon as we upload a file to the detail.

 

 

Thanks in advance!

 

Regards,

Abilash.S

Like 0

Like

1 comments

To make a column mandatory in FreedomUI, you can follow these steps:

  1. Identify the column you want to make mandatory in the detail view of your form.

  2. Open the code or configuration file associated with your FreedomUI implementation.

  3. Locate the section or code block related to the detail view of your form.

  4. Find the column you want to make mandatory within the code or configuration.

  5. Depending on the specific implementation of FreedomUI, you can typically add a validation rule or attribute to the column to make it mandatory.

  6. 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.

  7. 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.



More detail : https://360degreecloud.com/

Show all comments

Hello,

 

How can an otm file be loaded into the Creatio?

 

Thanks!

Like 0

Like

1 comments

Hello,

 

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.

Show all comments

Hi Creatio Community,

 

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.

 

Thanks in advance.

 

Regards,

Abilash.S

Like 0

Like

4 comments

Hello,

 

These should be the crt.CreateRecordRequest request and the crt.CreateRecordHandler handler. Try those in either:

 

1) Page where detail is added

2) Detail schema

3) Edit page of the detail

 

and it should be triggered.

Oleg Drobina,

 

Tried these two methods. They don't seem to be called when creating and saving the records in an editable detail.

Abilash,



I tried this handler:

handlers: /**SCHEMA_HANDLERS*/[
			{
				request: "crt.CreateRecordRequest",
				handler: async (request, next) => {
					return next?.handle(request);
				}
			}
		]/**SCHEMA_HANDLERS*/,

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):

{
				"operation": "insert",
				"name": "GridDetailAddBtn_z5e8jja",
				"values": {
					"type": "crt.Button",
					"caption": "#ResourceString(GridDetailAddBtn_z5e8jja_caption)#",
					"icon": "add-button-icon",
					"iconPosition": "only-icon",
					"color": "default",
					"size": "medium",
					"clicked": {
						"request": "crt.CreateRecordRequest",
						"params": {
							"entityName": "Contact"
						}
					},
					"visible": true,
					"clickMode": "default"
				},
				"parentName": "FlexContainer_n5yrzkv",
				"propertyName": "items",
				"index": 0
			},

 

Oleg Drobina,

 

The detail we are working with uses an inline record to create new records which doesn't seem to be calling CreateRecordHandler or CreateRecordRequest. 











 

Show all comments