Filtering
Contact
account
Filters

Hi,

 

Is it possible to filter the 'Search' results in the Contact Container so it only shows the contacts that are belonging to the account that is selected above?

 

Currently I have the full list of contacts displayed when i open the dropdown. (see images)

 

Many Thanks

 

Tom

 

 

Like 0

Like

1 comments

Hi!



Unfortunately, this cannot be done now. We have registered a feature request to our R&D team and added your case to it. This feature may be included in future releases. 



Best regards,

Anton

Show all comments
moobile
filterGroupe
Filters

I am reaching out to seek guidance on creating a custom filter group with a logical OR operator for the purpose of filtering a lookup in our mobile application.

We are currently using the Terrasoft SDK for our mobile application development. Specifically, we are attempting to implement a custom filter group that allows us to filter a lookup based on multiple conditions with the logical OR operator and display records with specific statuses .

Here is an example of the code we have tried:

 

Terrasoft.sdk.Model.addBusinessRule("Activity", {

    ruleType: Terrasoft.RuleTypes.Filtration,

    events: [Terrasoft.BusinessRuleEvents.Load],

    triggeredByColumns: ["UsrActuer"],

    filters: Ext.create("Terrasoft.FilterGroup", {

        logicalOperation: Terrasoft.FilterLogicalOperations.Or,

        items: [

            Ext.create("Terrasoft.Filter", {

                modelName: "UsrActeur",

                property: "Usrstatutdeconversion",

                value: "08778421-4d4a-45d6-9dc0-05871d5b1e5e"

            }),

            Ext.create("Terrasoft.Filter", {

                modelName: "UsrActeur",

                property: "Usrstatutdeconversion",

                value: "c1c775a9-39c3-4290-a0ed-f56ee0640ea4"

            }),

            Ext.create("Terrasoft.Filter", {

                modelName: "UsrActeur",

                property: "Usrstatutdeconversion",

                value: "981ed116-cd83-4da3-93b5-5e7d4d0c139e"

            })

        ]

    })

});

Like 1

Like

2 comments

Hello,



We have an article on the Community platform that explains how to set up a filter group with a logical OR operator in the mobile application. You can find it at https://community.creatio.com/articles/setting-filter-mobile-application

Please note that this solution is only applicable to Classic UI and not the Freedom UI.

Artem Smyrnov,

i try this one but it didn't work 

 

Show all comments

Hi,

According to the requirement, I have made inactive stages in Opportunities that are not in use. So, in normal filtering, they are not visible, but I can still see them in advanced filter mode and on dashboards. Since these stages were used in the past, I'm not going to delete them. Please let me know how I can hide inactive stages in the mentioned places?

Like 0

Like

2 comments

Hello!



I recommend using the deactivation object records functionality for the Opportunity stage object:

https://academy.creatio.com/docs/developer/development_tools/creatio_id…

Alona Dolya,

Thank you, for replay

Show all comments
Filters
paramValues

I need this filter to work for several IDs, I understand that I should use something like this "esqContact.filters.logicalOperation = Terrasoft.LogicalOperatorType.OR;"; could you give me some help? 

 

"Department": {
    "dataValueType": Terrasoft.DataValueType.LOOKUP,
     "lookupListConfig": {
"filters": [
function() {
var filterGroup = Ext.create("Terrasoft.FilterGroup");
 
var tipoContactoId = Terrasoft.GUID_EMPTY; 
if (!Ext.isEmpty(this.get("Type"))) {
tipoContactoId = this.get("Type").value;
}
 
if (tipoContactoId === "40733cfc-f35b-1410-a884-16d83cab0980") {
filterGroup.add("FiltroDepartamentoEmpleado",
    Terrasoft.createColumnFilterWithParameter(
        Terrasoft.ComparisonType.EQUAL,
        "Id",
        "21476c4b6-7fe6-df11-971b-001d67e235c6"
    )
);
}
 
return filterGroup;
}
]
}
}

 

Like 0

Like

1 comments

Hello,

I used filterGroup.logicalOperation = Terrasoft.LogicalOperatorType.OR; 

seemed to do the trick

Show all comments
detail
Filters
Sales_Creatio
7.18

Hi, everybody!

 

Given:

There is a detail with an editable grid

It is necessary to apply some filter to the records of the part reference field, but only if there are no records in another part (OrderProduct object) (for a specific Order)

Solution attempt:

An attribute with lookup List Config has been added to the details page:

