I have list on section,

may i know how to filter data based on specific condition ?

lets say, i want to show the data where the status is "cancel" and the role is "admin"

 

thankyou

 

 

 

File attachments
Like 0

Like

1 comments

Hello Anton,

 

Thank you for your question!

 

Please, go to the section needed and click on Filters/Folders - Switch to advanced mode:

After that, click on Add condition and specify the condidions for the search:

 

Click 'Apply'.

 

More information on this can be found here:

https://academy.creatio.com/docs/user/platform_basics/business_data/fil…

 

Best regards,

Anastasiia

Show all comments

Hi community,

is it possible to align to the right a currency field value ?

Like 0

Like

3 comments

Hi Stefano,

 

Thank you for your question!

 

Unfortunately, it's not possible to align columns to the right in a tile view - all the fields are located to the left. 

 

We have already registered the idea for our R&D team to implement this functionality in further releases. I will assign your case to this project in order to increase its priority.

 

Best regards,

Anastasiia

Anastasiia Lazurenko,

I am having the same issue to align the field value to the right. Have the team implemented this Functionality ? Or there is any other way to do it ?

Greetings, 

 

Unfortunately, this feature is not yet implemented, but it is being considered by our R&D team. 



Best regards, 

Orkhan

Show all comments

Hello,

 

I have a lookup with certain columns. One of the column is a lookup and I need to filter this column based on certain conditions.

 

Is there an example of how to do this?

 

Thanks

Like 0

Like

3 comments

Hello Shivani,

 

If I understand your business task correctly, you would like to apply the filtration for lookup columns on some record page.

This can be achieved with a help of business rules functionality. 

More detailed information about it can be found in the below and related articles:

https://academy.creatio.com/docs/user/no_code_customization/ui_and_busi…



Should you have any questions, please let us know!

 

Best regards, 

Anastasiia

Anastasiia Zhuravel,

 

That was not my requirement. Apologies if I was not clear before. Let me try to state the use case again.

In the lookup section, I have a Lookup table as follows

The highlighted column is a Lookup pointing to SysModule table. I need to filter out certain sections and not show all the sections that comes in the pick list by default. Since the lookup section is different from other sections like Contact or Leads, I cannot use the solution you provided. 



I believe I need to create a client module to override BaseLookupConfigurationSection. It would be great if you could give me an example.



Thanks

Hi Shivani,

 

unfortunately this functionality is not possible at the moment. We will create a request for the  R&D department so they can develop this functionality in future releases.

 

Best regards,

Dariy

 

 

Show all comments

Hi, 

 

I have successfully locked a page using this article: https://academy.creatio.com/docs/developer/interface_elements/interface…

However, the stage bar is still enabled when the attribute IsModelItemsEnabled is set to false. 

How can I disable the stage bar based on that attribute?

 

Thanks,

Jose

Jose

Like 0

Like

4 comments

Hi Jose,

 

You need to override the setActionsEnabled method in you section SectionActionsDashboard schema in the following manner:

setActionsEnabled: function(actions) {
				const isFeatureEnabled = Terrasoft.Features.getIsEnabled("YourFeatureCodeHere");
				if (isFeatureEnabled) {
					this.iterateActions(actions, function(action) {
					action.set("Enabled", false);
				}, this);
					return;
				}
				this.callParent(arguments);
			}

As a result no one will be able to change the stage from the UI.

 

Best regards,

Oscar

Oscar Dylan,

Hi Oscar,

 

I'm not sure where to add that code as I cannot make changes or replace the SectionActionsDashboard. Also, I need to unable or disable the bar based on the schema page IsModelItemsEnabled attribute that is set true or false on the onEntityInitialized function based on conditions on the page (e.g. Locked by field populated and equal to current user, status != 'Processed', etc. )

 

Thanks,

Jose

Jose Hernandez,

 

Hi,

 

