Hi team,

 

I have a the below request from the customers. please see the screenshot

 

where status = lookup field

 

Can anyone please help.

 

Many thanks.

Like 0

Like

1 comments

Hi Akshit, 

 

We don't have practical examples hiding "+" on the detail based on conditions, alternatively I can suggest you to use “isDetailEnabled” function. So you can set up enable/disable detail due to your business logic.

 

Please check out these posts to get more details on how to use this function: 

 

https://community.creatio.com/questions/block-details-based-condition

 

https://academy.creatio.com/docs/developer/elements_and_components/inte…

 

 

Best Regards, 

 

Bogdan L.

 

Show all comments

If I Click on link Button in Homepage getting new homepage window,

How to ignore opening new window

For Link button Code is

{

                    "operation": "insert",

                    "propertyName": "items",

                    "parentName": "ToolsTile",

                    "name": "",

                    "values": {

                        "itemType": Terrasoft.ViewItemType.BUTTON,

                        "caption": {"bindTo": "Resources.Strings.CalculatorCaption"},

                        "click": {"bindTo": "onNavigateTocalculators"}

                    }

                },

Can you Suggest how to resolve this issue

Like 0

Like

3 comments

Dear Danyil Onoprienko,

My Question is not related to Creation of Button, It is related to LinkButton(Calculators) under SalesToolkit in HomePage,  Shown in below image.

 

Issue facing:- When click on Calculators(LinkButton), a new Homepage window is opening,  which is shown in the below image.

Please suggest me, How to ignore/Stop opening a new window Tab clicking on LinkButton(Calculators)

 

Using Link button Code is

{

                    "operation": "insert",

                    "propertyName": "items",

                    "parentName": "ToolsTile",

                    "name": "",

                    "values": {

                        "itemType": Terrasoft.ViewItemType.BUTTON,

                        "caption": {"bindTo": "Resources.Strings.CalculatorCaption"},

                        "click": {"bindTo": "onNavigateTocalculators"}

                    }

                },

 

Dear Community,

 

Is there any update on this issue.

 

Thank you in advance.

Mansoor.

Show all comments

Hi Team,

 

Scenario Is  : 

When payment status = closed, lock all the details and fields of edit page for which I followed this article https://customerfx.com/article/completely-locking-a-page-via-code-including-all-controls-and-details-in-creatio-formerly-bpmonline/

and it works well.

 

but the issue is that user is able to delete the  detail record using the run business process element. please see the below screenshot.

 

How can modify the code so that only other users have no visibility of this run business process button based on the condition (payment status = closed) ?

 

Many thanks.

 

Like 0

Like

1 comments

Hello Akshit, 

 

Actually there are couple ways to hide it.

 

The first one - you can find the implementation of this button by inspecting it, get the name and find the schema where this button is located. Then create replacing view mode where parent object will be the page where this button is located. So add the next code to the new schema(but change captions and object/buttons names according to yours):

 

define("InvoiceSection", [], function() {

    return {

        entitySchemaName: "Invoice",

        details: /**SCHEMA_DETAILS*/{}/**SCHEMA_DETAILS*/,

        diff: /**SCHEMA_DIFF*/[{

                  "operation":"remove",

                  "name": "YourButtonName"

            },]/**SCHEMA_DIFF*/,

        methods: {}

    };

});

 

 

The second way - hide it with using CSS by "visibility: hidden;" or "display: none;". But for such implementation you also need to inspect this button and get its name. Please check out this post about the way to hide it with CSS style:

 

https://community.creatio.com/questions/how-remove-tag-button

 

And this one might be really helpful to get some additional info: 

 

https://community.creatio.com/questions/how-add-custom-style-control-pa…

 

Best Regards, 

 

Bogdan L.

 

 

Show all comments

Hi All,

 

We created a new duplicated rule, it is working on first time record is created but it is not working on modifying the attribute we used in the rule on same record.

Note: We checked the check box "Use this rule on save".

 

Can we call the Duplicate rule from C# or Java script?

 

Regards,

Raviraja

Like 0

Like

3 comments
Best reply

Hello Raviraja,

If you want the records being checked for duplicates not only when it's created, but every time it's modified, please create Replacing Schema for Base Entity Page and paste the following into it:

