Hi 

Can anyone tell me what is the functionality of the Portal message button (as highlighted in the image) present in the Cases section on portal, and where can I find its configuration in the system?

 

Thanks

Like 0

Like

3 comments

Hello Nisarg,



Could you please elaborate more on your business task?



Best regards,

Bogdan

Hi Bogdan,

As the Cases section is not present in Studio Creatio, I would want to implement the Portal message button functionality in a custom section.

Thanks

Dear Nisarg,



Unfortunately, there is no way to implement your business task.



Best regards,

Bogdan

Show all comments

Hi,

I have requirement in which I need to receive input from the user in a pop up in between a business process

Please suggested the configurations for the same.

Like 0

Like

6 comments

Hello Janhavi,

 

Please check if the [Auto-generated page] process element can help you to achieve your business task.

 

Best regards,

Bogdan.

Bogdan Spasibov,

Hi,

The Auto-generated page can not be the solution as it is not in the form of pop up(input box) and it consumes the entire screen space.

Vladimir Sokolov,

Hi,

The mentioned marketplace only helps in displaying the data to the user but does not allow the user to input any data.

I need user to input data.

Janhavi Tanna,

 

Hi,

 

There is no inbuild element that allows the process to show a popup, but you can create a logic that can open a popup for the user and then the input data can be used elsewhere.

 

The set of actions is simple:

 

1) Using the logic described by me in this community thread you can create a process that will send a WebSocket message to the user that triggered the process and pass all the parameters needed to the message.

2) When the message is received to the edit page you can create a handler that will open the popup with fields that can store values. There are community posts about creating a popup on the UI as well as Academy articles, for example here and here.

3) When the information is input and the OK button is pressed you can pass this information either to the UI fields, or create requests with UpdateQuery\InsertQuery classes (examples of the client-side logic using InsertQuery class and UpdateQuery class) to input information elsewhere. Or trigger another business process as described here.

 

So you need to study all of these and then create the logic on your side.

 

Best regards,

Oscar

Oscar Dylan,

Will try, Thanks

Show all comments

Hi,

There is a placeholder for printing the total of all product amount in the order section as shown in image below,

I have the similar requirement to be built in my project please suggest the configurations for the same

Like 0

Like

6 comments

Hi,

 

You need to debug the logic of this placeholder and implement a similar logic for the detail that you need. The methods you are interested is updateSummary from the OrderProductDetailV2 schema and diff objects are all that contain summaryCount and summaryAmount in their names.

 

Best regards,

Oscar

Oscar Dylan,

Hi,

I tried with the same suggested but the detail is not loading and the console shows the following error.

Janhavi Tanna,

 

Hi,

 

Cannot read property count of null means that some element that should return the count or count something tried to count something out of null. You need to debug the code and check which object returns null.

 

Best regards,

Oscar

Oscar Dylan,

Hi,

I found that there is no Id being passed in the "updatesummary" function for my configuration.

Please suggest any configuration passing a Id to this function.

Janhavi Tanna,

 

And why do you need an Id here and which Id do you need?

Oscar Dylan,

Hi,

I was trying to find the id of the object which returns null value but was unable to find any.

Show all comments

Hi

I am trying to delete a custom section added on to the customer portal. I have deleted its object from the "List of objects available for portal users" lookup. But the "Portal custom section name" is still there when I add it using the workplace setup (see below image for reference).

Moreover, there is no edit page for that portal section in the section wizard (see below image for reference).

Can anyone help me solve this issue?

Thanks

 

Like 0

Like

1 comments

Hello Nisarg,



Please contact support@creatio.com for further investigation. 



Thanks in advance!



Best regards,

Bogdan

Show all comments

In the previous versions of Creatio, In the User Task element there was the Script where you could implement the task logic, as shown in the image below

In which part of the User Task Source code , in the 7.18 Version of Creatio, should I implement the same logic ? 

 

Like 0

Like

3 comments

Hello Petrika,

 

Thank you for your question!

 

You can read more on this here:

https://academy.creatio.com/docs/user/bpm_tools/process_elements_refere…

 

Kind regards,

Anastasiia

Anastasiia Lazurenko,

Thank you Anastasia for your quick reply. But this is a different approach. I am not asking about the Script Task, but about the User Task.Because i want to use my logic in different bussiness processes.

Dear Petrika,

 

This logic is still the same. Please refer to the screenshots below:

 

 

Kind regards,

Anastasiia

Show all comments

I want to put button beside the group. Is the structure of groups and details different?

Like 0

Like

2 comments

I was only able to put the button inside the ControlGroup, but not in the "tools" container since ControlGroups have no "tools" container (like standard details). The result was as follows:

It seems that its impossible to put the button beside the group, but it's possible to put it inside the group using the code like below:

