Can I set column values when using crt.CopyRecordRequest ? I have a use case where I need to create a copy of the record but change several column values in the new record. Is there a way to do it?
If this is from the Copy menu on a list, then you'd have to change that to use your own request, then copy, set the values, insert, in your own custom code.
If this is from the Copy menu on a list, then you'd have to change that to use your own request, then copy, set the values, insert, in your own custom code.
I was just calling the request from the button. Another thing is that if you call it from any page other than [object]_ListPage it’ll open the classic ui page, rather than the freedom UI page. I’ll definitely give the approach you described a try, I’m sure it’ll work. Thanks a lot!
Hello community, I want to create API Service from creatio that return object data with the detail (json with hierarchical data). lets say i want to get 'Account' with Orders, Lead, and else that connected with 'Account' in one endpoint.
I think about create Custom web services, anyone have script with similar case or have suggestion for this case?
You'll just need to design the objects you're returning and make it something like this:
[DataContract]publicclass OrderPayload
{[DataMember(Name ="id")]public Guid Id { get; set;}[DataMember(Name ="Number")]public string Number { get; set;}}[DataContract]publicclass AccountPayload
{[DataMember(Name ="name")]public string Name { get; set;}[DataMember(Name ="orders")]public List<OrderPayload> Orders { get; set;}}
Then you populate that as needed in the webserivce. The AccountPayload is the top level of the objects, so that is what the method would return. You'd populate like this (obviously from some data you read from an ESQ etc):
var account =new AccountPayload();
account.Name="Some account";
account.Orders=new List<OrderPayload>();
account.Orders.Add(someOrder1);
account.Orders.Add(someOrder2);// now return account
Hope this helps get you started in the right direction.
You'll just need to design the objects you're returning and make it something like this:
[DataContract]publicclass OrderPayload
{[DataMember(Name ="id")]public Guid Id { get; set;}[DataMember(Name ="Number")]public string Number { get; set;}}[DataContract]publicclass AccountPayload
{[DataMember(Name ="name")]public string Name { get; set;}[DataMember(Name ="orders")]public List<OrderPayload> Orders { get; set;}}
Then you populate that as needed in the webserivce. The AccountPayload is the top level of the objects, so that is what the method would return. You'd populate like this (obviously from some data you read from an ESQ etc):
var account =new AccountPayload();
account.Name="Some account";
account.Orders=new List<OrderPayload>();
account.Orders.Add(someOrder1);
account.Orders.Add(someOrder2);// now return account
Hope this helps get you started in the right direction.
I want to add a field validation in freedom ui, like, it's a date field then i want to impose a condition if date selected by the user is backdate then don't allow the record to be saved.(Freedom UI)
Hey, So for example if you have a date field as dateofPM and you want to prevent the user to choose a date, which is before the date of the CreatedOn of the record Below is a Example of the code:
Thanks Ryan, I tried this, but it didn't work, I will share my code here of this approach meanwhile I tried applying validation popup using handler, if you can suggest me any handler/function which will prevent saving the record if the control passes to this handler? this is my handler code:
I want to confirm that this logic is setup correctly. We want to send an email every three months on the 17th to remind our customers of a specific benefit. The logic is already in place from an audience standpoint.
The timer element in the campaign setup is slightly confusing. Based on this logic below: Will the email launch at 8:00 AM beginning on July 17th and then recur on the 17th every 3 months? The delivery timeframe parameter of the email is from 8:00-9:00 AM. Thanks in advance.
We've reviewed Creatio's documentation and noticed it exclusively supports HTTPS. Does Creatio Mobile Application development also support the HTTP protocol? Additionally, could you please provide information on the following: 1. Compatibility of Creatio Mobile? 2. Is a separate APK build necessary for developing the mobile application? 3. Does the web application used by the mobile app require a separate APK?
The answers to some of your questions, are as follows:
Does Creatio Mobile Application development also support the HTTP protocol? HTTP is supported for the debug mode only when testing the application locally. For a production environment, you would require HTTPS.
Is a separate APK build necessary for developing the mobile application?
Yes, a separate APK build is necessary for developing the mobile application.
Please be so kind as to elaborate more on the other questions of yours: 1. Compatibility of Creatio Mobile? What information do you require on the compatibility for Creatio Mobile? 3. Does the web application used by the mobile app require a separate APK?
Yes, a separate APK build is necessary for developing the mobile application--> How to build the apk ,could you please share us a documents and links. We are following the below document to develop the mobile application in Creatio.
Would it be possible for you to clarify what you mean by building the apk?
If we are speaking of a Creatio mobile application, the application itself is available for download on various devices and requires no development to start using out of the box.
Thank you. Could you please share us a document and links recent one related to mobile. Question : Workbasket/work queue concept is there in Creatio mobile application?
Could you please help us to achieve the functionality to display the cases that are assigned to the current user who logged into the mobile application. Instead of displaying the cases assigned to all users.
We are able to achieve this functionality in web application but unable to achieve the same in mobile application.
Is HTTP protocol supports the building of Creatio Mobile Application? I have gone through the documentation i could see it supports only HTTPS. Here are some questions could you please provide some information 1.Creatio Mobile Comparability? 2.For building Mobile Application is required to have a separate APK build? 3.The web application which is used by the mobile app does it need Separate APK?
HTTP protocol supports the building of the Creatio Mobile Application, mainly for debugging purposes. For production, however, the HTTPS protocol is required.
Right now, we can provide an answer to the question 2:
Yes, it is required to have a separate APK build.
As for the other two questions, kindly specify the details so we can provide you with a more accurate answer.
Is it possible to add to the Creatio Login Page the show password icon you get on some other logon windows/pages (like the one from Windows Security. See Attached.)
It is possible to show a password icon on your site. To do this, you must add and enable the feature: "UsePasswordIconForTextEdit" on the feature page.
It is possible to show a password icon on your site. To do this, you must add and enable the feature: "UsePasswordIconForTextEdit" on the feature page.
var esq =new EntitySchemaQuery(UserConnection.EntitySchemaManager, "Project");
var countCol = esq.AddColumn(esq.CreateAggregationFunction(AggregationTypeStrict.Count, "Id")).Name;// add any filters if needed
var entityCollection = esq.GetEntityCollection(UserConnection);
var entity = entityCollection[0];
var count = entity.GetTypedColumnValue<int>(countCol);
You need to add a column that creates an aggregate function (count). Then, when you get the results from GetEntityCollection you'll get the first item in the results to get the Count value.
RowCount is a property which is responsible for the number of readable elements from your query.
Also note that UseAdminRights is a flag that determines whether access rights will be checked for performing CRUD operations with the database. When UseAdminRights is set to false, the rights check is disabled, and operations are performed without considering access rights.
Getting this error while compiling the code from documentation. Could be due to the missing "Microsoft.CSharp" assembly. What configuration required to fix this ?
private string CreateJson(IDataReader dataReader) { var list = new List(); var cnt = dataReader.FieldCount; var fields = new List(); for (int i = 0; i < cnt; i++) { fields.Add(dataReader.GetName(i)); } while (dataReader.Read()) { dynamic exo = new System.Dynamic.ExpandoObject(); foreach (var field in fields) { ((IDictionary)exo).Add(field, dataReader.GetColumnValue(field)); } list.Add(exo); } return JsonConvert.SerializeObject(list); }
The issue you mentioned is related to the missing compiler member 'Microsoft.CSharp'. To fix this, you need to add a reference to this library in your project. Add a reference to Microsoft.CSharp.dll.
You can also read the documentation that may help you: