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?
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.
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.
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.
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).
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 ?
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.
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:
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.
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:
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):
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:
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):
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.
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.
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.
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.
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.
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 ?
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.