{
				"operation": "insert",
				"name": "ContactCategoriesControlGroup",
				"parentName": "GeneralInfoTab",
				"propertyName": "items",
				"values": {
					"itemType": Terrasoft.ViewItemType.CONTROL_GROUP,
					"caption": {"bindTo": "Resources.Strings.ContactCategoriesControlGroupCaption"},
					"items": []
				},
				"index": 0
			},
			{
				"operation": "insert",
				"name": "ContactCategoriesControlGroupButton",
				"parentName": "ContactCategoriesControlGroup",
				"propertyName": "items",
				"values": {
					"itemType": Terrasoft.ViewItemType.BUTTON,
					"caption": {bindTo: "Resources.Strings.ContactCategoriesControlGroupButtonCaption"},
					"style": Terrasoft.controls.ButtonEnums.style.BLUE
				}
			},
			{
				"operation": "insert",
				"name": "ContactCategoriesControlGroupContainer",
				"parentName": "ContactCategoriesControlGroup",
				"propertyName": "items",
				"values": {
					"itemType": Terrasoft.ViewItemType.GRID_LAYOUT,
					"items": []
				}
			},
			{
				"operation": "insert",
				"name": "RelatedContact",
				"parentName": "ContactCategoriesControlGroupContainer",
				"propertyName": "items",
				"values": {
					"bindTo": "UsrContact",
					"layout": {
						"column": 0,
						"row": 0,
						"colSpan": 12
					}
				}
			},

So either use this approach or add a button to the "Actions" menu or to the top of the page.

 

Best regards,

Oscar

Oscar Dylan,

 

I think for group and detail have the same environment. but apparently not.

Thanks for the answer Oscar!

Show all comments

Hi,

In Order section there is a OOB lookups field called "Customer". On click we can select either Account or Contact because both list are appearing for selection.

I have a requirement to implement the similar functionality like combining multiple list into one lookup field.

Please help with the configurations.

Like 0

Like

2 comments
Best reply

Hi Janhavi,

 

You need to study how this lookup is implemented on the BaseOrderPageV2 schema and implement the same logic for your column. It's simple - create two lookup columns (UsrContact and UsrAccount that will point to the Contact and Account objects respectfully), add the following attribute to the section edit page schema:

"Client": {
					"caption": {"bindTo": "Resources.Strings.Client"},
					"dataValueType": this.Terrasoft.DataValueType.LOOKUP,
					"multiLookupColumns": ["UsrContact", "UsrAccount"],
					"isRequired": true
				},