<br />
      "PrbProduct": {<br />
        "dataValueType": Terrasoft.DataValueType.LOOKUP,<br />
        "lookupListConfig": {<br />
          "filters": [<br />
            function() {<br />
              var subFilterGroup = this.Terrasoft.createFilterGroup();<br />
              subFilterGroup.addItem(this.Terrasoft.createColumnFilterWithParameter(this.Terrasoft.ComparisonType.EQUAL, "Order", this.$PrbOrder.value));<br />
              var filterGroup = this.Terrasoft.createFilterGroup();<br />
              filterGroup.logicalOperation = this.Terrasoft.LogicalOperatorType.OR;<br />
              filterGroup.addItem(this.Terrasoft.createNotExistsFilter("[OrderProduct].Id", subFilterGroup));<br />
              filterGroup.addItem(this.Terrasoft.createColumnFilterWithParameter("PrbOrder", this.$PrbOrder.value));<br />
              return filterGroup;<br />
            }<br />
          ]<br />
        }<br />
      },<br />

 

Problem:

It is not possible to find the correct path to the column in create Not Exists Filter. Or there is an error like "Column on the path [Order Product].Id was not found in the "Product" schema, or (with some other values) the filter does not work as needed.

Tell me, please, is it even possible to create Not Exists Filter/createExistsFilter without binding to the detail object?

How to correctly specify the "path to the column" in this case?

Like 0

Like

4 comments
Best reply

Fariz Mamedov,

 

Just open the console in browser (F12 in Chrome) and go to the "Network" tab. And then find the correspondent SelectQuery request and review its body:

Hello Fariz,

 

The task is to create a filter starting from the object of the lookup column for which we are creating the lookupListConfig. The easiest way to properly build path to the needed column is creating the same filter, but using advanced filters in the section. This will result in the SelectQuery request where filters can be reviewed and the content of the filter copied which will show you an accurate path to the column needed.

Oleg Drobina,

Thank you! Interesting trick.

Please, provide details about: "This will result in the SelectQuery request where filters can be reviewed" - how exactly I can review such a request? 

Fariz Mamedov,

 

Just open the console in browser (F12 in Chrome) and go to the "Network" tab. And then find the correspondent SelectQuery request and review its body:

Oleg Drobina, Super thx!

Show all comments
date
Filters
homepage
Sales_Creatio
8.0

Hi Everyone,

 

Please help me to find a way to add a custom date range filter option on the Home page. 

The exact requirement is to have a filter which is similar to the quick filters in the section dashboards.

Like 0

Like

1 comments

Hello,

 

As of now the quick filter functionality (or ability to apply a separate filter) is not yet available for the Home pages. We've registered a corresponding query for our responsible R&D team to consider implementing this functionality in future releases. 



Best regards,

Anastasiia 

Show all comments
mobile
Filters
Sections
Mobile_Creatio
8.0

Hello Community,

In the Mobile app there is no trace of the Filters in the Sections (Accounts, Contacts)

Filters seem to appear only in the Activities Section.

How should i add the filter (icon and functionality) to the most used Creatio sections (Accounts,Contacts) etc ?

Best regards,

Sasori

Like 0

Like

4 comments

Hello,

 

Filters are present in sections Accounts and Contacts in mobile applications in the latest versions.

Please try updating your mobile application to the latest available version.

If it doesn't fix the issue, please email us at support@creatio.com and we will check the matter for you.

 

Best regards,

Yuliya Gritsenko

Hello Yuliya Gritsenko,

Could you please let us know Why filter icon is not showing in the Mobile applications freedom UI?

 

Prem Kumar,

 

Please make sure that your mobile application is updated to the latest available version.

However if after the update the issue is still present, you should contact our support team directly at support@creatio.com so we could analyze the issue on your environment.

Mira Dmitruk,

 

Yes we are using the updated mobile application.
We have a requirement in the mobile application customized section to filter the records in the mobile we doesn't have the filter icon to filter the section in the freedom UI. 
Please help us to solve the issue.

 

 

Here we can see the two buttons like Case ID sorting and Folders but we dont have the filter icon in the mobile freedom UI

Show all comments
detail
Filters
Sales_Creatio
8.0

Hi all,



I'm trying to add multiple fixed filters to a detail on a booking record.

 

Master Record = UsrBooking

Detail = UsrPayments

 

I would like to show all payments linked to a booking where the account type (UsrPayments.UsrAccountType) = "Coach Company" (30091a3f-b9fd-43da-a39f-e0c59402a115)



i've added the below to the booking page schema (using Add fixed filter to detail | Community Creatio) but it overwrites the link to the booking and shows only 'coach company' payments for all bookings:

