Hello Community,

 

I want to Create the Custom Page as shown in Image where, I can List the Custom UI Card Based on the Table Rows of Creatio. also I want to run the particular Process of the Creatio on click of the Button.

 

Give me any reference for this, if available.

 

Regards,

Ajay K

 

Like 0

Like

1 comments

Hi,

I'm trying to add a live calculated field onto a Freedom List.

When 2 columns are set (e.g. Start Time, End Time) I want the Duration Column to be updated with the time difference. (With the picture below the Duration column should be set to "1hr")

 

 

Is there a way to do this?

Like 1

Like

1 comments

Hi,
 

You can implement logic similar to the DurationInMinutes and DurationInMinutesAndHours fields in the Activity object (CrtCoreBase).
 

You can check the logic for calculating these columns and build similar event-driven logic (an object-level process).
 

Method: CalculateDurationOnSaving();
 

img1


img2

img3


Alternatively, you can build a business process that will trigger when the Start Time or End Time fields are changed and calculate the required Duration field using a formula.

https://academy.creatio.com/docs/8.x/no-code-customization/bpm-tools/business-process-setup/process-formulas

Best regards,
Pavlo!

Show all comments

Hi team,

 

I want to show/hide a custom button depending on a field of an opportunity, in the page what I do is to create an attribute with dependencies to this field to call the method that points to the property of the diff  (visible/enabled), but in the section I can't do this. I would like to know how I can make the same thing of the example below in the section.

 

The attribute I made in the page: 

"SubastaValidate": {
               dependencies: [{
                   columns: ["Stage"],
                   methodName: "ShowButton"
               }]
           },

In the diff of the page add the property:

"enabled": {
                        "bindTo": "ShowButton"
                    },



Thanks in advance,

Nicolas

Like 0

Like

1 comments

Hello Nicolas,
Thank you for you question.

If i understood you correctly you successfully binded field value change to attribute in your record page but you could not achieve same result in the section page. It might be because those two pages have different fields (e.g in record page there are fields related to that specific record and in section page there is information related to the list of those records). 

In section page i created a method that checks status of selected row. If the status of an order is completed than a button becomes hidden.

Here is how i accomplished that: 


Alternatively you can directly subscribe to changes in ActiveRow in your section page by overriding init method as follows:

Hope this helps and let me know if you have any other question left!

 

Show all comments

In Classic UI there was a section at the top of Account and Contact pages where new Activities, Calls, Emails, etc. could be created and automatically connected to the current object.  Where are these tools hidden in Freedom UI??

Like 0

Like

1 comments

Hello,
To enable this section in Freedom UI, go to the Page Designer and add the "Next Steps" component to the page.

Show all comments

Dear colleagues,

 

Any idea how to apply bussiness rules to an editable detail grid schema? just by code?

 

Is very usefull can edit in the grid, but just when have no rules, no read only fields, no filters, no calculated fields and so on.

 

Any ideas?

 

Thanks

 

Regrads

Julio

Like 0

Like

1 comments
Best reply

If i'm not wrong i guess you mean to say you have a inline editable detail without any form page for the user to add details and you want to add some kind of business rules.
You can add them in the object level.


But if you have a form page for the detail,you can do it through code by using handlers.
https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platfor…
 

If i'm not wrong i guess you mean to say you have a inline editable detail without any form page for the user to add details and you want to add some kind of business rules.
You can add them in the object level.


But if you have a form page for the detail,you can do it through code by using handlers.
https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platfor…
 

Show all comments

Greetings, we want to setup a trigger campaign to send to those members that turn 18 years of age. We have a dynamic folder setup for just these audiences. The question is, what would be the correct filter logic? This is what is currently setup in Creatio so far.

 

Any help is greatly appreciated. Thanks.

Like 0

Like

3 comments

Hello,

Could you clarify whether the goal is to send emails to the contact specifically on their birthday, or is it to send a newsletter to all contacts who have turned 18 this year?

Pavlo Sokil,