You can replace the SectionActionsDashboard module for your section and you can put the code in the replaced module (every OOB section with actions dashboard has its own SectionActionsDashboard, like OpportunityActionsDashboard or CaseSectionActionsDashboard, take a look at the app configurations please). In case you have a custom section and you need some additional logic in the action dashboard of this section your can create your section actions dashboard based on the SectionActionsDashboard (selected as a parent) and then this custom actions dashboard can be connected to the page (see how it's developed for the LeadSectionActionsDashboard and added to the BaseLeadPage).

 

Secondly, you can create a logic of sending sandbox messages between modules as described in this example (in your case it should be SectionActionsDashboard module and your record page module) or you can see that a message is used in the base LeadSectionActionsDashboard.

 

Best regards,

Oscar

Oscar Dylan,

Thanks Oscar. I was able to disable the bar based on the attribute following your suggestions.

Show all comments

I'm having some issues with updating the value for a parameter from client-side code, from the ProcessSchemaPropertiesPage (process designer).  The reason for this is that I have a base process that is getting coppied for a specific use, and I'm passing a value to that copy that should be saved to a process parameter.  I need to reference this parameter from a process execution.

 

What I've attempted is this:

 

             saveValues: function() {

                    process = this.get("ProcessElement");

                    var scope = this;

                    var parameters = process.parameters;

                    Terrasoft.each(parameters, function(){

                        var item = this;

                        if(item.name == "marketingProcess"){

                            item.sourceValue.displayValue.cultureValues["en-US"] = "test123";

                            //item.sourceValue.value.cultureValues["en-US"] = "test123";

                            item.sourceValue.value = "test123";

                            scope.saveParameter(item); 

                        }

                    });

                    this.callParent(arguments);

               }

It looks like it works, but it's not actually updating the parameter value.  I've tried something similar on the loading of the process and on saving.

 

Any ideas how you can manipulate process parameter values client side?  I would even be willing to use a server-side solution, if one exists.  I've looked at the server-side process services and I'm not seeing anything obvious there either.

 

Any ideas!

 

Thanks!

Jeremy

Like 0

Like

1 comments

Please provide us with a complete step-by-step description of the practical usage of the functionality you demand.

 

Thank you!

 

Best regards.

Oscar  

Show all comments

HI, 

 

I'm working with a business process, I have added a "Perfom Task" element, but I need to be able to set a custom parameter to it. The field already exists in the activity, but I'm not able to set it from them "Perfom Task" element.

 

Is there a way to do this?

Like 0

Like

2 comments

Hello Javier,



Could you please specify which custom parameter do you mean?



Thanks in advance!



Best regards,

Bogdan

Hi Bodgan, I have figured it out. 

 

I added this code in "Advace settings" -> "After save" of "Perfom Task" element:

 

 activity.SetColumnValue("[FieldName]", [FieldValue]));

  activity.Save();

 

 

 

Thank you!

Show all comments

Hi All,

 

I am facing an issue with the file system development mode. I was trying to enable file system development mode on my local setup for a package that I developed on a cloud setup. When I installed the package on my local setup and compiled, there was no error. But after enabling the "File System mode", then downloading the package to the file system, when I tried to compile I received many errors w.r.to the js files in the package. But everything is working as expected on the UI. Screenshot attached for reference.

 

Local setup Version- 7.18.4

Cloud version-7.18.3

Like 0

Like

5 comments

Hi,

 

Please provide the code inside the file that returns an error.

Hi Oscar Dylan,

 

The error is showing for all the available schemas in the package, but inside the schema there is no error. I have attached one sample schema where error is showing.

 

 

 

Sourav Kumar Samal,

 

it's strange that these errors are returned for .js files upon compilation that should affect only C# schemas. Try generating the source code for all items and then compiling once again.

Hi Oscar Dylan,

 

Yes I have tried that also but the error is still showing. The error is showing only after enabling the file system mode and downloading the package to the file system. But before that there was no error showing.

Sourav Kumar Samal,

 

Got it. Please email us at support@creatio.com, provide us with the package that was installed and with a description on how we can reproduce this issue using the clean OOB version of the app. We will try to reproduce the issue on our end.

Show all comments

Hi

I have a custom button which when clicked brings up an pop up box on screen. I have used the web socket mechanism which gets triggered when the button is clicked. 



The issue is sometimes the pop box does not get generated after clicking the button, however after refreshing the browser page (hard reload/empty cache), the pop box starts generating again on the button click.



I want to know how to make sure the input box gets generated every time the button is clicked without having to refresh the page.



Thanks 

Like 0

Like

3 comments

Hi,

 

You need to debug the logic of the popup formation upon the button click when the issue reproduces and find out what exactly is not triggered that prevents the popup formation.

 

Best regards,

Oscar

Hi Oscar Dylan,

 

Currently on the button click, a business process will send a message and upon receiving of the message, the popup box is getting generated on screen.

But sometimes on the button click, the process is executed successfully but the popup is not generated.

The business process is containing a script task element which is sending a message from server to client. 

 

Thanks

 

then how to add pop-up dialog box when clicking the button

 

Show all comments

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

Like 2

Like

2 comments

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



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

 

Спасибо,

Артём.

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

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