I have a use case to display a field containing values updating dynamically by querying the data from another table. And display the data in the calendar section page container similar to setup up the summary calculation.
Similar to the below image which shows total number of products and total cost in order page.
I need to implement this functionality in the calendar section page by calculating the value from another table (say, any integer field in Contact section).
You need to add label control element to "SeparateModeActionButtonsRightContainer" container in ActivitySectionV2 and define logic to calculate its value.
When I tried with "SeparateModeActionButtonsRightContainer" .
Since I have more buttons in that container, it getting overflowed. I need to create this label near the Tag in the filterContainer. When I tried to add in the "FiltersContainer". Its getting hidden as shown below. Can you help me with it, by showing the label in the filtercontainer?
It seems that your issue is that you are trying to occupy the space already reserved for the out-of-the-box filter module, so your fields are pushed out of its container. Please read my message here about this block:
You can use the same strategy, but, as I've mentioned in my message, Creatio R&D team highly disrecommend our clients affecting this part of the system somehow.
Instead, you can easily set your fields under the filter container. Here is the code example of how you can do it:
Is there a custom HTML control in Creatio that I can use to build a tree hierarchy and visualize it in the UI? The input parameter to the control will be a single node that could be at any position in the tree. The logic should query the database for the links to traverse upwards and downwards from the said node to complete the tree.
Is there already a control in Creatio that can be repurposed for this use-case?
Here is an example of the code that has perfectly worked on my end:
Terrasoft.sdk.Model.addBusinessRule("Case", {
name:"Make UsrStringField column required",
ruleType: Terrasoft.RuleTypes.Custom,
triggeredByColumns:["UsrBoolAct"],
events:[Terrasoft.BusinessRuleEvents.ValueChanged, Terrasoft.BusinessRuleEvents.Save],
executeFn: function(record, rule, column, customData, callbackConfig){
var isRequired;
var isActivated = record.get("UsrBoolAct");if(isActivated===true){
isRequired=false;}else{
isRequired=true;}
record.changeProperty("UsrStringField", {
isValid:{
value: isRequired,
message:"Column must be filled in"}});
Ext.callback(callbackConfig.success, callbackConfig.scope, [isRequired]);}});
The logic here is that the "UsrBoolAct" column is true (this is a boolean column) then the "UsrStringField" should be filled in. After the application pool was restarted this output was received:
Please also note that wen workig with lookups instead of booleans such a construction will help to achieve the result needed:
var type = record.get("Type");if(type &&(type.get("Id")=== Terrasoft.ContactTypes.Doctor||
type.get("Id")=== Terrasoft.ContactTypes.ContactPerson))
Please restart the application pool in IIS if this is an on-site solution or contact us at support@creatio.com if this is a cloud app. Also please try to flush the web browser cache and cookies.
Also, what is the behavior when you log in as the user mentioned in the code?
I have created a custom package and added all the necessary modules required for applying business rules in it.
I have then created a custom module with the business rule and added this module inside the ModelExtension attribute of required model[UsrPurchaseOrders] in MobileApplicationManifestDefaultWorkplace.
and the logic is that if the contact specified in the UsrContact column is not Andrew Baker (sample) then the UsrStringColumn column should be deactivated. And the only difference between our scenarios is that the application pool for the app should be restarted once you apply all the changes in your custom module and include this module into the manifest. So please restart the application pool in IIS if this is on-site app or contact us at support@creatio.com if this is a cloud app. On my side the rule works as expected (using 7.16.4 version):
Following this post I was able to set most fields i needed to rich text however no matter what I try the case description field will not change to rich text. Any ideas on what to try to make it rich text?
I've found that if your element in the diff is a merge, changing the contentType doesn't always work. Since the case description is a field that already exists on the case page, I assume it's in the diff with "operation": "merge". Try this instead, delete the description field from the page, then re-add it again. Now, it will show as an insert in the diff. Add your
I've found that if your element in the diff is a merge, changing the contentType doesn't always work. Since the case description is a field that already exists on the case page, I assume it's in the diff with "operation": "merge". Try this instead, delete the description field from the page, then re-add it again. Now, it will show as an insert in the diff. Add your
Thanks Ryan, I have the same problem. In the merge element to this field, I modify my DIFF block to the Symptom column, but nothing happens in the app, it continue receiving data as clear text, not Rich Text
The whole block I have forthis field in my DIFF is:{// JFALCON, enable Rich Text?"operation":"merge",
"name":"Symptoms",
"contentType":this.Terrasoft.ContentType.RICH_TEXT,
"controlConfig":{"imageLoaded":{"bindTo":"insertImagesToNotes"},
"images":{"bindTo":"NotesImagesCollection"}},
"values":{"layout":{"colSpan":24,
"rowSpan":3,
"column":0,
"row":1},
"enabled":true,
"labelConfig":{"visible":true}}}, // FIN
Changing the content type for a merge in the diff never seems to work for me. The only way I can get this to work for existing fields such as Symptoms is to remove the out of the box field from the page, then re-add it again. This way, it's no longer a merge and instead an insert (which does work).
Thanks Ryan, it didn't works to me :-(, so I open a Ticket with Creatio support, they are testing, you can see what I'm getting now here https://prnt.sc/YafjMFjshHdJ, they change the DIFF code I had by this one, but not results
In the case registration where I'm implementing the rich text to Case Description, it just works when I register a case manually, and paste a rich text to Case description.
But when I receive an email to open a case, the email body is not stored in Rich text, at least with the implemented configuration.
What else need to configure to enable email body store in rich text in Case Description?
Is it possible to create an email template (email templates lookup) that has fixed attachments such as a ms word or ms excel file? For my use case this would be for emails being sent OUT of Creatio from a synced mailbox TO external customers who do not access Creatio, instead they just receive an email to their normal email service such as gmail or outlook.
There is no option to get the url of the preconfigured page anymore due to the error we had in earlier versions. The new versions do not generate the url on purpose to prevent the pages from being opened in different browser window as there users would get this error.