define("BaseEntityPage", [], function(DeduplicationConstants) {
	return {
		details: /**SCHEMA_DETAILS*/{}/**SCHEMA_DETAILS*/,
		modules: /**SCHEMA_MODULES*/{}/**SCHEMA_MODULES*/,
		messages: {},
		mixins: {},
		methods: {
 
			/**
			 * @inheritdoc Terrasoft.BaseEntityPage#asyncValidate
			 * @overridden
			 */
			asyncValidate: function(callback, scope) {
				this.callParent([function(result) {
					if (result.success && this.get("PerformSearchOnSave")) {
						this.findOnSave(callback, scope);
					} else {
						callback.call(scope, result);
					}
				}, this]);
			},
		},
		diff: /**SCHEMA_DIFF*/[]/**SCHEMA_DIFF*/
	};
});

Please note, that it wil start duplicate check for every page on every change(even in the fields that are not being checked by your rule). 

You can use it as is or modify it so it fits your business task better. 

Best regards,

Yurii. 

Hello Raviraja,

If you want the records being checked for duplicates not only when it's created, but every time it's modified, please create Replacing Schema for Base Entity Page and paste the following into it:

define("BaseEntityPage", [], function(DeduplicationConstants) {
	return {
		details: /**SCHEMA_DETAILS*/{}/**SCHEMA_DETAILS*/,
		modules: /**SCHEMA_MODULES*/{}/**SCHEMA_MODULES*/,
		messages: {},
		mixins: {},
		methods: {
 
			/**
			 * @inheritdoc Terrasoft.BaseEntityPage#asyncValidate
			 * @overridden
			 */
			asyncValidate: function(callback, scope) {
				this.callParent([function(result) {
					if (result.success && this.get("PerformSearchOnSave")) {
						this.findOnSave(callback, scope);
					} else {
						callback.call(scope, result);
					}
				}, this]);
			},
		},
		diff: /**SCHEMA_DIFF*/[]/**SCHEMA_DIFF*/
	};
});

Please note, that it wil start duplicate check for every page on every change(even in the fields that are not being checked by your rule). 

You can use it as is or modify it so it fits your business task better. 

Best regards,

Yurii. 

Thanks for the reply Yurii,

 

Can we modify this for to rule only for the desired field?

Can't we call a specific rule from frontend script?

 

thanks!

Yedla Ravi Raja,

Since you replace Base Entity Page, all child schemas will also inherit the same behavior. 

If you'd like to call deduplication for specific pages please add this method to the page you need. 

Also, this method calls the search itself, not specifying the rules.  

Best regards, 

Yurii

Show all comments

Hi Creatio Team,

 

I followed all the relevant steps shown in the documentation of Creatio Mobile App setup and have got and stored the files necessary for debugging the mobile application in my system and also have made the necessary changes in the .bat file present in it to launch google chrome portable 79 which has its folder stored in D drive.

 

But , When I run start_webkit_emulator.bat  file to launch the Google Chrome with the settings page of Mobile Creatio application, Once I log in to the instance It shows server error as follows:

 

Please Help me resolve this issue as soon as possible. 

 

Thanks in advance

Sarika

Like 0

Like

3 comments

Dear Sarika,

 

Thank you for your question!

 

This error is not related to the Google Chrome Portable issues, but rather to the website you are trying to connect.

 

You may find more information on this error if you would press F12 in the browser`s console.

 

Have you installed the Pharma (Field Force) Marketplace extension lately?

If so, we would recommend deleting it and the navigating to this link and downloading a fresh new version of Pharma that has all the fixes applied to it (as we have has cases when the Mobile Application website has not been accessible because of some errors in Pharma`s schemas):

https://marketplace.creatio.com/app/pharma-creatio

https://marketplace.creatio.com/app/field-sales-creatio

 

If the error persists, we recommend contacting us at support@creatio.com 

 

Hope this clarifies!



Thank you!

 

Regards,

 

Danyil

 

Danyil Onoprienko,

 

I tried to login multiple times with my localhost creatio instance that has its username and password both as 'Supervisor' which is very general. Also I have checked the same instance on Other Chrome versions also.Therefore, there is nothing wrong with the username, password or the site which I'm trying to work on.

 

Also, I tried using demo login also which is there on the login page of mobile creatio tab in google chrome portable 79 but it shows the same server error problem. 

 

The error in the console window is as below:

 

Please provide me a solution for this asap.

 

Sarika Sharma,

 

Thank you for letting us know!

 

In this case, please try:

1. Using your IP address rather than "localhost";

2. Transferring your website to HTTPS: https://academy.creatio.com/docs/user/setup_and_administration/on-site_…

3. Check the "Session state" in your IIS; 

4. Check the cookies mode - make sure that it is set up to [Use cookies] and that the [auto] mode is turned off

 

Hope this helps!

 

Regards,

 

Danyil 

 

Show all comments

Hi Team,

 

My task is  : 

