Hi,  

I have the following multiple filters working in a lookup:

 

"filters": [

                        function() {

                            var filterGroup = Ext.create("Terrasoft.FilterGroup");

                           

                            filterGroup.add("Segment",

                                Terrasoft.createColumnFilterWithParameter(

                                    Terrasoft.ComparisonType.EQUAL,

                                    "GlgSegment",this.get("GlgSegment").value));

                            

                            filterGroup.add("SegmentLeaderRole",

                                Terrasoft.createColumnFilterWithParameter(

                                    Terrasoft.ComparisonType.EQUAL,

                                    "Role","A25AD3ED-1095-4774-91E1-54BED571EA3B"));        

                                    

                                    

                            return filterGroup;

                        }

                    ]

 

I need to add another filter but ordering the filters in the following logical operation:

Segment AND (Role OR Role)

Looking forward to your comments. 

Regards, 

Javier

 

 

 

Like 0

Like

2 comments

Just found the solution to this problem in the following thread:

https://community.bpmonline.com/questions/lookup-field-filter

Javier Collazo,

You can also take a look at this chunk of code, it also represents the combination of two filter groups. The idea is to make firstly one filter group for OR clause. Afterwards, you create a second filter group, which combines a first one OR and other clause. By default filters are added via AND.

getCurrentUserAndTypesFilter: function() {

   var filterGroup = new this.Terrasoft.createFilterGroup();

   filterGroup.logicalOperation this.Terrasoft.LogicalOperatorType.OR;

   var innerFilterGroupCreatedBy = new this.Terrasoft.createFilterGroup();

   innerFilterGroupCreatedBy.add("CurrentUser"this.Terrasoft.createColumnFilterWithParameter(

      this.Terrasoft.ComparisonType.EQUAL"Tag.CreatedBy",this.Terrasoft.SysValue.CURRENT_USER_CONTACT.value));

   innerFilterGroupCreatedBy.add("PrivateType"this.Terrasoft.createColumnFilterWithParameter(

      this.Terrasoft.ComparisonType.EQUAL"Tag.Type", TagConstants.TagType.Private));

   var innerFilterGroupOtherTypes = new this.Terrasoft.createFilterGroup();

   var types = [TagConstants.TagType.Corporate, TagConstants.TagType.Public];

   innerFilterGroupOtherTypes.add("OtherTypes",this.Terrasoft.createColumnInFilterWithParameters(

      "Tag.Type", types));

   filterGroup.addItem(innerFilterGroupCreatedBy);

   filterGroup.addItem(innerFilterGroupOtherTypes);

   return filterGroup;

},

Regards,

Anastasia

Show all comments

Hi,

How can I make the full text of a checkbox field appear in the same line and change the order of them, that is, the button appears first and then the text.

Currently appears as in the figure below.

 

Thanks!

Version: 7.14

 

Like 0

Like

1 comments

Try to create a replacing client module for the page module and modify CSS of the checkboxes according to the article by the link below.

https://community.bpmonline.com/questions/how-add-custom-style-control-page-based-condition

Show all comments

Hi,

How can I change a checkbox design so that the text appears all in the same line and not as the image bellow?

Like 0

Like

1 comments

Hello Nuno!



Usually, for changing the appearance of some elements css stylesheets are used.

The idea is to override css rules for the desired elements. I also recommend to use devtools to test css rules in runtime. Article about it: https://developers.google.com/web/tools/chrome-devtools/css/



Also please note on these articles where similar development cases are displayed:



1. https://academy.bpmonline.com/documents/technic-sdk/7-12/advanced-settings-custom-detail-fields?_ga=2.91757139.837207587.1557733380-1226153156.1549047745

2. https://community.bpmonline.com/questions/how-add-custom-style-control-page-based-condition

3. https://community.bpmonline.com/articles/how-add-or-edit-css-style



Best regards,

Alex

Show all comments



Hi,

 

Does anyone know if there's a way to unmerge the merged contacts?

 

Regards,

AK

Like 0

Like

2 comments

Hi,

Basically, merge deletes all duplicate records from DB, so after records are merged they cannot be restored. You can create a backup before merging records to use it later for restoring data. 

Best regards,

Angela

Ah Alright. No worries.

Thanks :)

Show all comments

Does the notification " Deduplication task completed" imply that there are no duplicates in the system?

 

When I run the duplicate search in the contacts section, I get this notification.

Like 0

Like

3 comments

Hello,

This notification indicates that the process of duplicates search is finished, but there are two possible results: duplicates are found or duplicates are not found. To find out if duplicates were found you can go to "Setup duplicates rules" section of system designer and in "Actions" drop-down choose "Show duplicate contacts/accounts". This action will open the list of duplicated contacts or accounts. Or you can click on "Actions" in accounts or contacts section and click on "Show duplicate accounts/contacts" and it should return the list of duplicates.

