In the academy documentation, there is limited information about using the ESQ/ORM server-side methods to delete data, with only 2 or 3 toy examples. We need to efficiently delete large volumes of data using server-side ESQ in one of our processes, but we can't see anything about bulk deleting whil...MoreLess

Like 0

Like

2 comments

Hello Harvey,

You can use out-of-the-box examples of bulk deletion logic. For example we can take the BulkEmailTargetArchiver class and...MoreLess

Show all comments (1)

Hi Community,

I want to add all the columns to the ESQ query without giving manually for each column ?

Like 0

Like

1 comments

Hi Rakshith,

Please don't do this since this may result in heavy SQL query with unnecessary columns that is sent to the database each time...MoreLess

Show all comments

Hello Creatio community,

I am using Creatio base method:

/**
 * Opens edit page for selected record.
 * @protected
 */
editCurrentRecord: function() {
	const primaryColumnValue = this.getPrimaryColumnValue();
	// ** ESQ Method
	var object = this.GetObjData(primaryColumnValue);
	// existing implementation
	...

MoreLess

Like 0

Like

1 comments

Hello,

if you want to make your methods work in a defined order, you need to use the Terrasoft.chain logic. More about it in this article.

Show all comments

Hi Team,

I'm looking for a solution where I can fetch the list of records from a section if the value of any three fields that i enter in the edit page form of a new record match with the current entry field values.

For example : In my current record I enter the values as follows for the customer...MoreLess

Like 0

Like

1 comments

Hello,

Please, specify the problem in more detail, what are the user's steps when reproducing it, what is the actual result and what is expected...MoreLess

Show all comments

Why is this not working? I am genuinely confuse.



Setting visibility using ESQ is not working. Am I missing something?

 

define("OpportunitySectionV2", ["ConfigurationConstants"], function(ConfigurationConstants) {
	return {
		entitySchemaName: "Opportunity",
		details: /**SCHEMA_DETAILS*/{}/**SCHEMA_DETAILS*/...

MoreLess

Like 1

Like

5 comments
Best reply

Solem Khan Abdusalam,

It's been a bit since I last tried this, but I've tried binding visible (and caption) of buttons in ActiveRowActions and...MoreLess

Show all comments (4)

Hi Team,



I would like to modify the filters for the list of Product Displayed while adding products in OrderProduct (In Order record).

Step 1: How does the add button event open ProductSelectionSchema?

Step 2: Need to update the filters in ProductSelectionSchema?

The Product selection schema has...MoreLess

Like 0

Like

3 comments

Hello Bhoobalan,

Regarding the first question, the add button is defined in the ProductDetailV2 schema from the ProductCatalogue package. In...MoreLess

Show all comments (2)

Hi Team,

There is a requirement in which I have to verify a specific condition based on fields and lookup values on clicking the SAVE button. I am using ESQ in edit page schema while overriding asyncValidate method to achieve this. 

But, I am unable to figure out which commands can be used to get further field values of that lookup, and then compare it. For reference, here in my case, Contact lookup is on Custom section and I want to fetch Department value of it .

Thanks in Advance, Prashant Jha

Like 0

Like

4 comments

Hello, 

Please check the below Community post for an example of the implementation:

https://community.creatio.com/questions/actually-i-have-developed-code-…

Let...MoreLess

Show all comments (3)

Hi all,

Have you played with Freedom UI Sdk yet ?

Have you any idea of how to execute an esq ?

Best regards

Like 1

Like

5 comments

Hello,

Thank you for reaching out.

Could you please clarify what issue do you have and what is your business task? 

Thanks in advance.

Best regards,

Anastasiia

Show all comments (4)

Hi Community,

I am facing an issue which is related to SectionActions Button for sending multiple records. I need to send some records (out of all selected records) to a business process in an array after filtering with esq inside section edit page.

Issue: The filtered Id's are not being pushed int...MoreLess

Like 0

Like

1 comments

Hi,

The issue here is that ESQ is asynchronous and as a result once the:

selectedRows.forEach(fnProgramABCArray);

is called, the browser...MoreLess

Show all comments

I'm optimising a query attempting to use a filter with 'Terrasoft.ComparisonType.EXISTS', I'm guessing at the syntax and it isn't working.  If anyone could point out where I'm going wrong here:

...
const subFilter = Terrasoft.createFilterGroup();
subFilter.addItem(Terrasoft.createColumnFilterWithParameter...

MoreLess

Like 0

Like

8 comments

Hello Gareth,

Terrasoft.ComparisonType.EXISTS is not used in the client-side system logic anymore since it was replaced with the createExistsFilter...MoreLess

Show all comments (7)