Hi Team,

 

Can anyone please share an example (If there is any) of how to integrate with Twilio Sendgrid email api ?

 

Though I have already gone through this https://www.twilio.com/sendgrid/email-api

and figured out that  I need to write C# code in source code schema to use sendgrid email api but for this I have to install sendgrid package in creatio environment, but the problem is in my case Creatio environment is On-Clod setup.

Here I have two questions below :

1. Is my above understanding correct related to "Using sendgrid email api" ? 

2. How to make sure( In case of on-cloud setup) that required package(Sendgrid) should be there in creatio enviroment so that I can use it?

 

Thank you for your time.

Like 1

Like

3 comments

Hi Akshit,

 

This question should be addressed to the SendGrid support and once you receive a reply and some package should be installed in Creatio for the integration to work you can use the "Installed applications" section to install this package.

 

Best regards,

Oscar 

Oscar Dylan,

 

Thanks for your response,

 

How can we install nuget packages in creatio environment(on-cloud setup)  ?

 

Thank for your time!

Akshit,

 

Hi,

 

Packages can be installed through the "Installed applications" section as was mentioned by Oscar or in case it's cloud instance, you can create a corresponding request to the support team to install the packages during the maintenance window. 

 

Best regards, 

Anastasiia

Show all comments

Можно ли использовать async методы в БП?

Like 2

Like

2 comments

Здравствуйте Виталий,



Можете описать ваш вопрос более детально?

 

Спасибо,

Артём.

Лучше сам процесс выполнить асинхронно с помощью признака "Выполнять в фоновом режиме" у стартового сигнала в бизнес процессе. Кроме того, прошу вас вопросы на русском языке адресовать на ru комьюнити - https://community.terrasoft.ru/

Show all comments

Hi Community, 

 

I have to use Odata of Creatio environment from Postman using OAuth 2.0 authentication. For that, I have followed a Tech hour session of Creatio Trainers.

Tech Hour - Integrate like a boss with Creatio, part 2 (Odata)

 

But, while generating token at 38:10, I am not getting token in a response instead of that I am getting some HTML code like below.

 

 

Please suggest and help how to get token and if I am missing something. :)

Thanks in Advance.

Like 0

Like

4 comments

Hi Patrik,

 

Can you please provide a complete HTML-code from the response? There should be some description of the response at the bottom.

 

Best regards,

Oscar

Hi Oscar,

 

Below is the complete HTML-code.

 

<!DOCTYPE html

    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" culture="en-US">

 

<head>

    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />

    <meta name="fontiran.com:license" content="LAXSN" />

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <title>

        Creatio

    </title>

    <style>

        .font-preload {

            position: absolute;

            opacity: 0;

        }

 

        .font-preload-open-sans {

            font-family: "Bpmonline Open Sans";

        }

 

        .font-preload-open-sans-light {

            font-family: "Bpmonline Open Sans Light";

        }

 

        .font-preload-open-sans-bold {

            font-family: "Bpmonline Open Sans Bold";

        }

    </style>

    <script type="text/javascript">

        Terrasoft = window.Terrasoft || {};

Terrasoft.appFramework = "NETFRAMEWORK";

Terrasoft.coreVersion = "7.18.5.1500";

Terrasoft.useClientPerformanceLogger = false;

Terrasoft.configuration = Terrasoft.configuration || {};

Terrasoft.configuration.Structures = Terrasoft.configuration.Structures || {};

Terrasoft.useParallelSchemaBuilding = true;

Terrasoft.showSessionEndNotification = false;

Terrasoft.useWebSocketKeepAlive = true;

Terrasoft.useStaticFileContent = true;

Terrasoft.usePackageFileContent = true;

Terrasoft.useGenerateModulePathes = true;

Terrasoft.useNewRightsManagement = true;

Terrasoft.useOffsetFetchPaging = false;

Terrasoft.useMarkerValue = true;

Terrasoft.enablePerformanceManager = false;

