Hi 
Anyone has experience to integrating  to AzureAPI OAUTH -- 

 

While we can se the client id and client secret code how do we provide  the following ?

Authorization: Bearer {AccessToken}

  • x-ms-date: {Generated RFC 1123 Date}
  •  
Like 0

Like

2 comments

Hello Sarangarajan,

As we understand, you want to specify an additional header besides Bearer in the service request. If so, you can do this by simply adding the header in the web service settings.

You may find more information in the "Set up the REST web service integration" article.

Best regards,

Anhelina!

In the above case 
x-ms-date: {Generated RFC 1123 Date}  -- value need to be current date and time in RFC 1123 format -- that how do we set it up

Show all comments

I’m encountering an issue in Creatio where the tabs on the page expand automatically after I add an object under the DataGrid. This expansion causes the left-side data grid to become invisible, as the tabs take up too much space.

I’d like to have the data grid on the right side of the page with corresponding values displayed on the left side. However, the tabs expanding is affecting the layout, making it difficult to view the grid properly.

Is there any property or setting I can adjust to prevent the tabs from expanding when I add an object to the DataGrid?

I’d appreciate your guidance on resolving this issue.

Thanks in advance for your help!

 

Attachment is screen shot. I was not able to upload MP4 file.

Like 0

Like

2 comments

Hi Samir,

We can see that you submitted a case to our support team. We will continue our communication there.

Have a great day!

Alina Yakovlieva,

Thank you for your assistance. Could you please let me know once you have an update regarding this issue?

I appreciate your help.

Show all comments

Hello community

I am encountering an issue when using the Clio utility to create a custom Angular module. When attempting to configure the workspace, I am facing errors, and I would appreciate your assistance in resolving them.

The errors I receive are as follows:

 

When running the command clio dconf -e dev-env:

[WAR] - Downloading of cor libraries requires cliogate version 2.0.0.0 or higher.

 

When running the command clio restorew -e dev-env:

[ERR] - To use this command, you need to install the cliogate package version 2.0.0.0 or higher.

However, when I run the command clio ver, the output shows:

 

clio:   8.0.1.21

[INF] - gate:   2.0.0.29

dotnet:   8.0.14

 

My connection to dev-env is stable, and I can see the list of packages

It appears that I have the correct version of the cliogate package installed (2.0.0.29), but I am still facing issues. 

Has anyone encountered a similar situation?

What could be causing this behavior in Clio?

Are there perhaps some configuration nuances that I'm missing?

Unfortunately, I haven’t been able to find any solutions or descriptions of similar errors online. Thank you in advance for any ideas or recommendations!

Like 1

Like

9 comments
Best reply

Artem Ivzhenko,

Hello, the issue was resolved in the clio version 8.0.1.27. Thanks for your attention. In this version, we fixed the situation when the config file URL uses a form like 'HTTP(s): my-creatoio.com/' with '/' in the end.

The command "clio ver" shows the version of the Clio command line itself. The error is mentioning the version of cliogate, which is a package installed on the Creatio system. 

To check the version of cliogate, use: 

clio ver --gate -e dev-env

To install or update the cliogate on the system, use: 

clio install-gate -e dev-env

Ryan

Sorry, missed that you mentioned the version of cliogate is up to date already. I've not experienced that issue. 

It seems there might be an issue with the connection between a clio and your dev. Try installing the gate again:

clio install-gate some_application_name

And then restart the dev:
clio restart some_application_name

 

This message only appears when dev-env does not have cliogate package installed,m  you can validate it with  `clio packages -f cliogate`. 

You should see something like this. If nothing comes back, then you need to reinstall cliogate. 

Use `clio gate -e dev-env` to reinstall cliogate

Dmytro Vovchenko,

I got an exception on this:


clio install-gate -e dev-env
Uploading...
   at System.Net.HttpWebRequest.GetResponse()
   at Creatio.Client.CreatioClient.Login(Int32 requestTimeout)
   at Creatio.Client.CreatioClient.InitAuthCookie(Int32 requestTimeout)
   at Creatio.Client.CreatioClient.get_AuthCookie()
   at Creatio.Client.CreatioClient.CreateCreatioRequest(String url, String requestData, Int32 requestTimeout)
   at Creatio.Client.CreatioClient.UploadFile(String url, String filePath, Int32 defaultTimeout)
   at Clio.Common.CreatioClientAdapter.UploadFile(String url, String filePath)
   at Clio.Package.BasePackageInstaller.UploadPackage(String filePath, EnvironmentSettings environmentSettings)
   at Clio.Package.BasePackageInstaller.InstallPackedPackage(String filePath, EnvironmentSettings environmentSettings, PackageInstallOptions packageInstallOptions)
   at Clio.Package.BasePackageInstaller.InstallPackage(String packagePackedFileOrFolderPath, EnvironmentSettings environmentSettings, PackageInstallOptions packageInstallOptions)
   at Clio.Package.BasePackageInstaller.InternalInstall(String packagePath, EnvironmentSettings environmentSettings, PackageInstallOptions packageInstallOptions, String reportPath)
   at Clio.Package.PackageInstaller.Install(String packagePath, EnvironmentSettings environmentSettings, PackageInstallOptions packageInstallOptions, String reportPath)
   at Clio.Command.PushPackageCommand.Execute(PushPkgOptions options)