The goal is to send emails to the contacts that meet this criteria on their birthday or two days after their birthday.

Lucas Centeno,

 

Unfortunately, regular filtering won't work for these purposes.

 However, you can implement the following approach:
 

Create a separate column of type "Date" in the "Contact" object, for example, "18YearsDate," and populate it using a business process.


 This process should take the birth date from the "Birth Date" column, add 18 years to it, and set this value in the "18YearsDate" column. After that, you can set up a filter as follows:

18YearsDate = Today 
OR
 18YearsDate = Tomorrow, etc.
 

You can implement this calculation for the column using a formula  in the business process.
 

I hope this helps!

Show all comments

Can Some one guid me through screenshot

Like 0

Like

1 comments

To format values in a printable you need to create a macro. The macro will format the value when placed into the Word doc when the printable is run. See an example here: https://customerfx.com/article/creating-custom-macros-to-format-values-in-word-printables-for-creatio-formerly-bpmonline/

Ryan

Show all comments

Hi Community,

Can you provide a code example for the following scenario:

When a record to a detail is added, make a field in the Parent Page visible.

Example

When a record is created in Detail 'Opportunity Team' make the Description field (of Opportunity_Form_Page) visible

Regards

Sasor

Like 0

Like

2 comments
Best reply

Hey,
So you can  fetch the count of records under the detail object through code.If the count is greater than 0 then you can make it visibile.
EG below:

for the visibilty logic refer - https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platfor…


 

Hi Community,

Any update regarding scenario?

Sasori

Hey,
So you can  fetch the count of records under the detail object through code.If the count is greater than 0 then you can make it visibile.
EG below:

for the visibilty logic refer - https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platfor…


 

Show all comments

You need to create a custom detail generator(look at the example in Terrasoft.FileAndLinksEmbeddedDetailGenerator)

After that, create schema and add to manifest:

Ext.define("Terrasoft.configuration.CustomEmbeddedDetailGenerator", {
    extend: "Terrasoft.EmbeddedDetailGenerator",


    generateItem: function() {
        var config = this.callParent(arguments);

        var cardGenerator = this.getCardGenerator();

        var isEdit = cardGenerator.isEdit();
        if (isEdit) {
            config.xtype = "my_embeddeddetailitem";
        }
        return config;
    }

});

Create detail component with button 

Ext.define("Terrasoft.configuration.MyEditEmbeddedDetailItem", {
  extend: "Terrasoft.controls.EditEmbeddedDetailItem",
  xtype: "my_embeddeddetailitem",
  initialize: function () {
    this.myButton = Ext.create("Ext.Button", {
        text: ""
    });
    this.myButton.on("tap", this.onMyButtonTap, this);
    this.element.appendChild(this.myButton.element);
   this.callParent(arguments);
  },
  onMyButtonTap: function() {
    Terrasoft.Geolocation.getCurrentCoordinates({
        success: function(latitude, longitude, locationObj) {
        
        },
        scope: this
    });
  }
}

In RecordPageSettings metadata set generator xclass for detail
{
    "operation": "insert",
    "name": "AccountAddressDetail",
    "values": {
        "generator": {
            "xclass": "Terrasoft.configuration.CustomEmbeddedDetailGenerator"
        },
        
    },
    "parentName": "settings",
    "propertyName": "columnSets",
    "index": 3
}
 

Like 0

Like

0 comments
Show all comments

Hello,

 

I have a Freedom UI Page with a city field filter to show only US cities. If the user starts typing a city that belongs to more than 1 state, the user does not have a way of choosing the right one, without using the search icon where, by default we have the state shown on the search results. 

 

Ideally, we just want to display the state on the search results and not on the city field itself on the page, as we do have another field showing the State for the city selected.

 

Thanks,

Jose

 

 

 

Like 2

Like

2 comments

yes, adding the view for more columns in the dropdown field would be great !

Hello,
We created a dedicated task for our R&D team in order for them to review the possibility of adding this logic to a dropdown list. For now, you can use "Selection window"

Show all comments