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

Hello,



I am updating a field of an entity in client side using ESQ:

Ext.create("Terrasoft.UpdateQuery", { rootSchemaName: entitySchemaName });.



I can't find any solid documentation and I am trying to know if it will really not trigger OnSaved events of that entity?



Is there any cheatcode/workaround I can use to trigger OnSaved via client side esq?



Thank you.

Like 0

Like

1 comments

Hello,

 

And have you tried to test if UpdateQuery trigger OnSaved? This should be easy: some simple logger added to the OnSaved handler. Also if you need to trigger some server logic after the update - you can direclty call some custom service (for example in the callback execution after the UpdateQuery).

Show all comments

When you have to check a lot of checkboxes in the detail (e.g. setting access rights, force update and so on) hint apperrs and hides large area with many rows.

So, I need to make extra movements to hide it.



I think, it would ne enough to show hint only over column header not over every row

Like 3

Like

1 comments

Greetings,



We have registered this wish with our R&D team for them to consider and make changes in future updates.



Thank you for helping to make the product better. 



Regards,

Orkhan

Show all comments

Hi Everyone,

 

I am getting this error while running a process that generates a report and sends an email.

 

Like 0

Like

4 comments

Is the printable template uploaded? Can you run/generate the printable normally? I believe I've seen an error like that when the printable record is missing the actual Word template file (but not sure if it's that exact error)

Ryan

Ryan Farley writes:

Is the printable template uploaded? Can you run/generate the printable normally? I believe I've seen an error like that when the printable record is missing the actual Word template file (but not sure if it's that exact error)

Ryan

I guess no. Do I have to upload a complete template as well? I just set up the columns in the reports and I haven't uploaded any template with it

Hassan Tariq,

Yes, there needs to be a template uploaded, even if it is just a blank Word doc. Without a template it will produce errors when trying to generate the printable.

However, what's the purpose of generating a printable to attach to an email with no content set up in the printable? (I assume you just haven't gotten to that part yet?)

Ryan 

Ryan Farley writes:



I have set up the rows & all information in Creatio. Didn't knew that I had to set up the report in word.

Show all comments

Dear, 

 

Is it possible to add a field to the opportunity clientprofile ?

 

what objet should i edit ?

Thank you,

Nicolas

 

Like 0

Like

1 comments

 

Page business rules missing the comparing signs in freedom UI.

Can anyone please help me find this values ?

 

Regards,

Dhrumil

 

Like 2

Like

3 comments

Hello,

 

Unfortunately, there are really no such operators in the current version of the app.

Thank you for your comments, our development team is already aware of this need and is working on its implementation.

 

😲 (For 8.1 ? 🫤)

Damien Collot,

I hope, we will have in 8.1 everything that we had in Classic UI

Show all comments

Hi Everyone,

 

I am setting up cases in my environment and I want it to move to 2nd stage when the user fills in all the information within the 1st stage. 

 

I believe that it can be done through business processes. But when I am adding the Sub-process within the case, it asks whether to run at the start of the case. Does it mean that it will only run that process one time? Because if it runs at the start that means our users will not have inputted their data and after when they have added the data then it will not run the process and will not move forward?

 

Also, let me know how can I make a formula that checks if the fields are filled or not filled?

Like 1

Like

3 comments

Hi Everyone,

 

We have a custom application on Freedom UI that manages all our orders and management. We just received news from Creatio team that reports currently do not work in Freedom UI and we can workaround through business processes. If there is any relevant material anyone has on how to create reports through business processes, then that would be really helpful! Thanks!

Like 1

Like

1 comments

Hello,



with element 'Process file' (https://academy.creatio.com/docs/user/bpm_tools/process_elements_refere…) you can generate reports and save them to attachments or send by email



Kind regards,

Vladimir

Show all comments