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

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

3 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

 

Show all comments

hello i already make deployment in windows its work very well for some period of time, when i want to open it now it stuck on this page after login,

i try to inspect and got this error objectStore does not exists: business-rules any suggestion how to solve it?

Thanks in advance

Like 0

Like

0 comments
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

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 everyone,

 

Could anyone share the link to the self-assessment cases that can help me prepare for the Creatio Analyst Certification Test?

 

I would really appreciate your help!

 

Thank you!

 

Juan Carlos

Like 0

Like

3 comments

The link to the self-assessment alternative answer questions is here, Certification & Tests | Creatio Academy.

 

There are no practical assignments that you can practice in advance.

Thank you, @Gareth Osler! 

Should I select Sales, Marketing, or Service? 

I just completed the CREATIO ADMINISTRATION AND CONFIGURATION guided training.

Should I select Sales, Marketing, or Service? 

That depends on which Creatio product you wish to develop "technical skills and expertise" in.

 

Show all comments

Can anybody help me configure Notes and Attachments element in Form Page designer?

Like 0

Like

2 comments

Could you please share idea on adding Notes component too?

Show all comments