Artem Ivzhenko,

according to the trace of the error the request to login either timed out or returned an error. This might be also related to the fact that dev apps are shut down automatically in case there is no activity in the dev app for the past 60 minutes. Try the following steps:

  1. Open the login page of the dev app in the UI and make sure it's loaded.
  2. Wait for 1-2 minutes (for the app to completely initialize after starting).
  3. Try executing the cliogate install once again.

Please let us know about the result.

Oleg Drobina,

I followed the steps you outlined above and I still get the same error.
I don't understand why a connection error occurs, especially since the ping command returns:
[INF] - Done ping-app.
At the same time, other developers connected to the same environment are working without any issues.
I am not connected to a VPN or proxy server.

Oleg Drobina,

In my understanding, a timeout error should not occur immediately after running the command, but rather after some time has passed, since a timeout cannot happen within just one second.
In my case, I receive the error right after launching the command, without any delay.

Artem Ivzhenko,

Hello, the issue was resolved in the clio version 8.0.1.27. Thanks for your attention. In this version, we fixed the situation when the config file URL uses a form like 'HTTP(s): my-creatoio.com/' with '/' in the end.

Show all comments

I have two attachment pages, but when I attach a file on the first page, it also appears on the second page. How can I implement a filter so that the attachment only shows on the page where it was uploaded? i'm using FreedomUI.

 

Like 0

Like

2 comments
Best reply

You can use tags. The File objects have a Tag field, you can set up each file list to have a different tag, then the tag will get added to the file based on which list the file was added to, and the lists will also filter by this tag.

To do this, you simply need to enter a tag name for each of the file lists, just type in a value in the File tag property: 

Ryan

You can use tags. The File objects have a Tag field, you can set up each file list to have a different tag, then the tag will get added to the file based on which list the file was added to, and the lists will also filter by this tag.

To do this, you simply need to enter a tag name for each of the file lists, just type in a value in the File tag property: 

Ryan

Ryan Farley,

Thank you Ryan

Show all comments

Building a new set of application and need to create 50 tables -- 
1. 20 of them are going to hold permanent records

2. 30 of them are going to hold just transient data just enough to show in the screen (by API calls data will be retrieved -- Creatio does not have easy way to show API data without storing)

Have the DDLs -- so how we can create these in Creatio one shot  instead of going through one by one 

 

Thanks and Regards

Sarang

Like 0

Like

1 comments

Hello, 

Thank you for your question. Currently, unfortunately, there is no built-in functionality to create multiple tables at once.

However, if you are working with a large number of tables, an alternative approach could be using Development tools or Data Import via scripts/API, depending on your requirements.

Show all comments

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

2 comments

Hello,

Unfortunately, with basic tools, its impossible to add the scroll bar to the notes field.

 

However, a task has already been registered in our R&D team to consider and implement such a feature in future releases.

 

Thank you!

Valeriia Hromova,

Thanks Valeriia.

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

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

1 comments

Greetings!
 

Thank you for reaching out. Could you please send us an email at support@creatio.com?


Kindly provide the steps to reproduce the issue and the site logs, and we will analyze the problem and provide you with a solution.

Regards, 
Orkhan

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

1 comments

Hello, 

The "Implementing a custom file storage" documentation you referenced utlines how to achieve this, and it does indeed allow you to change the location where files are stored. 

 

The process involves implementing a custom file storage system using file management API. Specifically, you can:

 

This interface defines how file content is stored and retrieved. By creating a custom class that implements this interface, you can direct to save files to a file system instead of the database. For example, you could write a class that saves files to a specified directory on the server’s file system.
 

After implementing the storage logic, you register it in SysFileContentStorage lookup, which tells the system to use your custom storage for file operations.


How to check:


 

You’ll also need a custom file locator (implementing IFileLocator) to specify where files are stored in the file system, and optionally a custom metadata storage (implementing IFileMetadataStorage) if you need to tweak how metadata is handled. 


Our documentation explains more about it: 

https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/8.1/back-end-development/api-for-file-management/overview
https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/back-end-development/api-for-file-management/references/ifilecontentstorage
EntityFileLocator class | Creatio Academy

Regards,
Orkhan
 

Show all comments