Hi Community,

Is there a way we can customize the portal signup page, from there we want to have additional fields and add the attachments detail.

Like 0

Like

3 comments

Dear Fulgen,

You can edit the SSPLogin.aspx page located in the application folder. But it may not be possible to add the attachments detail. If you want the users to download some files, it is better to add some urls to download them from your local resource.

Dean

Dean Parrett,

Hi Dean,

What the client wants is that they can upload attachment right away on the portal signup page.

Dear Fulgen,

There is no way to attach the files on the login page. It can only be done as with the help of separate development project and we do not have any examples of similar implementation.

Regards,

Dean

Show all comments

Hello everybody,

I installed the 7.15 binaries on a new IIS instance but get an error when I start to login with my backup DB. 7.15 works fine with the embeded DB.

I'm wondering if there is something to update in the DB.

Thank you.

Here is the error message:

Server Error in '/' Application.

Versions of application "7.15.2.501" and configuration "7.14.1" are incompatible

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.



Exception Details: Terrasoft.Common.AppStartupException: Versions of application "7.15.2.501" and configuration "7.14.1" are incompatible



Source Error:

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.



Stack Trace:

 

[AppStartupException: Versions of application "7.15.2.501" and configuration "7.14.1" are incompatible]
   Terrasoft.Core.AppConnection.CheckConfigurationVersion() +191
   Terrasoft.Core.AppConnection.Initialize() +535
   Terrasoft.WebApp.Loader.Global.InitializeAppConnection() +152
   Terrasoft.WebApp.Loader.Global.Application_Start(Object sender, EventArgs e) +230
 
[HttpException (0x80004005): Versions of application "7.15.2.501" and configuration "7.14.1" are incompatible]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +520
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +176
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +165
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +353
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +341
 
[HttpException (0x80004005): Versions of application "7.15.2.501" and configuration "7.14.1" are incompatible]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +523
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +107
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +688



Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3056.0

Like 0

Like

2 comments

Hello,

Any news?

Thank you :)

Dear Thibaut, 



As far as I can see from the screenshot attached, the version of binary files you are using is incompatible with version of your DB. 

Please make sure that your DB and Binaries are on the same version of Creatio. 



You can contact Creatio Support team in order to request the needed version of binary files (7.14.1)  and update your system following this guide on our academy. 



Kind regards,

Roman

 

Show all comments

Hello,

I have a problem with a new created attachments detail in a tab.

I have created a new "Event" tab and I have added "Attachments" detail. Also, I have changed the parent for Schema16Detail object to "FileDetailV2 ( UIv2 )".

When I'm trying to upload a file in attachments, I receive the following error:

 

Console errors:

 

Please, help me to solve this errors.

Like 0

Like

3 comments

The entity for the attachments must be named "ParentEntityFile", so in your case that looks like OtpEventFile, and must also have "File" object as it's parent (not base object). Then you'd add a lookup to relate it to the parent OtpEvent.

See this article for more related info: https://academy.creatio.com/documents/technic-sdk/7-15/adding-attachmen…

Ryan

Hello.

I have updated the object as you said, but I receive the same error.

Any ideas? :)

 

I forgot to mention that I moved the Attachments tab inside the Event detail.

Show all comments

Hi,

I'm currently trying to add multiple multi-currency fields in the same page. I manage to create one following the developer guide https://academy.creatio.com/documents/technic-sdk/7-12/how-add-multi-cu….

But when i create other multi-currency field, both of them share the currency (not intended).

I would like to create another multi-currency field, independent from the first one.

Best regards.

 

 

Like 0

Like

1 comments

Hi Pedro,



I was able to come up with an example on Order page for fields Amount and Payment Amount. General idea is to duplicate logic for each field separately.



