Hello.
I'm trying to create a new Application throught Application management - Application Hub.
But every time have an error:
"25P02: current transaction is aborted, commands ignored until end of transaction block"
What's wrong?

Like 0

Like

1 comments

Hello Svitlana!

 

Hope you're doing well.

 

Please make sure that your development procedure is organized correctly. For that you can check the next articles: 

Also, we suggest to check this Marketplace application. It can help you to generate packages from the file system.

Show all comments

Hi all.

I'm tying to manually save in silent mode an active record.

When we open a records from the section page, the record (the edit page) is opened in a combined view so if I have a (custom) button on the action bar (on the top, near the "Actions" button) and when clicking on it >> trigger a function.. the function is located in the "xxxSection" JS module.

 

The problem is that on the section's JS methods, there is no "this.save(config)" method (like we have on an edit page js module) .

 

So, how can we programmatically save the active record in the "section" module code?

* We need this because we want to force "save record" before doing the actual logic after clicking the button.

(Regular UI ... NOT freedom UI)

 

Thanks..

 

Like 0

Like

1 comments

Hello,

 

You can try using the this.executeCardMethod("save") method upon clicking your button (as it's developed for the "Qualify" button in leads (see the onLeadManagementSectionButtonClick method from the LeadManagementUtilities module)). This will automatically save a page record even if the button was declared in the section code.

Show all comments

It seems that the date format in the Mobile app is always MM/DD/YYYY, while I want it to be DD/MM/YYYY. I've correctly set it to Dutch date and time format (which should be DD/MM/YYYY) in my profile in the browser version, but it does not seem to apply itself to the mobile app.

 

Is anyone successful in achieving this? 

Like 0

Like

0 comments
Show all comments

Hello,

 

I am looking for an Outlook connector that actually works. We have tried all the partner options and they're below satisfactory. I believe that SalesForce has an option that used to be called Lightening that everyone raves about. 

 

I'm wondering if Creatio will make this a priority in their new UI or perhaps have a mobile/tablet app that actually works making this type of product obsolete. At this point I will take either. 

Like 0

Like

1 comments

Hi Megan! How are you? Did you try our latest version of the connector: https://marketplace.creatio.com/app/outlook-connector-creatio? In case you have tried it, it would be very helpful if you share your feedback with us.  I suggest organizing a demo and being able to show you the capabilities of the connector. We also have a Gmail connector and we are working on a new version for Outlook Web.
Thank you!

Show all comments

We're looking to use the new Autonumber field feature on Leads to replace an existing custom field that we created to do a similar thing before this feature was available. We want the autonumber to start not at 0000001, but at where the other number left off (which now is 1026579). Hoping there's a setting somewhere I can make this change to utilize this feature. 

Like 0

Like

1 comments

Hello Andriana!

 

In order to reach the goal, you need to find a system setting with the code "CaseLastNumber" and set its default value to the prefered one from which the autonumber shall start.

Show all comments

Hey,

I've been searching, but I can't seem to find the function I want to override, it's the function that creates the "Run Process" button on the section page.

 

I want to disable it to users who aren't the Supervisor.

I've done something similar with the getViewOptions function so that only the Supervisor could change the column layout of the different sections.

 

Any help in finding the function I need to override would be appreciated!

 

Thanks in advance! 😁

Like 0

Like

2 comments
Best reply

Hi Edo,

I've not tested this yet, but wanted to mention for you to try. That button does have an attribute that controls its visibility. The attribute is "IsProcessButtonVisible". The attribute, and populating of the menu items is done in the mixin "ProcessEntryPointUtilities". You can override the function "fillRunProcessButtonMenu" on BasePageV2 (or which ever specific page you want to do this on). Something like this: 

fillRunProcessButtonMenu: function() {
    if (UserIsSupervisor) {
        // call base function to populate menu and set visible
        this.mixins.ProcessEntryPointUtilities.fillRunProcessButtonMenu.apply(this, arguments);
    }
    else {
        // do nothing except ensure button not visible
        this.set("IsProcessButtonVisible", false);
    }
}

Again, I've not tested that, but I believe it would work.

Ryan

Hi Edo,

I've not tested this yet, but wanted to mention for you to try. That button does have an attribute that controls its visibility. The attribute is "IsProcessButtonVisible". The attribute, and populating of the menu items is done in the mixin "ProcessEntryPointUtilities". You can override the function "fillRunProcessButtonMenu" on BasePageV2 (or which ever specific page you want to do this on). Something like this: 

fillRunProcessButtonMenu: function() {
    if (UserIsSupervisor) {
        // call base function to populate menu and set visible
        this.mixins.ProcessEntryPointUtilities.fillRunProcessButtonMenu.apply(this, arguments);
    }
    else {
        // do nothing except ensure button not visible
        this.set("IsProcessButtonVisible", false);
    }
}

Again, I've not tested that, but I believe it would work.

Ryan

Ryan Farley,

Thank you very much!
This is exactly what I was looking for and is working great 😁

Show all comments

Hi, Is it possible to change the "number of active background processes" referenced on the acadamy information Here

 

 

I'm trying to get more than 50 parallel processes but i can't find a way to do it. The box running the portal has enough to do it.

Like 0

Like

4 comments

Hello,

 

The maximum amount of business processes that can be run simultaneously in the background is 5 for each application (for example, if you have two nodes with two apps on them but one database - the number of business processes will be already 10).

Alternatively, you can run business processes not only in the background but also "live" (which means you will see the uploading mask in front of you while business processes are running). This way, you can run plenty business processes at once but please take into consideration the memory capacity of the machine

Thank you for the answer.

 

I will try to not run it in th background to see how much faster it is.

 

So the app doesn't care about the number of processors, or threads available on IIS, it's a fixed value based on the number of nodes?

 

 

Thanks

Luciano De Munno,

 

Yes, it's fixed value based on the number of nodes.

Bogdan,

When you say "Live" you mean to uncheck the Run current and following elements in background, right? Or is there another setting?

Show all comments

Good day!

Task: Upon changing the Type field in the account card, export all records from the section  to a CSV file on the user's computer.

You encountered an error message: 'File' does not contain a definition for 'WriteAllText'. However, you have included the using System.IO; directive.

Code:
 

  namespace Terrasoft.Configuration
{
    using Common;
    using System;
    using System.Linq;
    using Terrasoft.Core;
    using Terrasoft.Core.Entities;
    using Terrasoft.Core.Entities.Events;
    using Terrasoft.Core.Factories;
    using Newtonsoft.Json;
    using System.IO;

    #region Class: CHAccount_Custom_1EventListener

    [EntityEventListener(SchemaName = "Account")]
    public class CHAccount_Custom_1EventListener : BaseEntityEventListener
    {
        Entity _entity;
        UserConnection _userConnection;

        public UserConnection UserConnection => _userConnection ?? (_userConnection = _entity?.UserConnection);

        #region Methods: Public

        public override void OnSaved(object sender, EntityAfterEventArgs e)
        {
            base.OnSaved(sender, e);
            _entity = (Entity)sender;
            _userConnection = _entity.UserConnection;
            var typeId = _entity.GetTypedColumnValue<Guid>("TypeId");
            // Check if the saving event occurred for the Account object.
            if (typeId == new Guid ("f2c0ce97-53e6-df11-971b-001d60e938c6"))
            {
                // Retrieve data of the accounts from the Account object.
                EntitySchemaQuery esq = new EntitySchemaQuery(_entity.Schema);
                esq.AddColumn("Name");
                esq.AddColumn("CreatedOn");

                EntityCollection collection = esq.GetEntityCollection(UserConnection);
                if (collection != null && collection.Count > 0)
                {
                    // Create a CSV file.
                    string csvContent = "Name,Date\n";
                    foreach (Entity entity in collection)
                    {
                        string name = entity.GetTypedColumnValue<string>("Name");
                        DateTime date = entity.GetTypedColumnValue<DateTime>("CreatedOn");
                        csvContent += $"{name},{date.ToString("yyyy-MM-dd")}\n";
                    }

                    // Save the CSV file to the C drive of the user's computer.
                    string filePath = @"C:\Accounts.csv";
                    File.WriteAllText(filePath, csvContent);
                }
            }
        }

        #endregion
    }
    #endregion
}
 

Like 1

Like

2 comments
Best reply

Hi,

 

It happens because the system thinks that File is the Terrasoft.Configuration.File class by default. You need to specify complete class path (System.IO.File) in the code:

 

System.IO.File.WriteAllText(filePath, csvContent);

 

for the code to publish successfully.

Hi,

 

It happens because the system thinks that File is the Terrasoft.Configuration.File class by default. You need to specify complete class path (System.IO.File) in the code:

 

System.IO.File.WriteAllText(filePath, csvContent);

 

for the code to publish successfully.

Oleg Drobina,

Thank you very much, that helped."

Show all comments

Hello.

 

For now

request.$context.LookupPropName = undefined

clear the value, but not triggers any change events on page.

 

How can i clear lookup value on the page with triggering 

crt.HandleViewModelAttributeChangeRequest request?

Like 1

Like

1 comments

Hello,
It looks like the only possible solution for you would be to clear the value inside the business process.
Otherways you just don't trigger the handler.

Show all comments
Question

Hi, 

 

we have a new requirement of the customer like when we perform the import from excel, the customer wants to change the screens while performing the import process. as shown in the picture. 

 

 

File attachments
Like 0

Like

1 comments

Hello,

 

unfortunately, because of the fact that the mechanism behind the import process is quite difficult to customize as it has some core dependencies, there is no possibility to create those changes you are talking about at the moment.

 

Regards,

Gleb.

Show all comments