Terrasoft.useSecureSettingsOnClient = false;

Terrasoft.useSchemaUniqueNameRandomGenerator = true;

Terrasoft.disableAspxErrorPage = true;

Terrasoft.useAsyncStaticContentGeneration = true;

var FileAPI = {

    staticPath: "https://050800-studio.creatio.com//Resources/ui/FileAPI/",

    flashUrl: "https://050800-studio.creatio.com//Resources/ui/FileAPI/FileAPI.flash.s…",

    flashImageUrl: "https://050800-studio.creatio.com//Resources/ui/FileAPI/FileAPI.flash.i…" };

Terrasoft.storesConfig = [];

Terrasoft.storesConfig.push({levelName: 'ClientPageSession', type: 'Terrasoft.MemoryStore', isCache: true});

Terrasoft.storesConfig.push({levelName: 'Domain', type: 'Terrasoft.LocalStore', isCache: true});

if(Terrasoft.StoreManager){

    Terrasoft.StoreManager.registerStores(Terrasoft.storesConfig);

}

Terrasoft.loaderBaseUrl = "https://050800-studio.creatio.com/";

Terrasoft.workspaceBaseUrl = "https://050800-studio.creatio.com/";

Terrasoft.coreModulesPath = 'core/hash/';Terrasoft.app = Terrasoft.app || {};

Terrasoft.app.config = Terrasoft.app.config || {};

Terrasoft.app.config.staticFileContent = Terrasoft.app.config.staticFileContent || {};

Terrasoft.app.config.staticFileContent.imagesRuntimePath = 'conf/content/img';

Terrasoft.app.config.staticFileContent.schemasRuntimePath = 'conf/content';

Terrasoft.app.config.staticFileContent.resourcesRuntimePath = 'conf/content/resources';



 

Terrasoft.showSelfRegistrationLink = true;

    </script>

    <script type="text/javascript">

        window.workspaceCount = 0;

window.supportInfo = [];

window.supportInfoCaption = 'Technical support';

window.importantLinks = [];

window.importantLinksCaption = 'Important links';

window.productVersion = '7.18.5.1500';

window.loginTimeout = '30000';

var Terrasoft = Terrasoft || {};

window.isNtlmLoginVisible = false;

window.isOpenIdLoginVisible = false;

window.loginPageWidgetInfo = {visible: true, src: 'https://www.bpmonline.com/page/creatio/widget'}

window.unsupportedBrowserInfo = { visible: true }

window.loginImageUrl = '/terrasoft.axd?s=nui-binary-syssetting&r=LogoImage&source_hash=98b1b8112110361c36b8ab70d88db296';

window.productVersion = '7.18.5.1500';

    </script>

    <script type="text/javascript"

        src="https://050800-studio.creatio.com//core-sl/851526dc5db90435038b708f7ad9…"></script>

    <script type="text/javascript">

        Terrasoft.loginUrl = 'https://050800-studio.creatio.com/ServiceModel/AuthService.svc/Login';

Terrasoft.ntlmLoginUrl = 'https://050800-studio.creatio.com/Login/NuiLogin.aspx?ntlmlogin';

Terrasoft.changePasswordUrl = 'https://050800-studio.creatio.com/ServiceModel/AuthService.svc/DoChange…';

Terrasoft.simpleLoginTag = "simplelogin";

Terrasoft.loginModulePath = 'https://050800-studio.creatio.com//core/cab68cf981c5c57700bb51729bd6695…';

    </script>

    <script type="text/javascript"

        src="https://050800-studio.creatio.com//core/db7fe0930e6258f01fb73405039cc9a…">

    </script>

    <script type="text/javascript"

        src="https://050800-studio.creatio.com//core/a2de79ad7a40d8fc81723c5ec4924f6…">

    </script>

    <script type="text/javascript">

        Terrasoft.configurationContentHash = "e5c44fb36af042b9bd061eabf982e95f";