When Registration Status = Approved and Duplicate Records Exist then I have to show the Duplicate Records to the User On Some MessageBox and Take input from him/her wether he want to save the record or not 

 

Please see this image below : 

 

I want to show the records(in the detail highlighted in red) in message box and ask user whether to save the record on not ?

 

Please help me, How can I achieve this ?

 

Many thanks.

 

Like 0

Like

1 comments

Hello,

 



Here is code example of two methods that can be added on the edit page schema for your reference:

 

onCardAction: function(){

    this.callParent(arguments);

    var actionId = arguments[0];

    if (actionId=="save"){

        this.onSaveButton();

    }

},

onSaveButton: function() {

    var recordStatus = this.get("LookupCommunicationChannels").displayValue;

    var message="";

    var currentContactId = this.get("Id");

    if (recordStatus == "Email") {

        var esq = this.Ext.create("Terrasoft.EntitySchemaQuery", {

            rootSchemaName: "UsrDetailTest"

        });

        esq.addColumn("UsrLsOurAccount", "OurAccount");

        esq.addColumn("Name", "Name");

        esq.addColumn("UsrContact");

        esq.filters.addItem(esq.createColumnFilterWithParameter(this.Terrasoft.ComparisonType.EQUAL, "UsrContact", currentContactId));

        esq.getEntityCollection(function(result) {

            if (!result.success) {

                this.showInformationDialog("Data query error");

                return;

            }

            result.collection.each(function (item) {

                message += "Detail name: " + item.get("Name") +

                " OurAccount: " + item.get("OurAccount") + "\n";

            });

            this.showInformationDialog(message);

        }, this);

    }

}

 

Once you click "Save" button after filling the Registration Status, you will get message in the dialog window that contains the records from the detail. 

 



Best Regards,

Tetiana Bakai 

Show all comments

Hi Team,

 

I am actually trying to do something like this https://customerfx.com/article/executing-direct-sql-statements-in-a-process-or-configuration-web-service-in-creatio-formerly-bpmonline/  using CustomQuery

 

Please see below : 

 

But I am getting all these errors : 

 

Though I checked System.Data is already there. 

Can anyone please help me with this issue ?

Like 0

Like

5 comments

Hi Akshit,

 

Also add using the Terrasoft.Core.Entities namespace to your code as well as System, Terrasoft.Core.Factories and System.Runtime.Serialization namespaces.

 

Best regards,

Oscar

Oscar Dylan,

 

Thank you most of them are resolved only this persist.

Akshit,

 

You should also add the System.Data.IDataReader namespace to the code.

 

Best regards,

Oscar

Oscar Dylan,

 

Yes, I tried but it says IDataReader is not a namespace it's a type.

Akshit,

Hello Akshit,

reader.GetColumnValue<T> is an extension method defined in Terrasoft.Common. Add that as a using directive and it should fix your issue.

Ryan

Show all comments

Hi,

 

I am facing this use case that needs to keeps adding contacts that are being added to a campaign for a certain period of time.

What would be the best approach? Create a dynamic folder, and use "Add from folder" or "triggered adding"?

 

Thanks,

Like 0

Like

1 comments
Best reply

Dear Kavian,



Yes, it will be better to create a dynamic folder and use "Add from folder".



Best Regards,

Ivanna Yatsura.

Dear Kavian,



Yes, it will be better to create a dynamic folder and use "Add from folder".



Best Regards,

Ivanna Yatsura.

Show all comments

Hi Team,

 we can see this warning popping up when downloading the report and when we click on yes the excel says it has modified certain cells.. Can you please advise what could be the reason?

I had manually verified the existing live data with the report data and it matches correctly. Can this warning be ignored? we are only noticing this warning on random days. Please advise.

 

Like 0

Like

2 comments

Hello Gokul,

 

Hope you're doing well.

 

Please make sure you're using the Excel product that contains the latest updates. The next article can be useful for resolving the issue you have mentioned:

https://answers.microsoft.com/en-us/office/forum/office_2016-excel/file…

 

Also, in case the data are downloaded correctly these warnings can be ignorred.

 

Best regards,

Roman

Show all comments

The system is not respecting the price list registered for the account. I currently work with more than five price types for the same product.

The price list was registered and linked to the specified account, but when starting a new order for the account, it does not load the value referring to the list, but a base value.

 

Would have any tips or step by step to check this situation.

Like 0

Like

1 comments

Dear Alisson,



As we can see, you created a support case on this matter - 0998614 and we provided you with a reply:



This logic developed by our project team developers on your website. We are looking into it and will get back to you with the solution soon.

 

Thank you.



Best Regards,

Ivanna Yatsura.

Show all comments