What I was not able to achieve is working with triangle as well (https://prnt.sc/qf6y2b), so I removed it. Also, as I am using Order page it has logic behind with Products detail which should be implemented for different currency fields, but I skipped it. In the custom section it should be all good.



Also note, that after adding new fields to the object, they will be empty. So to make it work, after adding fields you should fill them in using db script for example and then set default value for them (as in the article you mentioned) to make it filled in for all new records.



So here are the steps that I followed:

1. Created new fields in the object for Currency and Currency rate separately for each field. https://prnt.sc/qf6znu

2. Created a generator for field.

 

define("UsrMultiCurrencyEditViewGenerator", ["MultiCurrencyEditViewGenerator"], function() {
 
	Ext.define("Terrasoft.configuration.UsrMultiCurrencyEditViewGenerator", {
		extend: "Terrasoft.MultiCurrencyEditViewGenerator",
		alternateClassName: "Terrasoft.UsrMultiCurrencyEditViewGenerator",
 
		generateCurrencyButton: function(config) {
			var buttonConfig = {
				id: "multiCurrencyButton-currency" + config.name,
				className: "Terrasoft.Button",
				classes: {
					wrapperClass: ["currency-button"]
				},
				style: Terrasoft.controls.ButtonEnums.style.TRANSPARENT,
				menu: {
					items: this.getPropertyBindingConfig(config, "currencyButtonMenuList")
				},
				enabled: true,
				markerValue: config.name + " MultiCurrencyButton"
			};
			return this.generateButton(buttonConfig);
		}
	});
	return Ext.create(Terrasoft.UsrMultiCurrencyEditViewGenerator);
});

3. Modified order page:

 

define("OrderPageV2", ["MoneyModule", "MultiCurrencyEdit", "MultiCurrencyEditUtilities",
"UsrMultiCurrencyEditViewGenerator"],
	function(MoneyModule, MultiCurrencyEdit, MultiCurrencyEditUtilities) {
	return {
		entitySchemaName: "Order",
		attributes: {
			"UsrAmountCurrencyRate": {
				"dependencies": [{
					"columns": ["UsrAmountCurrency"],
					"methodName": "usrSetAmountCurrencyRate"
				}]
			},
			"Amount": {
				"dependencies" : [{
					"columns": ["Amount"],
					"methodName": "usrRecalculateAmount"
				}]
			},
			"UsrPaymentAmountCurrencyRate": {
				"dependencies": [{
					"columns": ["UsrAmountCurrency"],
					"methodName": "usrSetPaymentAmountCurrencyRate"
				}]
			},
			"PaymentAmount": {
				"dependencies" : [{
					"columns": ["PaymentAmount"],
					"methodName": "usrRecalculatePaymentAmount"
				}]
			}
		},
		mixins: {
			MultiCurrencyEditUtilities: "Terrasoft.MultiCurrencyEditUtilities"
		},
		modules: /**SCHEMA_MODULES*/{}/**SCHEMA_MODULES*/,
		details: /**SCHEMA_DETAILS*/{}/**SCHEMA_DETAILS*/,
		businessRules: /**SCHEMA_BUSINESS_RULES*/{}/**SCHEMA_BUSINESS_RULES*/,
		methods: {
			onEntityInitialized: function() {
				this.callParent(arguments);
				this.mixins.MultiCurrencyEditUtilities.init.call(this);
			},
			usrSetAmountCurrencyRate: function() {
				MoneyModule.LoadCurrencyRate.call(this, "UsrAmountCurrency", "UsrAmountCurrencyRate",
					new Date(), function() {
						var currency = this.get("UsrAmountCurrency");
						var division = currency && currency.Division;
						MoneyModule.RecalcCurrencyValue.call(this, "UsrAmountCurrencyRate",
							"Amount", "PrimaryAmount", division);
					}
				);
			},
			usrRecalculateAmount: function() {
				var currency = this.get("UsrAmountCurrency");
				var division = currency && currency.Division;
				MoneyModule.RecalcBaseValue.call(this, "UsrAmountCurrencyRate", "Amount",
					"PrimaryAmount", division);
			},
			usrSetPaymentAmountCurrencyRate: function() {
				MoneyModule.LoadCurrencyRate.call(this, "UsrPaymentAmountCurrency", "UsrPaymentAmountCurrencyRate",
					new Date(), function() {
						var currency = this.get("UsrPaymentAmountCurrency");
						var division = currency && currency.Division;
						MoneyModule.RecalcCurrencyValue.call(this, "UsrPaymentAmountCurrencyRate",
							"PaymentAmount", "PrimaryPaymentAmount", division);
					}
				);
			},
			usrRecalculatePaymentAmount: function() {
				var currency = this.get("UsrPaymentAmountCurrency");
				var division = currency && currency.Division;
				MoneyModule.RecalcBaseValue.call(this, "UsrPaymentAmountCurrencyRate", "PaymentAmount",
					"PrimaryPaymentAmount", division);
			},
 
			onPaymentAmountCurrencyMenuItemClick: function(menuItem) {
				var currency = this.get("CurrencyRateList").find(menuItem);
				this.set("UsrAmountCurrency", currency);
			},
			onAmountCurrencyMenuItemClick: function(menuItem) {
				var currency = this.get("CurrencyRateList").find(menuItem);
				this.set("UsrPaymentAmountCurrency", currency);
			},
			prepareCurrencyMenu: function() {
				this.mixins.MultiCurrencyEditUtilities.prepareCurrencyMenu.call(this);
				var currencyRateList = this.get("CurrencyRateList");
				if (!currencyRateList) {
					return;
				}
				var columnsList = ["Amount", "PaymentAmount"];
				this.Terrasoft.each(columnsList, function(column) {
					var menu = this.Ext.create(this.Terrasoft.BaseViewModelCollection);
					currencyRateList.each(function(item) {
						var menuItem = Ext.create("Terrasoft.BaseViewModel", {
							values: {
								Id: item.value,
								Caption: item.Symbol || item.displayValue,
								MarkerValue: item.Symbol || item.displayValue,
								Tag: item.value,
								Click: {"bindTo": "on" + column + "CurrencyMenuItemClick"}
							}
						});
						menu.addItem(menuItem);
					}, this);
					this.set(column + "CurrencyRateList", menu);
				}, this);
			},
		},
		dataModels: /**SCHEMA_DATA_MODELS*/{}/**SCHEMA_DATA_MODELS*/,
		diff: /**SCHEMA_DIFF*/[
			{
				"operation": "merge",
				"name": "Amount",
				"values": {
					"bindTo": "Amount",
					"primaryAmount": "PrimaryAmount",
					"currency": "UsrAmountCurrency",
					"rate": "UsrAmountCurrencyRate",
					"generator": "UsrMultiCurrencyEditViewGenerator.generate"
				}
			},
			{
				"operation": "merge",
				"name": "PaymentAmount",
				"values": {
					"bindTo": "PaymentAmount",
					"primaryAmount": "PrimaryPaymentAmount",
					"currency": "UsrPaymentAmountCurrency",
					"rate": "UsrPaymentAmountCurrencyRate",
					"generator": "UsrMultiCurrencyEditViewGenerator.generate"
				}
			}
		]/**SCHEMA_DIFF*/
	};
});



Results:

https://prnt.sc/qf723t



Triangle is removed. If you want to still have it - you would need to improve this sample further and check how to make it work.



Regards,

Dmytro

Show all comments

I have created a BP with an empty script. With signals start and end.

I save and publish the BP and try then to run the process and an error displays:

 

Can you please tell me what I am doing wrong?

 

Like 1

Like

4 comments

Could you please send the screenshot again? The one you've added seems to be corrupted. 

I think I also have this issue. Error says "Publish the ... process before starting it".

What helps me is "Download packages to the file system". Seems like we have to "download" each time after saving BP but before publishing, otherwise publishing does nothing.

Artur Shelekhov-Balchunas,

 

Yes, this is what I'm getting too, but on a package installed from a zip archive (moving application from dev to test) so I wouldn't have thought we should need to mess around in the config tools at all. Would be useful if someone knew why this happens.

Discovered the issue can be due to other Source Code schemas (C# server code) which fail to compile, which for some reason prevents the Business Process from compiling when it's publishing - I found this by checking the 'Build' log file which can point you to the Source Code schema(s) and the lines causing problems. Would be nice if Creatio told us why the BP publish was failing!

Show all comments

Hi Team,

We were trying to filter out the account classification. However, we were not able to add the field account classification which is present in the account section to filters. is there a way to add them into the filter so that it can be searched quickly? 

 

 

 

Thank you in advance, Gokul

 

Like 0

Like

2 comments

Hello Gokul,

This field that you are trying to add to the filtration is a detail and detail values cannot be read using 1 level filter. To achieve your task you need to build a complex filter using Academy article here.

Best regards,

Oscar

Thank you for replying Oscar. I tried adding the advanced filter too but the account classification is not coming as an option in the filter

Show all comments