details: {
			"UsrCoachPaymentsDetailBooking": {
				"schemaName": "UsrCoachPaymentsDetail",
				"entitySchemaName": "UsrPayments",
				"filter": {
					"detailColumn": "UsrPaymentScheduleBooking",
					"masterColumn": "Id"
				},
				"filterMethod": "getFilters"
			}
methods: {
                    getFilters: function() {
						var filters = new this.Terrasoft.createFilterGroup();
						var AccountType = "Coach Company";
						filters.add("FilterAccountType", this.Terrasoft.createColumnFilterWithParameter(
							this.Terrasoft.ComparisonType.EQUAL, "UsrAccountType.Name", AccountType));
					return filters;
				}
		},

I would like to either:

  1. add the result of the getFilters function to the existing filter
  2. include the booking filter in the getFilters function

As a bonus, I'd also like to use the Id for the AccountType instead of the name (which may be subject to change).



Any assistance would be appreciated.

Like 0

Like

2 comments
Best reply

Hi Cris,

 

The filtration you've created will return only UsrPayments records that have the UsrAccountType.Name = "Coach Company" and this result will be returned once the UsrPayments detail is loaded on the page. After that you can add additional filters manually. In case you need to use Id filtration you can modify the logic of the filter:

var accountTypeId = "some id here";
filters.add("FilterAccountTypeId", this.Terrasoft.createColumnFilterWithParameter(this.Terrasoft.ComparisonType.EQUAL, "UsrAccountType", accountTypeId));

getFilters method is executed initially once the detail is donwloaded to the page. Adding custom filters from the UI to this method won't be possible, so all initial filters that the record should have should be added to the getFilters method via the code.

Hi Cris,

 

The filtration you've created will return only UsrPayments records that have the UsrAccountType.Name = "Coach Company" and this result will be returned once the UsrPayments detail is loaded on the page. After that you can add additional filters manually. In case you need to use Id filtration you can modify the logic of the filter:

var accountTypeId = "some id here";
filters.add("FilterAccountTypeId", this.Terrasoft.createColumnFilterWithParameter(this.Terrasoft.ComparisonType.EQUAL, "UsrAccountType", accountTypeId));

getFilters method is executed initially once the detail is donwloaded to the page. Adding custom filters from the UI to this method won't be possible, so all initial filters that the record should have should be added to the getFilters method via the code.

Oleg Drobina,

Thanks Oleg, this has done the trick. I was able to add multiple filters with the following:

methods: {
getFilters: function() {
	var filters = new this.Terrasoft.createFilterGroup();
	var accountTypeId = "30091a3f-b9fd-43da-a39f-e0c59402a115";
	var bookingId = this.get("Id")
	filters.add("FilterAccountTypeId", this.Terrasoft.createColumnFilterWithParameter(this.Terrasoft.ComparisonType.EQUAL, "UsrAccountType", accountTypeId));
	filters.add("FilterBookingId", this.Terrasoft.createColumnFilterWithParameter(this.Terrasoft.ComparisonType.EQUAL, "UsrPaymentScheduleBooking", bookingId));
return filters;
	}
},

 

Show all comments
#creatio
#8.0.3
Filters
List View
Studio_Creatio
8.0

I have problem about filter. How add filter in list creatio?

So that you understand what I mean, I've included the picture below

and the filter I mean is like this

Like 0

Like

1 comments

Hello Muhamad,

 

Your business task could be achieved by development tools.



Please refer to this article.



Best regards,

Bogdan

Show all comments
printables
Filters
Sales_Creatio_enterprise_edition
7.18

Hello community,

 

I have an opportunity section with a lookup field called OpportunityType. I also have a lookup field called Printable in the same section, which the user will use to tag the opportunity record to a particular printable. 

 

The use case here is that since we have many printables, we would like to filter the printable based on OpportunityType. I am assuming we need to replace the Printable object, add a new lookup column referencing the OpportunityType Lookup. We want this field OpportunityType to be visible on the UI where Printables are configured (Please see below image).

 

Please advise.

Like 0

Like

2 comments

Hello Shivani,

I have an article here that shows how to show or hide printables based on a value on the page. Hopefully this helps you get started: 

https://customerfx.com/article/showing-or-hiding-printables-based-on-a-…

Ryan

Hi Ryan,

 

I am looking for something different. I want to override the printable page schema (The page where we add new printable records) to show a new field as seen in the image I posted earlier.

Do you have any approach pls?

 

Thanks

Show all comments