Hi, is this possible to have scroll bar appear for a Multi-Line Notes field where the multiple lines of content do not fit into the available display window.

Like 0

Like

0 comments
Show all comments

Hi ,

I have created new fields in section wizard,however when I tried to change the field code from Usr to my initials.It wouldn't allow me to do it .As,I  don't have system designer section or prefix for schema section where I can change it.I was wondering if there is any workaround to do it.Also,this is studio enterprise demo account.I would appreciate if some one can help me out on this asap.

Like 0

Like

1 comments

The prefix is stored in a system setting. Search in system settings for prefix. 

Show all comments

How to automatically create an OAuth 2 integrated application record during the installation process of the marketplace app which we are developing. 

After creating this entry, how do we read the generated client id and secret from this record in a business process? Help with code is appreciated. Thanks.

Like 0

Like

2 comments

Even if you execute SQL script during the the marketplace app package installation that will perform the direct INSERT into OAuthClientApp you won't be able to call

 

/0/rest/AdministrationService/UpdateOrCreateTechnicalUser - to create a technical user for this OAuth application if needed

 

/0/rest/OAuthConfigService/GetClientSecret - to generate the client secret for the created OAuth app

 

So this part can be specified in the manuall on how to work with the marketplace app so that users could create the OAuth application on their own and then specify it as a value of the custom system setting (of a lookup type referencing the "OAuth client application" object). The system setting can be bound as data to the package and it will be created in the app to which the package is installed. Then you can use this system setting to get the ID of the record in the OAuthClientApp entity and then read client Id and secret using either server ESQ or SelectQuery class or simple read data element.

Thanks for the reply Oleg!

Show all comments

Hello Community,

 

I would like to switch tabs based on a user action using code in a handler. Is it possible to write code that opens a custom tab on the same page, as shown in the figure below?

 

On button click, I have implemented below code in the handler, but it is not working.

{
        request: "crt.OpenTab",
        handler: async (request) => {
            request.$context.set("SelectedTab", "CustomTab");
            request.$context.set("ActiveTab", "CustomTab");
            request.$context.profile.set("Tabs_SelectedTabIndex_Profile", 2);
        return true;
     }

}

 

Best regards,

Ajay Kuthe

 

 

Like 2

Like

4 comments
Best reply

The attribute you need to set is the [TabControlName]_SelectrdTabIndex_Profile. If you tab control is named "TabPanel_fb0xrup", then the attribute you would set would be:

// select first tab
request.$context.TabPanel_fb0xrup_SelectedTabIndex_Profile = 0;

Note, the indexes are zero based.

Ryan

The attribute you need to set is the [TabControlName]_SelectrdTabIndex_Profile. If you tab control is named "TabPanel_fb0xrup", then the attribute you would set would be:

// select first tab
request.$context.TabPanel_fb0xrup_SelectedTabIndex_Profile = 0;

Note, the indexes are zero based.

Ryan

Also, to clarify, there is no "set" method in Freedom UI pages like there was in classic pages. You will just set and read values from the attributes directly as normal variables.

Ryan Farley,

Yes, it works fine.

 

However, how can I get the index of a particular tab using the Element code in the context? #FreedomUI

 

Ajay,

I am not sure there's a way to get the index at runtime, if there is I've not seen anything yet, but it's possible it's buried somewhere in the $context.

Show all comments

Hi Community,

 

I have a question regarding customization file storage in Creatio. Is it possible to save files directly in the file system instead of the database (default)? 

I came across documentation on "Implementing a custom file storage," but I'm unsure whether these customizations affect the location where files are stored, or if they only modify the file metadata.

https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platfor…

 

Additionally, is it possible to customize the format in which the file is saved? 

By default, files are saved as BLOBs (In Database). However, if we want to store files in the same format but directly in the file system rather than as BLOBs, would that be possible in Creatio?

Like 0

Like

0 comments
Show all comments

Dear,

On Classic UI, we had a preview of files in emails attachments. 
Is it possible to have the same preview on Freedom ?

 

Classic: 

Freedom : is there a way to see a preview of image files ?

Thank you !
Nicolas

Like 0

Like

4 comments
Best reply

Hello Nicolas,

FYI I do have a marketplace add-on started that does previews for images in Freedom UI file list galleries, inline without needing to click it to open (only image type files show the preview, any other file type will show only the icon as it does normally):

 