Terrasoft.fileContentDescriptorsFileExists = true;

Terrasoft.fileContentBootstrapsFileExists = true;

Terrasoft.currentUserCultureName = "en-US";

    </script>

    <script type="text/javascript"

        src="https://050800-studio.creatio.com//core/82582be2ea4244b8799f21ef78fd6a7…">

    </script>

    <link rel="stylesheet" type="text/css"

        href="https://050800-studio.creatio.com//core/618184e4bd438f8c5e43aa74aff1464…" />

    <link href="../terrasoft.axd?s=nui-binary-syssetting&r=FaviconImage&source_hash=b05a750c6b433c4fc47050e3d539139e"

        rel="shortcut icon" type="image/vnd.microsoft.icon" />

    <script type="text/javascript"

        src="https://050800-studio.creatio.com//core/057665f97324038f6c7c326b6734de6…"></script>

    <script type="text/javascript">

        requirejs.config({

    'paths': {

        'require-config': 'https://050800-studio.creatio.com//core/c3b382519da9b15e207de6d13b5f07b…',

        'require-url-config': 'https://050800-studio.creatio.com//core/967b00f40245f346c0fb1e09d597be5…',

        'core-base': 'https://050800-studio.creatio.com//core/d17ef52258a059bbfe965f70e14a892…',

        'bootstrap': 'https://050800-studio.creatio.com//core/6290cba0af7874034f1ec28936bca13…',

        'performanceLogger': 'https://050800-studio.creatio.com//core/cf23c4ee65b1c47840a78249f048d9e…',

        'performancecountermanager': 'https://050800-studio.creatio.com//core/e79de66acd39442acc1377a3c171086…',

        'rxjs': 'https://050800-studio.creatio.com//core/3af6aa89d5864381a3fd9f1fe6785da…',

        'process-designer-component': 'https://050800-studio.creatio.com//core/5119e9df4aca8914fabf4effd4b3ee4…',

        'voice-to-text-component': 'https://050800-studio.creatio.com//core/9df4cfbb9e9b64ef08efce6d7b673e3…',

        'jQuery': 'https://050800-studio.creatio.com//core/f7072c6fb890cf46ab0e415e1c5edc0…',

        'ckeditor-base': 'https://050800-studio.creatio.com//core/35294e09797b9d02519ddb8ec253cc6…',

        'html2canvas': 'https://050800-studio.creatio.com//core/6bd482f253bafa6d551a21a9d1c5158…',

        'login-view-utils': 'https://050800-studio.creatio.com//core/dac89c851a756ef023c909a162fe1bd…',

        'configuration-loader': 'https://050800-studio.creatio.com//core/2a08fc37afe007049254c67723a07b7…',

        'configuration-bootstraps': 'https://050800-studio.creatio.com//core/0b716942a363fd530c825a6916ea3eb…',

        'loadbootstrap': 'https://050800-studio.creatio.com//core/fb69c3378bd3bdd1dcaab52942c87fa…',

        'chartjs': 'https://050800-studio.creatio.com//core/35da68cdf95e9468e2d8a3402ba2990…',

        'chartjs-label': 'https://050800-studio.creatio.com//core/0465154f993989d21ccc58b60b5eff8…',

        'chartjs-defaults': 'https://050800-studio.creatio.com//core/f5dcdb1296b21c01cb66773578fcdbd…',

        'chartjs-funnel': 'https://050800-studio.creatio.com//core/1d50b71dc2141b3e6bf11233f3110a0…',

        'chartjs-gauge': 'https://050800-studio.creatio.com//core/c69beeddee9d58074a185ac35ead686…',

        'user-agent': 'https://050800-studio.creatio.com//core/7b46df63a446479bad7a010aefae6d4…',

        'user-agent-parser': 'https://050800-studio.creatio.com//core/796eff62f0f726654cfc29d4a77df33…',

        'ng-core': 'https://050800-studio.creatio.com//core/6cb28d63fbb28f9a3377feea3f9d820…',

        'ng-loader': 'https://050800-studio.creatio.com//core/6eada957e17a6e76a7090421502adbb…',

        'ng-scripts': 'https://050800-studio.creatio.com//core/30950c16db19b349981dd6cd0b66a3b…',

        'ng-polyfills-es5': 'https://050800-studio.creatio.com//core/83382b3fa36e6adf19d56492fa6ed49…',

        'ng-polyfill-webcomp': 'https://050800-studio.creatio.com//core/ba560325babea1d1f73bcc2b076e626…',

        'numeral': 'https://050800-studio.creatio.com//core/b3ac42fc2efdd8256803f41aab70211…',

        '@creatio/sdk': 'https://050800-studio.creatio.com//core/091860f68bd3d2e237f482f14c45829…'

    },

    'shim': {

        'chartjs-label': {

            'deps': [

                'chartjs'

            ]

        },

        'chartjs-defaults': {

            'deps': [

                'chartjs-label'

            ]

        },

        'chartjs-funnel': {

            'deps': [

                'chartjs'

            ]

        },

        'chartjs-gauge': {

            'deps': [

                'chartjs'

            ]

        },

        'user-agent': {

            'deps': [

                'user-agent-parser'

            ]

        },

        'ng-core': {

            'deps': [

                'ng-loader'

            ]

        },

        'ng-loader': {

            'deps': [

                'ng-scripts'

            ]

        },

        'ng-scripts': {

            'deps': [

                'ng-polyfills-es5',

                'ng-polyfill-webcomp'

            ]

        },

        'process-designer-component': {

            'deps': [

                'ng-core'

            ]

        },

        'voice-to-text-component': {

            'deps': [

                'ng-core'

            ]

        }

    }

});

