The boolean field “IsRead” on the ESNNotification object shows whether the message has been read and whether it needs to be read on the counter (the number on the CTI panel).
In an edit page, we have fields that can be changed by the user or calculated by the page Javascript code, depending on specific circunstamces.
In this case we need to inhibit the attribute dependency method call, to make sure it is not called when the field is calculated by the page code, and not by the user.
Everything is simple - these specific circumstances should be included into the logic of custom method calls inside the JavaScript code. So the logic itself should be redesigned.
Ok, but what I am looking for is a way of disabling the handler method activation in the attribute dependency, so that when the field is updated by the code the handler method will not be triggered... The Javascript code would first disable the dependency method call, update the field, and then enable the dependency control again.
One way to accomplish that is to add a property or attribute to the code where you can set a flag that the field is being updated via code, then in the event handler, check this flag to see if you should exit or continue The flag would only get set by code, so the user entering a value the flag won't be set and the event handler will trigger normally. Something like this:
suppressEvent:false,
funcThatSetsDependentColumn: function(){this.suppressEvent=true;// set flag to suppress the eventthis.set("UsrDependentColumn", value);// set the column that will trigger the event},
dependentColChangeHandler: function(){// check if flag is set to suppress the eventif(this.suppressEvent){this.suppressEvent=false;// unset the flag and exitreturn;}// do other stuff in the event handler here}
Please specify if you are trying to get the photo from the contact or post the photo to the contact. It's not clear from the description of the question.
what you need to do is to call /0/odata/SysImage({Id here})/Data endpoint. And Id should be received from the "PhotoId" column value received when calling 0/odata/Contact({{ContactId}}). Here is an example for accounts from my local app:
The notification you have received occurs at the database level and means that the database cannot update the table due to invalid constraints. If you look at what this constraint is and what it is referring to, you can find what it refers to (in your case it's an Activity object). It seems that the Activity object was changed or related objects were changed (like adding new columns, removing columns/obects, editing column names, etc.), and this could be the reason of the issue you have faced. In this case to solve the issue please try to update the database structure where it is needed or additionaly before that run the source code generation and compile the system ("Compile All" option):
Also you can find the needed relation for the mentioned in the norification constraint by running the next query:
SELECT * FROM information_schema.constraint_column_usage WHERE constraint_name = 'FK8k9PLTrOuC7utdecSZ0EIBziLQo';
This screenshot gives no information on the actual reason for the problem unfortunately.
What you need to do is:
1) If this is a local app - check the WebSockets settings in the app (this article will be useful). This is the most probable reason why records cannot be deleted in any section as you state. Also check if the "WebSocket" feature is enabled in the IIS-server Windows features.
2) Check the MultiDeleteQueue table and which messages do you receive there (no matter which instance cloud or on-site you have).
3) Check the application logs via C:\Windows\Temp folder (if this on-site .NET Framework app or Logs folder in the root binary files if this is a .NET Core app). If this is a cloud-based app you can approach us at support@creatio.com and we will provide you with the logs needed.
Delete is very slow then it will pop up this generic error message "
Error occurred during the deletion of data. Please contact system administrator." Then after you refresh the section page for Example Account section, the record was already deleted.
Can i increase the timeout ? for an external request :
var request_user = WebRequest.Create(XMLUrl) as HttpWebRequest;
request_user.Credentials=new System.Net.NetworkCredential(XMLUserParameter, XMLPasswordParameter);
var response_user = request_user.GetResponse();
is an XML file 40mb, it will be increase the size ,
In your code sample you posted, you're using a HttpWebRequest for the call to the external service. For WebRequest, you can set the timeout like this:
var request_user = WebRequest.Create(XMLUrl) as HttpWebRequest;
request_user.Timeout=500000;// set timeout here
request_user.Credentials=new System.Net.NetworkCredential(XMLUserParameter, XMLPasswordParameter);
var response_user = request_user.GetResponse();
Note, the Timeout property is in milliseconds - I believe the default is 100000 ms, or 100 seconds)
In your code sample you posted, you're using a HttpWebRequest for the call to the external service. For WebRequest, you can set the timeout like this:
var request_user = WebRequest.Create(XMLUrl) as HttpWebRequest;
request_user.Timeout=500000;// set timeout here
request_user.Credentials=new System.Net.NetworkCredential(XMLUserParameter, XMLPasswordParameter);
var response_user = request_user.GetResponse();
Note, the Timeout property is in milliseconds - I believe the default is 100000 ms, or 100 seconds)
So the idea is if I import a contact with name Dean, the existing contact with the name Dean will be updated with data from file and no duplicates will be created.
I am trying to update a lookup field linked to Employee section for multiple records using an input box. But, the list of records are not displaying either by typing in the field or clicking on magnifying glass icon.
I have tried using every property for binding this to the object. But none of them works. I have attached the code snippet of this custom action for reference.
So please suggest a way to bind it to the correct schema and display its correct records.
How to add filter to the virtual Lookups, I had followed the above method to add virtual lookup. And when I tried to add filter to that, its not filtering out the data.
I have attached my code for the reference,
After adding the filter I am able to see all the values in the Lookup.
Is there a way, to Filter the Lookup values in Virtual lookup column ?
Regarding your first filter on the picture - once filter for Class of Business is added to the section, the assigned value would be fixed despite of jumping to other sections in Creatio, since it is stored in SysProfileData table.
In order to add your second quick filter to the [Premium Register] section, you should create a replacing schema of the [Premium Register] section and add your quick filter which will filter records by Policy Number.
Please provide the business task that is followed by creating such a functionality? To activate a string type filter two buttons should be pressed:
1) "Filter" context menu
2) "Add filter" button
Also why can't you create a dynamic folder in case you need to access some filtered data on a regular basis?
If you need to develop such functionality you need to look at the showSimpleFilterEdit function and its call in the CustomFilterViewModelV2. We don't have a ready solution and you need to develop it on your own.