It still does have a little work needed, but should be in the marketplace soon. Video preview here: https://share.customerfx.com/04uDmnv7

Ryan

Hello!

Unfortunately, currently this is not possible with the out-of-the-box solution. 
If you want to display a certain image for the record, for example company logo for the account record, you can use an Image component.


You can also consider using the following marketplace solution: https://marketplace.creatio.com/app/banza-files-extended-creatio?check_logged_in=1

Regards, 
Anton

Hello Nicolas,

FYI I do have a marketplace add-on started that does previews for images in Freedom UI file list galleries, inline without needing to click it to open (only image type files show the preview, any other file type will show only the icon as it does normally):

 

It still does have a little work needed, but should be in the marketplace soon. Video preview here: https://share.customerfx.com/04uDmnv7

Ryan

Hello Ryan,
So we will wait for your solution !
It is for the images that we would like to have a preview
Thank you 
 

FYI, I've submitted the add-on to the marketplace. Should be available soon.

Ryan

Show all comments

After adding records ,How can I reload a detail list in a Freedom UI page from a task script within a business process, without using the live update feature in the object?
Thank you

Like 0

Like

2 comments

Note that i'add this code in the task script in the process 


var userConnection = Get<UserConnection>("UserConnection");
string messageText = "Successful";

Terrasoft.Configuration.MsgChannelUtilities.PostMessageToAll("ReloadDetail", messageText);
return true;    

i got this error message 
"The type or namespace name 'MsgChannelUtilities' does not exist in the namespace 'Terrasoft.Configuration' (are you missing an assembly reference?"

 

 

"The type or namespace name 'MsgChannelUtilities' does not exist in the namespace 'Terrasoft.Configuration' (are you missing an assembly reference?" - this error message will occur in case the business process is created in the assembly package. The only workaround is to uncheck the "Assembly package" property in the package settings or move the process to the regular package.

 

As for the possibilities and if LiveUpdate is not an option - yes, socket nessage to the client-side and triggering the LoadDataRequest with reload enabled is the only option.

Show all comments

i am trying to scan an uploaded document to be able to fill in specified data from a document, such as KTP(indo) taking the information from a picture of that KTP and inputting it into the required fields such as address, Date of Birth, Name, NIK, so on and so forth.

 

right now i am only able to upload a document and am wondering if there is a way to scan through that document

Like 2

Like

3 comments

Yes ! Would love to understand how to do that :)

This task will require an OCR SDK/API to extract the data from the file. Then you can use the extracted data to update the record.

Hello!

Please note that currently there is no such functionality in our system, but we have registered this idea for our R&D team and they will review the possibility of adding it in future.

Regards, Anton

Show all comments

Hi Community,

I want to run a function only if the SaveRecordRequest is true. I tried to run await next.handle(request), but it returns undefined even if the record is save is successfully. Here is my code and test result:

 

 

			{
				request: "crt.SaveRecordRequest",
				handler: async (request, next) => {
					const saveResult = await next.handle(request);
					if(saveResult) {
						const id = await request.$context.Id;
						const files = await request.$context.SPJFile;
						await carPooling.uploadSPJ(id, files);
						request.$context.SPJFile = null;
					}
 
					return saveResult;
				}
			},
Like 0

Like

1 comments
Show all comments

Hello Community,

I want to remove "New Contact" from the contact name (e.g., New Contact (email address)).

I tried using a business process that runs when a new record is added to an activity. It retrieves the name from the "From" field (name ). However, since the contact field in the activity is empty, I cannot access other contact details.

To work around this, I used a timer signal with a 5-second delay, which worked. However, the issue now is that the case registration email is sent before the business process updates the contact name. I also tried delaying the case registration email, but when I do, it is not sent at all.

Is there another way to update the contact name?

Additionally, why is the email delay not working?

 

Like 0

Like

4 comments

Hello,

 

Please provide a screenshot of your business process, along with settings of the element that updates the name.

Dymytriy Vykhodets,

 

This is business process - 

It runs every time an email message is added. After waiting for five seconds, it reads the "From" and "Contact" fields from the activity section. Then, using a script task, it extracts the name from the "From" field and sets it as the full name of the contact.

Darshan Dev Prajapat,

 

Please also provide the screenshot of the settings of the element that updates the name.

Mira Dmitruk,


You mean this 


After getting resultname from here i am setting full name of contact in set full name.

Show all comments