require(['loadbootstrap'], function() {});

    </script>

    <script type="text/javascript"

        src="https://050800-studio.creatio.com//core/f7072c6fb890cf46ab0e415e1c5edc0…"></script>

    <script type="text/javascript">

        console.warn('Creatio Debug mode is OFF. To switch ON use following code');

console.log('Terrasoft.SysSettings.postPersonalSysSettingsValue("IsDebug", true)');

Terrasoft.isDebug = false;

    </script>

    <script type="text/javascript">

        Terrasoft.DataValueTypeRange = {INTEGER: {maxValue:2147483647,minValue:-2147483648},FLOAT: {maxValue:79228162514264337593543950335,minValue:-79228162514264337593543950335},DATE_TIME: {maxValue:"9999-12-31T23:59:59.999",minValue:"0001-01-01T00:00:00.000"}};

    </script>

    <script type="text/javascript">

        Terrasoft.isSspInReadonlyMode = false;

    </script>

    <script type="text/javascript">

        let authErrorExceptions = Terrasoft.AuthErrorExceptions = {};

authErrorExceptions[4] = 'Access denied. Contact your system administrator';

authErrorExceptions[5] = 'Your password has expired. Re-set your password';

authErrorExceptions[10] = 'Time zone is invalid.';

authErrorExceptions[0] = 'Authorization failed';

    </script>

</head>

 

<body>

    <div class="font-preload">

        <span class="font-preload-open-sans">_</span>

        <span class="font-preload-open-sans-light">_</span>

        <span class="font-preload-open-sans-bold">_</span>

    </div>

    <form name="IndexForm" method="post" action="./NuiLogin.aspx?ReturnUrl=%2fconnect%2ftoken" id="IndexForm">

        <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="eMuh9ihakhnX/zUqq7lTE6+Qjxg4SzesoxXF7ONcAMizlm2gDp+Gio00ugTgWm/AlwErvFthXa/vJl5/6RJTQJDAIj954pdUbX8rQ4ykxxFP9iqA" />

 

        <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="0BFA92C5" />

    </form>

</body>

 

</html>

Pratik Sanghani,

 