Best regards,

Oscar

Oscar Dylan,

Alright!

Also, what does this error imply?

I've been getting this error for last few hours when I run the duplicate search.

aaykay,

This error can be received if there are some issues with duplicates search functionality like incorrect procedure (or errors in it) that is executed when the search is started. It is difficult to say without access to the application in which the issue can be reproduced. Please email us at support@bpmonline.com and provide us with access to the application and we will check it.

Best regards,

Oscar

Show all comments

Hi , 

I want to restrict certain products to display . These products were used earlier in the organisation , now are not in use  , Could you please suggest the best way to do it . 

 

TIA 

Shailey 

Like 0

Like

1 comments

Hello!

You have two ways how to manage this issue. Firstly, you can create a folder for products, which are in use currently and use not all list of products, but only products from this folder. Or you can set up access rights so that only system administrator has access right to read, edit or delete certain records. In this case, for other users, these products won't be displayed.

Best regards,

Anastasia

Show all comments

I have a detail in a page , when I open the page  , it loads then the grid will load after couple of seconds , what I want is to show a loader in the page and hide it when the grid is rendered.

How to know when the grid is rendered (finished loading), also in the case that I have more than 1 detail, how to check if all details are loaded and finished

Like 0

Like

1 comments

It's a very strange idea to stop using multithreading - one of the most powerful JS features. Please make sure that you need this. 

Anyway, details are loading asynchronously and they don't have an "onDetailLoaded" event. One of the latest loading methods will be "onGridDataLoaded" in the BaseGridDetail. Please feel free to use it as an indicator of the fact that a detail was loaded. 

In order to indicate a complete loading of all details please use threading control on a page. Please find more information about threads in the article by the link below.

https://stackoverflow.com/questions/30036/javascript-and-threads

Show all comments

Hi Community,

I am getting Oracle error ''ORA-01691: unable to extend lob segment DLD_CRM.SYS_LOB0000118070C00012$$ by 128 in tablespace USERS" when trying to install custom package from dev to prod instance using "Export to pacakges to archive" and "Installed Applications->Add Application->Install from file" (Please see image below).

Both dev and prod instance are using oracle database.

 

Like 0

Like

3 comments

Dear Fulgen,

It seems that this issue is connected with Oracle database structure. I think this article may help you with this issue: http://www.dba-oracle.com/t_ora_01691.htm

Best regards,

Angela

Angela Reyes,

Thanks Angela, we have already fixed the oracle database structure and we can now install package successfully.

We still have issue with our oracle database, we are encountering Oracle error "(ORA-00942) table or view does not exist" on submit case landing page.

 





We have already done other landing pages before in bpm online instance which uses ms sql database, and the system is working fine. So we are sure we did the same thing the only difference is that this time the bpm online instance is using oracle database. Hope you can help us, solve this issue.

Fulgen Ninofranco,

Have you checked server logs? They might have the information about missing table. 

Show all comments

Currently, there is no way to filter text fields for partial values in Business Rules.  For example, I want to be able to filter the names of roles for Quality Engineer out of a variety of different roles, e.g., Product Quality Engineer, Factory Quality Engineer, etc.  Please implement a LIKE function in or separate from equal and not equal.

1 comments

Dear Janine, 

Thank you for the suggestion. We've registered such request to the RnD team. 

Best regards, 

Dennis

Show all comments

Hi Community,

We are able to managed to create custom CUSTOM CONFIGURATION SERVICE using below link from academy.

https://academy.bpmonline.com/documents/technic-sdk/7-13/how-create-custom-configuration-service

Any idea how we can do custom configuration service with crm authentication? because this custom configuration service will not be used internally, it will be consumed by third party application.

 

Like 0

Like

4 comments

To execute the service, you will need to authenticate the same way that you would to use the OData API for bpm’online. This academy article walks you through the steps using Postman, the steps would be the same that you would implement in code: 

https://academy.bpmonline.com/documents/technic-sdk/7-13/how-call-confi…

Ryan

Ryan Farley,

Thanks Ryan

Is there a way we can pass the authentication through headers so that third party application will execute only one service. Can we configure the custom configuration service to use Basic authentication instead of FORM-BASED AUTHENTICATION (COOKIES)

Fulgen Ninofranco,

No. Bpm’online doesn't work that way. You must first authenticate through 

ServiceModel/AuthService.svc/Login and then another request to the configuration service. 

Fulgen Ninofranco,

As Ryan already mentioned, the authentication should be done in the following way: firstly call ServiceModel/AuthService.svc/Login service passing your credentials. In the response you will receive cookies to use in header for the further requests. Please see this article, it has good example on integration process using Postman. 

https://academy.bpmonline.com/documents/technic-sdk/7-13/how-call-configuration-services-using-postman

Regards,

Anastasia

Show all comments