Hi All,

 

Is there any way to configure the comboboxes inside the Grid in a similar way we configure the ones in a page?

 

I'd like to be able to configure these 2 properties:

  • "showValueAsLink" 
  • "isAddAllowed"
     
  • Thanks!
     
Like 0

Like

1 comments

Hello,
 

Thank you for your question. To provide a more detailed analysis, could you please clarify the following:
 

  1. 1. We need screenshots of the specific functionality you require.
  2. 2. Please specify whether this functionality is needed in the Freedom UI or the Classic UI.
     

Your cooperation will help us assist you more effectively.
 

Thank you!

Show all comments

Hi,

We have the Opportunities functionality with custom stages . We tested the transition between the stages and is not recording Stage History in Opportunities, is there somewhere to enable this for the new stages?

 

Like 0

Like

1 comments

Hi, Victoria!

Please turn to us via Creatio Support so we can examine the system behavior in further detail.

Show all comments

Hello all,

 

Is it possible in Freedom UI to enable Feed to display the connected record as it did in Classic UI? Just showing the section isn't as informative as the old setup where you could see exactly what record the feed message was in context of.

Like 1

Like

4 comments

Dear Kevin,

 

We appreciate your patience as we consulted with our R&D team regarding the concerns you raised.



Regarding the connected record in the feed panel, we are pleased to inform you that the behavior you mentioned will be addressed in the upcoming 8.0.3 version. 

 

If you have any further questions, please let us know, we would be happy to help.



Thank you for choosing Creatio!

Alina Yakovlieva,

Is there any update on this feature? I can't find any documentation mentioning how to enable the record name in Freedom UI feed.

Kevin Brady,

 

Hi!

 

Unfortunately, currently, there is no ETA for the implementation of this functionality.

You request has increased the priority of the task.

Your can monitor our Release notes using the following link: https://academy.creatio.com/docs/8.x/resources/category/releases

 

Thank you for your patience!

 

Have a great day!

Alina Yakovlieva,

So the previous commitment got delayed and now it's not even on the plan? Just saying the section in feed is not helpful to users.

Show all comments

Hello all,

 

Is there a way to add an Iframe to a Freedom UI page? I found the documentation here that details how to add one but it only seems to describe how to add to a Classic UI page.

Like 0

Like

1 comments

Hi Kevin,

I've written up the steps for adding an IFRAME in Freedom UI here:

https://customerfx.com/article/embedding-an-iframe-on-a-creatio-freedom…

Ryan

Show all comments
Question

Hi all,

 

Is there a way to use tags in Freedom UI? It was available in Classic UI above the lists.

 

Thanks in advance!

Like 2

Like

1 comments

Hello!

 

In version 8.1.0 tags will be implemented in Freedom UI, the approximate ETA for it is the end of September.

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

Hello Everyone,

Is there a way to enable Multiple selections of lookup values in Freedom UI? 

 

Like 0

Like

1 comments

Hello,

Unfortunately, it is currently not available to enable Multiple selections of lookup values in Freedom UI.

 

We've registered it in our R&D team backlog for consideration and implementation in future application releases. Thank you for helping us to improve our product.

Show all comments

Hi folks! How are you?

I've creted a section in Freedom and I want to show a custom page instead the default list page.

default url is: http://uriel:100/0/Nui/ViewModule.aspx#Section/UsrTest_ListPage

Custom url is :http://uriel:100/0/Nui/ViewModule.aspx#Section/UsrPage_ebkv9e8



I tried a redirect inside the method crt.HandleViewModelInitRequest for the list page it works but it has a strange behavior in some cases (window.location). I tried something similar than this.sandbox.publish("PushHistoryState", {hash: "ProcessCardModuleV2/AutoGeneratedPageV2/377caef9-d9ed-48ee-8458-3106e61dfdc6"}); but I didn't find the equivalent.

 

Appreciate your ideas.

Regards.

 

Like 0

Like

2 comments
Best reply

Hello,

 

You can try another approach: the column that is responsible for the section list page that will be opened when going to the section is SectionSchemaUId (in the SysModule table). This column represents data from the UId column of the SysSchema table. What can be done to force custom page to be opened when opening the section is modifying the current SectionSchemaUId column value for the proper SysModule table record to the desired value. So you need to find the SysModule record responsible for your current section (for example using the query like:

 

select * from "SysModule" where "SectionSchemaUId" in (select "UId" from "SysSchema" where "Name" = 'UsrTest_ListPage')

), use an Id of the record found and then use it in the query like:

 

update "SysModule" set "SectionSchemaUId" = 'desired UId of the UsrPage_ebkv9e8 schema' where "Id" = 'Id found previously'

 