Thank you! This message is usually returned in case you are not authenticated. Did you use UserName and UserPassword as a ClientId and ClientSecret and used Basic Auth? And also are you passing a form-data grant_type key in the headers and also using the identity service URL as an endpoint to send request?

 

Best regards,

Oscar

Oscar Dylan,

 

Thank you for the Help. It is working fine for me as well. I was not using the identity service URL as an endpoint earlier. :)

Show all comments

Hello,

 

We are repurposing the Case section in the Self Service Portal to create an Opportunity via a business process. As such, we do not need the Complain button nor the ability to Publish a message to the support team box.  Is there a method to remove these two items from the Self Service Portal Case Page?

 

Thanks,

-Scotty Chapman 

Blytheco

Like 0

Like

4 comments
Best reply

Hello Scotty,

 

Please create a replacing view model and select PortalMessagePublisherPage module as a parent and specify the following code in the created schema:

define("PortalMessagePublisherPage", [],
	   function() {
	return {
		entitySchemaName: "PortalMessage",
		mixins: {},
		attributes: {
 
			/**
				 * Publish message enabled flag.
				 */
				"IsPublishButtonEnabled": {
					dataValueType: this.Terrasoft.DataValueType.BOOLEAN
				},
		},
		methods: {
			setPublishButtonProperties: function(publishMessageInfo) {
				this.callParent(arguments);
				this.set("IsPublishButtonEnabled", false);
			},
		},
		diff: /**SCHEMA_DIFF*/[]/**SCHEMA_DIFF*/
	};
});

As a result once the schema is saved and the page is refreshed you will see that the button is always disabled:

Best regards,

Oscar

Update - I did find the System Setting for Enable Complain Function and am able to disable and hide the button that way. Still wondering if there's a way to disable the Publish Message box though.  Thanks!

Hello Scotty,

 

Please create a replacing view model and select PortalMessagePublisherPage module as a parent and specify the following code in the created schema:

define("PortalMessagePublisherPage", [],
	   function() {
	return {
		entitySchemaName: "PortalMessage",
		mixins: {},
		attributes: {
 
			/**
				 * Publish message enabled flag.
				 */
				"IsPublishButtonEnabled": {
					dataValueType: this.Terrasoft.DataValueType.BOOLEAN
				},
		},
		methods: {
			setPublishButtonProperties: function(publishMessageInfo) {
				this.callParent(arguments);
				this.set("IsPublishButtonEnabled", false);
			},
		},
		diff: /**SCHEMA_DIFF*/[]/**SCHEMA_DIFF*/
	};
});

As a result once the schema is saved and the page is refreshed you will see that the button is always disabled:

Best regards,

Oscar

Oscar Dylan,

 

Hi Oscar,

 

I will give this a try. Thanks so much!

 

-Scotty Chapman 

 

 

Oscar  - that worked like a charm. Many Thanks!

-Scotty Chapman 

Show all comments

Hi Team, 

 