Add the localizable string with the "Client" code and then insert this column somewhere on the page (I've been using the contact profile container as a parent):

{
					"operation": "insert",
					"parentName": "Header",
					"propertyName": "items",
					"name": "Client",
					"values": {
						"layout": {"column": 0, "row": 7, "colSpan": 24, "rowSpan": 1, "layoutName": "ProfileContainer"},
						"controlConfig": {
							"enableLeftIcon": true
						}
					}
				}

As a result you will get the needed lookup:

Best regards,

Oscar

Hi Janhavi,

 

You need to study how this lookup is implemented on the BaseOrderPageV2 schema and implement the same logic for your column. It's simple - create two lookup columns (UsrContact and UsrAccount that will point to the Contact and Account objects respectfully), add the following attribute to the section edit page schema:

"Client": {
					"caption": {"bindTo": "Resources.Strings.Client"},
					"dataValueType": this.Terrasoft.DataValueType.LOOKUP,
					"multiLookupColumns": ["UsrContact", "UsrAccount"],
					"isRequired": true
				},

Add the localizable string with the "Client" code and then insert this column somewhere on the page (I've been using the contact profile container as a parent):

{
					"operation": "insert",
					"parentName": "Header",
					"propertyName": "items",
					"name": "Client",
					"values": {
						"layout": {"column": 0, "row": 7, "colSpan": 24, "rowSpan": 1, "layoutName": "ProfileContainer"},
						"controlConfig": {
							"enableLeftIcon": true
						}
					}
				}

As a result you will get the needed lookup:

Best regards,

Oscar

Oscar Dylan,

It worked 

Thanks!

Show all comments

Hello Everyone.

I want to log in a separate file every communication with a Web-Service (request , response time etc).Is there any built-in , or tools from Marketplace to realize this task. Or I should customize the source -code.  

Like 0

Like

4 comments
Best reply

Petrika,

 

Perfect, then additionally you can use the same approach with EntitySchemaQuery, but create record is some section and then use the standard "Export to excel" functionality to get the file with request calls. So each time something is calling the GetErSumSq method you can create a record in some separate section (for example called "Integration call" and add information like DateTime.Now (to get the date and time when the method was called and which value was returned (sum))). Also you can try looking into the HttpContext, HttpContextAccessor and AppConnection to see which information is available there that can be used to additionally log the method call.

 

Best regards,

Oscar

Hi Petrika,

 

This should be done directly in the code of the 3rd party endpoint to which the call is performed (in case we are discussing the 3rd party webservice call from the business process). Logs of the integration call on the Creatio side are accessible only via standard IIS logs. Or you can enable the process tracing to see the status of the call.

 

In case the webservice is stored in the Creatio configuration (standard anonymous or regular webservice) then you can either add a part of inserting a record to some specific table in Creatio (via InsertQuery class for example) and retrieve data from there.

 

Best regards,

Oscar

Thank you very much for your immediate response Oscar. I have got an idea now.  This is what i am trying to do. I have created a button in the Front-End (Get Sum Ws) which calls in the Back-End a basic web service that caculates the sum of the AmountHC in Details Rows.

This is the code in the back-end

namespace test1323.Files.cs
{
    [EntityEventListener(SchemaName = "PetrikaExpenseReport")]
    [ServiceContract]
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]
    class DemoService : BaseService
    {
 
        [OperationContract]
        [WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
ResponseFormat = WebMessageFormat.Json)]
 
        public decimal GetErSumSq(string name) 
        {
 
            EntitySchemaQuery entity = new EntitySchemaQuery(UserConnection.EntitySchemaManager, "PetrikaExpenseReport"); 
 
            entity.AddColumn("Id");
            entity.AddColumn("PetrikaTotalAmount");
            entity.AddColumn("PetrikaName");
            entity.PrimaryQueryColumn.IsVisible = true;                                                                   
 
            IEntitySchemaQueryFilterItem parentfilter =
            entity.CreateFilterWithParameters(FilterComparisonType.Equal,"PetrikaName",name);
            entity.Filters.Add(parentfilter);                                                                            
            EntityCollection records = entity.GetEntityCollection(UserConnection);                                      
            Guid parentId = records[0].GetTypedColumnValue<Guid>("Id");
 
           EntitySchemaQuery rows = new EntitySchemaQuery(UserConnection.EntitySchemaManager, 
           "PetrikaExpenseReportLines");
 
            rows.AddColumn("PetrikaAmountHC");
            rows.AddColumn("PetrikaAmountFC");
            rows.AddColumn("Id");
 
            IEntitySchemaQueryFilterItem childfilter =
            rows.CreateFilterWithParameters(FilterComparisonType.Equal, "PetrikaExpenseReport", parentId);
            rows.Filters.Add(childfilter);                                                                            
            EntityCollection lines = rows.GetEntityCollection(UserConnection);
 
            decimal sum = decimal.Zero;
 
            foreach (var r in lines) 
            {
                sum = sum + r.GetTypedColumnValue<decimal>("PetrikaAmountHC");
            }
            records[0].SetColumnValue("PetrikaTotalAmount", sum);                                             
            records[0].Save();
            return sum;
        }
}
}

I want to log in a separate file every communication (request , response time etc) with GetErSumSq.

Petrika,

 

Perfect, then additionally you can use the same approach with EntitySchemaQuery, but create record is some section and then use the standard "Export to excel" functionality to get the file with request calls. So each time something is calling the GetErSumSq method you can create a record in some separate section (for example called "Integration call" and add information like DateTime.Now (to get the date and time when the method was called and which value was returned (sum))). Also you can try looking into the HttpContext, HttpContextAccessor and AppConnection to see which information is available there that can be used to additionally log the method call.

 

Best regards,

Oscar

Oleg Drobina,

Hi , I can't find the whole solution for logging a web service , it seems some comments have been missed or deleted , any ways , how can i log a web service in creatio ? 

Show all comments

Hello,

 

I am facing an issue with this connector, where we cannot use and save the coordinates generated plus it is not functioning easily on the interface.

 

Kindly advise.

Maher.

Like 0

Like

1 comments

Hello to all!



Note that the add-on saves coordinates to virtual columns. This means that your coordinates not being saved is expected behavior. You have to further develop the add-on according to your business goals.

Show all comments

I configured my local Creatio environment to work in file system mode and setup Visual Studio 2019 as described in Creatio documentation.

I Created a package from Creatio UI setting to be compiled in a separate assembly.

I see that in Pck folder the Package folder has been created with a visual studio project file (csproj file) in "Files" package subfolder.

I created a Business Process in Creatio with a script task and I see that the corresponding "cs" file is created in "Autogenerated/Src" package subfolder and it appears on visual studio.

If I update that cs file, changing something in the script task method the changes are not replicate to Creatio.

I used the "Update Packages from file system" action but the "No changes found" popup appears. I tried compiling the project in Visual Studio, using the external tools to run "WorkspaceConsole" as described in Creatio Documentation but nothing goes from file system to Creatio.. actually I see the Creatio script task version to overwrite my file system file. 

Am I doing something wrong? How can I correctly work with my custom package in file system mode and let my changes to be seen from Creatio?

Thanks

Like 0

Like

1 comments

Dear Massimiliano,

 

Thank you for your question!

 

We have checked this information with our developers and they have confirmed that there is no ability of editing a Business Process in a file system mode.

 

Hope this clarifies!

 

Thank you!

 

Danyil

Show all comments