and relogin to the app after that. I recently tested it and the Services_ListPage was opened for my custom Freedom UI section:

 

Hello,

 

You can try another approach: the column that is responsible for the section list page that will be opened when going to the section is SectionSchemaUId (in the SysModule table). This column represents data from the UId column of the SysSchema table. What can be done to force custom page to be opened when opening the section is modifying the current SectionSchemaUId column value for the proper SysModule table record to the desired value. So you need to find the SysModule record responsible for your current section (for example using the query like:

 

select * from "SysModule" where "SectionSchemaUId" in (select "UId" from "SysSchema" where "Name" = 'UsrTest_ListPage')

), use an Id of the record found and then use it in the query like:

 

update "SysModule" set "SectionSchemaUId" = 'desired UId of the UsrPage_ebkv9e8 schema' where "Id" = 'Id found previously'

 

and relogin to the app after that. I recently tested it and the Services_ListPage was opened for my custom Freedom UI section:

 

Oleg Drobina, thank you so much! I tried this approach before and it doesn't work probably because I had a mistake with the IDs. Now it is working. Appreciate your help. Regards

Show all comments

Hello Community,

 

In the new Freedom UI, I need that in the dropdown field 'Responsible' (contact object) appear only the data that are of 'Type = Employee' (contact attribute).

 

I know how to do it in the previous versions but not in the new one.

In the new one I can't find the way to make this filter, can you help me?

 

Thank you very much!

Like 0

Like

1 comments

Hello Everyone,

I am working on a scenario where I need to get Records (With Id and Name) from another object.

In Model class, we can get one record but how to get a Collection of records with a filter/Parameter "Name" it should get all the records with the same Name. 

 

Like 0

Like

4 comments

There is an issue in current versions of Creatio with the filter classes, such as FilterGroup etc, being applied to model load/queries. I've been reporting this issue since 8.0.6 (#SR-01182879) but it's still not yet fixed in 8.0.9, very frustrating (I've been told it will be fixed in 8.1 #SR-01198668 🤞🏻). However you can still use them with a small workaround. The example below will get all Accounts that have Type = Customer:

// make sure to add "@creatio-devkit/common" as sdk
 
const accountModel = await sdk.Model.create("Account");
 
const customerFilter = new sdk.FilterGroup();
await customerFilter.addSchemaColumnFilterWithParameter(sdk.ComparisonType.Equal, "Type.Name", "Customer");
 
// This is the workaround you have to do for the filters to work.
// Shallow copy to a new object and then reassign the items collection.
const newCustomerFilter = Object.assign({}, customerFilter);
newCustomerFilter.items = customerFilter.items;
 
// now use new shallow copied filters in the query
const customers = await accountModel.load({
    attributes: ["Id", "Name", "Type"],
    parameters: [{
        type: sdk.ModelParameterType.Filter,
        value: newCustomerFilter
    }]
});
 
// the customers variable is now an array of accounts with Id, Name, and Type columns
console.log(customers);

The whole issue with the FilterGroup is that the items collection doesn't get unrolled from a collection to an array - the copy forces the object to flatten out how it's expected by the underlying DataService call.

Ryan

Ryan = Creatio's code gap workaround master

Ryan Farley,

 

This is my code : 

handler: async (request, next) => {

        // Get the selected date values

        var dateFrom = new Date(await request.$context.DateTimeAttribute_6jtq65k);

        var dateTo = new Date(await request.$context.DateTimeAttribute_vg9eydm);

        var datesBetween = [];

          var currentDate = new Date(dateFrom);

          while (currentDate <= dateTo) {

        datesBetween.push(new Date(currentDate));

        currentDate.setDate(currentDate.getDate() + 1);

          }

  // Convert dates to integers without the time component

          var datesAsIntegers = datesBetween.map(date => {

        return parseInt(date.toISOString().slice(0, 10).replace(/-/g, ""), 10);

          });

        const accountModel = await sdk.Model.create("UsrEntity_a6e9b72");      

        // Load the accounts based on the filter.

        const accounts = await accountModel.load({

            attributes: ["DateTimeAttribute_x2whel6"],

        });

        console.log(accounts); 

            for (const value of accounts) 

            {

                for (const value1 of datesAsIntegers)

                {

                   const integerValue = parseInt(value1);

                value.NumberAttribute_ejh4wbq === integerValue;

                }

                console.log("1");

            }

return next?.handle(request);

        }

Here we are trying to get value of "NumberAttribute_ejh4wbq" but we are only getting "Id" .

Can you help us with this?

 

 

Verify that the column name is correct. In the accountModel.load your passing the attributes array with "DateTimeAttribute_x2whel6", this needs to be the column name in the object/table (which will likely start with a Usr)

Ryan

Show all comments