I have created a new section in Creatio 7.18, how can I access it via EntityDataService.svc? If so, is there anything specific that needs to be done when creating a new partition? I was advised to compile. I ran "Recompile All" but it still doesn't show up in EntityDataService.svc.
I can only access the objects that were there by default.
EntityDataService.svc implements the OData 3 API. However, if your object exists in a package that compiles to it's own assembly (an assembly package - meaning your package containing your object has the "Compile package into it's own assembly" checked), it is not accessible via OData 3 and instead you must use OData 4 (not EntityDataService.svc).
I do want to ask you if there's any out of the box possibility to change the permissions for a user. I don't want to let a user to edit or delete his own comment posted in the feed tab, but the manager should have access to those 2 functionalities.
If you want to configure the deletion permissions please use Permission to delete messages and comments:
Permission to delete messages and comments gives permission to delete messages and comments left by other users in the [Feed] section, on the [Feed] tab of the Notification Panel, and on the [Feed] tab of the view and edit pages of the system sections.
Please note, that there is no possibility to deny permission to users to delete their own messages and comments even if they do not have access permissions to this system operation.
There is a requirement in which I have to verify a specific condition based on fields and lookup values on clicking the SAVE button. I am using ESQ in edit page schema while overriding asyncValidate method to achieve this.
But, I am unable to figure out which commands can be used to get further field values of that lookup, and then compare it. For reference, here in my case, Contact lookup is on Custom section and I want to fetch Department value of it .
Hi, I am overriding asyncValidate method with multiple filters (A AND C) AND (B AND C). Here C is the field from the same object, A and B are the fields from other object using ESQ.
I have created a separate function to achieve this as below :
ConditionCheck : function(ID, BUnit, esq)
{
var esqFirstFilter = esq.createColumnFilterWithParameter(Terrasoft.ComparisonType.EQUAL, "Id",ID);
var esqSecondFilter = esq.createColumnFilterWithParameter(Terrasoft.ComparisonType.EQUAL,"Department.Name",BUnit);
And, I have used this function to call (A AND C) and (B AND C) separately as:
var result1 = this.ConditionCheck (A, C, esq);
var result2 = this.ConditionCheck (B, C, esq);
Now, I am not sure how we can combine the result1 and result2 in asyncValidate method such that it will only going to save when both result1 and result2 holds "true". Please help me on this.
does it require more resources to have several business processes left "executing" (waiting for a timer condition to be satisfied to do something) or to have a single process scheduled to run every 5 min (i.e) that searches for some record that has a "due date" condition close to the current date time?
the difference would be that the former would be left "pending" for sometime, and the latter would terminate.
The better approach in this case - is to have a single scheduled process that will be executed fastly.
Because each process, that is executing in background mode using 1 thread of quartz worker (Default value = 5 workers). So, if you will start a lot of the background processes, that are executing (waiting for some event) - you can overfill the background processes queue and new background processes will not start correctly until the old processes are not finished and the quartz worker is not free for a new task.
The better approach in this case - is to have a single scheduled process that will be executed fastly.
Because each process, that is executing in background mode using 1 thread of quartz worker (Default value = 5 workers). So, if you will start a lot of the background processes, that are executing (waiting for some event) - you can overfill the background processes queue and new background processes will not start correctly until the old processes are not finished and the quartz worker is not free for a new task.
Is it possible to format a custom macro field on an email template? I need to display a date with the long format date on an email (eg. August 25, 2022)
The email definition that has the date looks like this:
The details of this fee were [#UsrPatientContactPreference.UsrEmailText#] to the patient or dispute submitter, on [#UsrRequestForAdditionalInformationSentOn#]
Please check methods in the BaseLookupConfigurationSection schema.
In order to hide the specific action, you will need to change a Visible property:
getSectionActions: function(){
var actionMenuItems =this.callParent(arguments);
actionMenuItems.each(function(item){if(item.values.Caption.bindTo==="Resources.Strings.ExportListToExcelFileButtonCaption"){
item.values.Visible=false;}});return actionMenuItems;}
In order to remove the specific action from the collection:
getSectionActions: function(){
var actionMenuItems =this.callParent(arguments);
var itemToRemove;
actionMenuItems.each(function(item){if(item.values.Caption.bindTo==="Resources.Strings.ExportListToExcelFileButtonCaption"){
itemToRemove = item;}});
actionMenuItems.remove(itemToRemove);return actionMenuItems;}
Would like to know whether BuildConfiguration is equal to BuildWorkspace from .Net framework? As I checked my changes were not built after running BuildConfiguration only. It works only when we trigger Publish from Creatio.
I have a scenario where I have to take the users through few (let's say 2-3 ) preconfigured pages where they will fill values in fields displayed on the pages (for ex. A = true, B= false, Country = Australia) and once they submit on the last page, then they should be redirected to the section page and a dynamic folder should be automatically created having the filled in values by the users as filter conditions (A = true, B= false, Country = Australia).
Can anyone suggest an approach to this scenario.
I have checked that whenever we create a folder with filter confitions a record will be created in table "ObjectFolder" where In "SearchData" column our applied filter condition will be stored as bytes.
But still not getting any Idea on how to approach this problem.
Perhaps you could work backwards from there to do the opposite? It appears you could just form the ESQ filters as JSON, then use System.Text.Encoding.GetBytes to get the JSON as a byte array and write back to SearchData using the entity class SetBytesValue function.
Newtonsoft.Json.JsonSerializationException: Self referencing loop detected for property 'Provider' with type 'Terrasoft.Core.ManagerProvider'. Path 'Manager.DataValueTypeManager.Provider.AppConnection.LicManager'
I have setup a DCM on a section. But when I login from a portal user, I can see the DCM area/container but can not see the DCM bar. Is there any setting or permission that needs to be added?
I am using 7.18.3 Studio version. Any help would be appreciated.
We need to hide the notifications for Activities (Created in process or DCM). Is there a way to hide or don't show those notifications for activities only?
Please provide us with more details on the business logic you want to implement and specify which notifications exactly this is about (in DCM or communication panel?)
While adding an activity element in business process or in DCM, the activity notification shows under "Business Process Tasks" in communication panel (refer screenshot). Under the same "Auto generated page" or "Pre configured pages" are also shown.
Our requirement here is to hide those activity notifications from "Business Process Tasks", but keep the "Auto generated page" or "Pre configured pages" notifications.
If you do not need these tasks to be shown and completed for the process to continue, you can create activities with a simple "Add data" element in the business process instead of "Perform task".