Currently, I'm facing an issue while attempting to initiate a login request. Unfortunately, an error is persisting throughout the process. I suspect that there might be an additional configuration step required on my end, but I'm uncertain about the specifics.



The URL I am using for the login attempt is as follows:

https://057678-sales-enterprise.creatio.com/



This URL corresponds to the sales division of my trial account.



Could you kindly provide me with guidance on any potential configuration steps I might be missing or if there are specific settings I need to adjust? Your expertise would greatly assist me in resolving this matter and continuing my progress with the platform.









I'm using the wrong url?

Like 0

Like

2 comments

Hello,



Thank you for your question!

We attached the article where you can find the instructions on how to correctly set up the request, but the error indicates a problem with login and password. Please check the correctness of the login and password.

https://academy.creatio.com/docs/developer/integrations_and_api/authent…

Hello, thanks, the problem was modifying my password in user organization configuration roles, now it works.

Show all comments

Hello, 

I'm using [Autonumber] field for managing record number data automatically like in the documentation   , Set up an [Autonumber] field | Creatio Academy 

Now, i need to reset the increment  to the 0  if the user clicks  on a button

How to reset the increment ? any idea !

Thank you 

Like 1

Like

1 comments

Hi,

There's no direct way to reset the auto number field. 

It's based on the Sequence object in the DB, you can run the script that will restart the sequence. For example, you could create a business process that will execute a script that will restart the sequence. 



Best regards,

Yuri

Show all comments

Hi Community,

 

Through a webservice we are receiving several account records. Some of these new accounts have a url with more than 250 chars, which is the limit set by Creatio for this field. As this limit is exceeded, we are receiving errors from the database.

 

Is there a way to increase the character limit for the Web Link to 500?

 

Thank you.

 

Best Regards,

Pedro Pinheiro

Like 3

Like

1 comments

Hello!



No, this element has a fixed length that cannot be modified.

Show all comments

Hi Community,

 

How can I do in the new Freedom Ui so that the page does not close after saving a record?

I know the method in the old classic page, but I can't find the way to do it in the new Freedom ui.

 

Thank you in advance.

Like 2

Like

2 comments

This works, but does produce some odd results on some pages - for example the Case page shows several things once the CreatedOn is populated and it appears that the data isn't reloaded after the save. So you'd probably also have to do a reload in addition to this: 

{
    request: "crt.SaveRecordRequest",
    handler: async (request, next) => {
        request.preventCardClose = true;
        return next.handle(request);
    }
}

Ryan

Thanks for sharing Ryan

Show all comments

After setup creatio on-site deployment, able to access the login page but by default Credentials Supervisor/Supervisor is not working. Facing Authorization failed. Please check the screenshot reference. Please help on this.

Like 0

Like

1 comments

Hello,

 

Please contact our support team directly at support@creatio.com for us to be able to check the issue properly and resolve it.

Show all comments

I have gone through the academy documentation I am unable to find anything that tells me how I can consume an OAuth service like we can used in Classic UI.

 

The sample code used in Classic UI.

Terrasoft.ServiceOAuthAuthenticatorEndpointHelper.getAuthorizationGrantUrl(
		this.get("UsrOAuthApplicationId").value,
		function(success, url) {
			if (success) {
				if (url) {
					window.open(url);
				}
			} else {
				this.showInformationDialog("Login Failed");
			}
			Ext.callback(callback, scope);
		}, this);
}

 

Can anybody tell how can I use the same functionality in Freedom UI?

 

Thanks in advance.

 

Like 0

Like

6 comments

Not sure if there's a Freedom UI specific way in the sdk (but I've not seen anything that looks like it yet). However, you should still be able to call Terrasoft.ServiceOAuthAuthenticatorEndpointHelper.getAuthorizationGrantUrl from a Freedom UI page for now. 

Ryan Farley,

 

I have tried this code but it's not working in Freedom UI. Can you please guide me some way around to call OAuth Web Service in Freedom UI Page.

 

handlers: /**SCHEMA_HANDLERS*/[
	{
		request: "usr.OAuthLoginButton",
		/* Implement the custom query handler. */
		handler: async (request, next) => {
			var oAuthAppId = await request.$context.LookupAttribute_u6rb81v;
			Terrasoft.ServiceOAuthAuthenticatorEndpointHelper.getAuthorizationGrantUrl(
				oAuthAppId.value,
				function(success, url) {
					console.log(url);
					if (success) {
						if (url) {
							window.open(url);
						}
					} else {
						this.showInformationDialog("Login Failed");
					}
					Ext.callback(callback, scope);
				}, this);
			return next?.handle(request);
		}
	}
]

 

Ryan Farley,

 

Can you please guide us on this?

Hello,

You can try calling your OAuth web service using an HTTPClient, here is an example of how to use it:

{
                request: "crt.HandleViewModelInitRequest",
                handler: async (request, next) => {
                    const httpClientService = new sdk.HttpClientService();
                    const endpoint =
                        "http://data.fixer.io/api/latest?access_key=578b5bcad95455a0a0fddddf83f1f269&symbols=USD";
                    const response = await httpClientService.get(endpoint);
                    request.$context.EurToUsd = 'EUR/USD: ' + response.body.rates.USD;
                    return next?.handle(request);
                },
            },

 