In this scenario I want to display a message (Information about the field) for the field(please see the below screenshot) having hidden title on page (because tooltip doesn't work in case if title is hidden).

 

 

Can we show Information message for these kind of fields like in below screenshot

 

please help in achieving this functionality.

 

Thanks for your time.

Like 0

Like

1 comments

Hi Akshit,

 

Have you tried implementing the logic similar to the one described in this Academy article? What was the result?

 

Best regards,

Oscar

Show all comments

Hi Team,

 

I want to apply color on the record page fields (without any conditions) and I have found this article https://customerfx.com/article/adding-custom-css-style-sheets-in-bpmonline/ but I am not good with CSS, so can anyone please tell me 

If I want to apply a color on any field then In the below code : 

#OpportunityPageV2AmountFloatEdit-el should be replace with what in my scenario ?

 

And also How to make a text bold in text field, like in the below screenshot how to make "Benefits" (which is a default value in text field) bold ?

 

 

Thanks for your time.

Like 0

Like

1 comments
Best reply

Hi Akshit,

 

Righ-click on the field and choose the "Inspect" option:

Once done you will see the page HTML:

In your case you need to choose the element name (marked with the arrow as an example of the https://customerfx.com/article/adding-custom-css-style-sheets-in-bpmonline/ article).

 

As for your second question - use the font-weight attribute. As a result you should get something like this:

#OpportunityPageV2AmountFloatEdit-el{
	background-color: red;
	font-weight: bold
}

and the result is:

Best regards,

Oscar

Hi Akshit,

 

Righ-click on the field and choose the "Inspect" option:

Once done you will see the page HTML:

In your case you need to choose the element name (marked with the arrow as an example of the https://customerfx.com/article/adding-custom-css-style-sheets-in-bpmonline/ article).

 

As for your second question - use the font-weight attribute. As a result you should get something like this:

#OpportunityPageV2AmountFloatEdit-el{
	background-color: red;
	font-weight: bold
}

and the result is:

Best regards,

Oscar

Show all comments

This is code from the Develop your first application tutorial in the developer documentation.

 

An 'Action' menu item is set up in the client module of the section edit page:

/* Add the action to the action menu. */
getActions: function() {
    var actionMenuItems = this.callParent(arguments);
    actionMenuItems.addItem(this.getButtonMenuItem({
	    "Caption": {bindTo: "Resources.Strings.AddTrainingsActionCaption"},
	    /* Define the handler method for the action. */
	    "Click": {bindTo: "getBusinessProcessAddTrainings"},
	    "Enabled": true
    }));
    return actionMenuItems;
},

The menu option however only shows when the browser cache has been refreshed.  It happens every time an edit page is opened for a record (not just the first time an edit page is opened).  There initially is a blank space where the menu item should be, after a refresh the menu item shows.  There are some errors in the console:

When the page is loaded...

all-combined.js:41 The Id column is not declared in the ViewModel of the menu item

When the initial blank menu item is clicked:

Uncaught TypeError: Cannot read properties of undefined (reading 'apply')
    at i.callModelMethod (all-combined.js:41)
    at i.<anonymous> (all-combined.js:41)
    at i.fire (all-combined.js:6)
    at i.continueFireEvent (all-combined.js:6)
    at i.fireEventArgs (all-combined.js:6)
    at i.fireEvent (all-combined.js:6)
    at i.onClick (all-combined.js:41)
    at HTMLLIElement.eval (eval at cacheableFunctionFactory (all-combined.js:6), <anonymous>:6:13)
    at HTMLLIElement.k (all-combined.js:6)
    at t.value (polyfills-es5.js?hash=96751a9859cf44a7a1eb788f80c32556:1)
user: XXXX XXXX /268b5da7-2ede-4b32-8bbe-9af04721ebba
 file: https://110816-crm-bundle.creatio.com/core/83382b3fa36e6adf19d56492fa6ed49d/ng-core/src/polyfills-es5.js?hash=96751a9859cf44a7a1eb788f80c32556
 line: 1
 column: 16702
 message: Uncaught TypeError: Cannot read properties of undefined (reading 'apply') 
 date: Fri Dec 24 2021 14:10:31 GMT+0000 (Greenwich Mean Time)
 stack: TypeError: Cannot read properties of undefined (reading 'apply')
    at i.callModelMethod

 

Like 0

Like

1 comments

Hello Gareth, 

 

Thank you for your comments, we have tried to re-create the issue from our side and noticed that few more correction should be applied to the instruction even in previous steps of the article.

 

We are currently working on correcting the mentioned article, once done it will be available again and no issues should occur while following the instruction.

 

Thank you for understanding and helping us to make our application better.

 

Best regards,

Anastasiia

Show all comments

Hi support

I've a compilation error during the installation of a package on production environment.

The same package was fine on test cloud environment.

The error is

"2021-12-22 22:09:31,627 Autogenerated\Src\AccountSchema.Custom.cs(266,41) errore CS0115: 'AccountSchema.CreateSifUnindustriaReferenceContactColumn()': no suitable method found to override"

 

In the package I've renamed the custom column "SifUnindustriaReferenceContact" on the Account table.

How can I solve these issue ?

 

Like 0

Like

2 comments

Hello Stefano,



In order to fix the issue, you should back the column's original name.



We don't recommend renaming columns in objects (Code columns) with the Usr prefix, for example, UsrTestColumn. 

But you can change the title.

 

Best regards,

Bogdan

Hi Bogdan,

I solved the issue, using "Generate all schemas" and after that I compiled all

Show all comments

Going through the 'Developer documentation > Getting started > Develop your first application' tutorial, I've got to 'Step 3. Add page validation', where I'm asked to edit the source code of the 'UsrGroupSections1Page' client module.  The problem is this schema does not exist, it hasn't been created in any previous steps.

 

Does anyone know if it is in fact possible to complete this tutorial and build the application?

Like 0

Like

2 comments

For reference and for anyone else who travels along this road, at this point in the tutorial the 'Classes' table has been for some reason renamed 'Group sections'.  To make the code work requires the parameter 'rootSchemaName' of the 'EntitySchemaQuery' to be changed:

var esqPeriodicity = this.Ext.create("Terrasoft.EntitySchemaQuery", {
    rootSchemaName: "UsrClass"
});

The column setup of the 'Group training' detail also needs to be amended from 'Group section' to 'Class'.

Dear Gareth,

 

Thank you for your question!

 

The schema which is mentioned on Step 3 is generated by the wizard on Step 1. The name can differ a little as it's generated automatically. We are sorry it's not mentioned in the article and will add this information shortly.

 

Kind regards,

Anastasiia

Show all comments

Hello community,

I'm working on an assembly package and I'm dealing with some problems due to some customizations, in fact I tried to modify the replacing object of the Account, in particular the 'AccountInserting' event.

After this operations I noticed that the source code of the object remains empty and that the changes don't work, while doing the same operations in a "simple" package the source code is filled in and the changes work.

 

Do you have any idea why this is happening and how to fix this issue?

Let me know.

 

Thanks,

Luca

Like 0

Like

4 comments
Best reply

Hello Luca,

 

As stated in the Academy article here

  • It is not possible to implement object business logic via event sub-processes in the Object Designer. Use EntityEventListener to work with the event model. The EntityEventListener event set does not entirely match the event model in Creatio IDE. Learn more about the Entity event layer: Objects business logic.

And enabling the event on the object is needed for the sub-process in the object designer only. Please use the EntityEventListener instead.

 

Best regards,

Oscar

Hello Luca,

 

As stated in the Academy article here

  • It is not possible to implement object business logic via event sub-processes in the Object Designer. Use EntityEventListener to work with the event model. The EntityEventListener event set does not entirely match the event model in Creatio IDE. Learn more about the Entity event layer: Objects business logic.

And enabling the event on the object is needed for the sub-process in the object designer only. Please use the EntityEventListener instead.

 

Best regards,

Oscar

Hi Oscar,

I actually enabled the event on the object just to use it (as you said) in the sub-process in the object designer, but the customizations that I made there didn't work in an assembly package,  instead worked in a simple one.

Let me know if I have made myself clear or if you need other explanations.



Thank you.

Best regards,



Luca

Luca Tavasanis,

 

Hi,

 

As you said, you've enabled the event on the object to use in the sub-process in this object and did it in the assembly package. As stated on the Academy - it's impossible to use sub-processes on the object in the assembly package (and as a result the source code for the object won't be updated in case you are designing this sub-process in the assembly package). Can you please clarify what exactly is expected here?

 

Best regards,

Oscar

Hi Oscar,

sorry but I didn't understand that you were talking about the assembly package, my fault.

I will try the solution that you suggested with the EntityEventListener.

 

Thank you for your help!

Best regards,

 

Luca

Show all comments