Dmytro Vovchenko,

 

We can't use this approach because the client secret is encrypted. If you tried to get the secret key from the table. We are restricted to use the build in OAuth Service in Freedom UI as it was working with Classic UI.

Syed Ali Hassan Shah,

I consulted the developers and it looks like currently there is no other way to call the OAuth service. Not all services from 

Terrasoft class transferred to a new UI and ServiceOAuthAuthenticatorEndpointHelper is one of them.

Show all comments

Hi Community,

 

The goal is to execute a specific process each time another process returns errors on it's logs.

 

To achieve this we found on the community this post (https://community.creatio.com/questions/Notifyuserifbusinessprocessfails), where someone had the same goal. The correct answer for that post, says that we need to "create a view based on the SysProcessLog table and add this newly created object into your business process as a starting signal".

 

After creating the view and adding the new object to the business process as a starting signal, the process still does not run.

 

 

We checked the view and it's being populated correctly. Only the modified/added trigger are not being set.

 

To create the view we used the following guide https://academy.creatio.com/documents/technic-sdk/7-16/localizing-views.

 

Could you please help us understand and solve this issue?

 

Thank you.

 

Best Regards,

Pedro Pinheiro

Like 0

Like

1 comments

Views don't trigger signals. 

I was attempting to do the same and ended up running the process on a timer to continuously check for errors on an interval. It would be great to have either an ootb way to notify someone about process errors or the ability to handle an error condition in the process itself.

Ryan

Show all comments

Hi everyone,

 

Have you already succeed in using Freedom UI custom validators, the academy article was not very successful to me.

 

Best regards,

Like 0

Like

6 comments

Hi Jerome,

They are working for me. One thing I did initially was add it to the control in the viewConfigDiff. You're actually supposed to add the validator to the attribute in the viewModelConfig - not to the control in the diff. Once I moved it there it worked. Your column is likely in the viewModelConfig already (if it's been added to the page). Look for it there and just add the validator to that existing attribute in the model.

Ryan

Thanks Ryan,

 

I managed to step into my validator, but there's no way to retrieve some values (since request is not defined).

 

Best regards,

Jerome BERGES,

Hmm. Not sure about that. I've only used validators where I need the control's value only (which is provided in the params passed in). I had assumed you could pass in other values in the validator params, but that doesn't seem to be the case (or at least I can't figure out how that works). Hopefully we'll see more documentation soon.

Ryan

Joaquin Eztala,

 

Currently, the R&D team is working on such task, they plan to create a solution in the next releases. You can try to workaround in this way:
On the field's change add a custom handler, set a flag in it, look at this global flag (atribute's value) in the validator.

Most likely to validate "if end date it's not before the begin date" you can use in handler await request.$context.DateTimeAttribute_nnnn

Where DateTimeAttribute_nnnn:

	"attributes": {				
	"DateTimeAttribute_nnnn": {
		"modelConfig": {
...
"validators": {
			"StartDateIsNotNotLessThanProjectStartDate": {
				"type": "dw.StartDateIsNotNotLessThanProjectStartDate",
				"params": {
					"message": "#ResourceString(StartDateIsNotNotLessThanProjectStartDateMessage)#",
				}
			},
           "StartDateIsNotNotMoreThanProjectDueDate" ...
		}

 

 

 

Anhelina,

 

A quick question if I may, how do you create a global flag in a client module and how do you look at it in a validator function.  Thanks,

 

edit: I used session storage in the end.

Gareth Osler,

By the phrase "global flag" I meant the attribute value.
This method hasn't been tested, and I can't give you a guarantee of stable work. 

We're still waiting for the out-of-the-box realization and will post the article with updates on the Academy.

Show all comments

Hi Everyone,

 

we have custom applications in our environment and they all are built on Freedom UI. How do I create this dashboard button with each of the respective applications in freedom UI? I know this button is on Classic but is it possible to do same in freedom?

Like 0

Like

3 comments

Hello,



Could you please clarify which button you are referring to? Perhaps you can send a screenshot for a clear example.

Malika,

 

Hassan Tariq,

 

I would like to inform you that you can add the necessary dashboard icon in Freedom UI. In order to add the icon you need, please use the instructions by clicking here.

Show all comments

Hello Everyone,

 

I have recently installed Creatio MS Word Plugin. But it is not working. I have done everything. Tried repair/re-installing the plugin multiple times. Installed 32/64 both ones. But Word is not showing any creatio tab. How am I supposed to connect my word to creatio?

Like 0

Like

3 comments

Greetings,



Shared documentation that will help you: 



https://academy.creatio.com/docs/user/customization_tools/print_ready_r…



Regards, 

Orkhan

Orkhan,

Yes, I have followed the same documentation but it doesnt works. I have downloaded the plugin and .NET Framework. But it doesn't seems to work

I have the same issue, anyone else with this problem? And what is the solution? @Hassan, did you manage to solve it?

Show all comments