Hello,

when adding a record inline of detail list, is it possible in code to set default value for Lookup column?

Thanks.

Like 0

Like

1 comments

Here is a code sample on how I solved it, maybe it helps somebody:

handlers: /**SCHEMA_HANDLERS*/[
    {
        request: "crt.HandleViewModelAttributeChangeRequest",
        /* The custom implementation of the system request handler. */
        handler: async (request, next) => {
            if (request.attributeName === 'GridDetail_u6gv7vy_ActiveRow') {
                const activeRowId = await request.$context.GridDetail_u6gv7vy_ActiveRow;
                const gridDetail = await request.$context.GridDetail_u6gv7vy;
                const defaultType = await request.$context.SWGLookupFileType;
                gridDetail.forEach((item) => {
                    if (item.attributes.GridDetail_u6gv7vyDS_Id == activeRowId
                       && !item.attributes.GridDetail_u6gv7vyDS_Type
                       ) 
                    {
                        item.attributes.GridDetail_u6gv7vyDS_Type = defaultType;
                    }
                });
            }
            
            return next?.handle(request);
        }
    }
]/**SCHEMA_HANDLERS*/


Please change "GridDetail_u6gv7vy" name to your list name and also attribute names ("item.attributes.GridDetail_u6gv7vyDS_Id" or "GridDetail_u6gv7vyDS_Type").

Show all comments

Hi team

We have a detail with list of quotes in Opportunity. We allow end users to export and import data to this detail.

We want to block the option to process import once Opportunity is in Completed stage.

Can you advise on how to achieve this? 

Like 0

Like

0 comments
Show all comments

Hi Everyone,

image showing update dcm button

We changed our DCM structure/case.

However it seems we need to manually click on the refresh button for all records.

Is there an automatic or a SQL method to update the DCM for all records.

Thanks

Like 0

Like

0 comments
Show all comments

In Creatio's email guidelines for email deliverability is advises to 'Create a browser version of your email. The users will be able to read it even if the email service has problems rendering it. Some email services, such as Outlook, support this solution' But I cannot see a way to do this in Creatio.

thanks

Like 0

Like

1 comments

Hello!

Currently, Creatio does not offer a built-in feature to automatically generate a browser version of an email. However, there is an alternative approach that can help you achieve this:

You can design your email template in HTML, and then host its HTML version on a web server or cloud storage that allows public access. This way, you can add a link in your email, such as “View this email in your browser”, which will redirect recipients to the hosted version.

Working with HTML templates gives you maximum flexibility to adapt your email design for different platforms and devices, ensuring consistent display and providing an easy way to share a browser version.

If you could share more details about your desired end result, we would be glad to provide more tailored recommendations or examples for implementation, since it will help us better understand your specific context.

Show all comments

Hi Community,

I was in the process of setting up a new AI skill in Creatio, with the intention of extracting the content of a document and populating it into an unlimited-length text field on the Contact Form Page.

While the prompt was structured correctly (presumably), the AI consistently responded as if it couldn't locate the file in the attachments. I verified that the file is indeed uploaded and accessible, yet the issue persists.

Could you please advise whether file extraction via the AI skill is currently supported in this context? If so, how would you recommend structuring the prompt or configuring the action to ensure proper file recognition and extraction?

Thank you in advance for your guidance.

Like 0

Like

1 comments

Hello, 

We have clarified the information with our development department and unfortunately, at the moment Creatio Ai does not work with files. 

This functionality is indeed in the development plans. However, only from about 8.3.2+ version of the product. 

As a workaround, you can parse the files and provide them to the model in text form so that it can work with them. You can try to achieve this through third-party services or using development methods in Creatio.  For example, you can try to parse a text format file as follows:
image.png

However, unfortunately, we do not have ready-made solutions at the moment.

Best regards,
​​​​​​​Ivan
 

Show all comments

Hi,

Is Creatio AI not available for local deployments(8.2.2)? if not is there a way to purchase the licence and install it on local instance? 
I tried to use the AI but it says "Authorization failed".

Like 0

Like

2 comments

Hi! 

Right now, unfortunately, Creatio AI is available only using Creatio Cloud Service. To connect it to your local deployments - feel free to ask our support team for help.

Okay thank you

Show all comments

i have installed creatio on windows 11 pro but when i tried to run first compilation it throw an error without any reference, id or code number ,  when i tried for win-10 pro , it worked, but i need to work on win-11 pro . so what i do.

Like 0

Like

1 comments

Hello,

Windows version has no impact on application compilation.

If there is issue with site deployment on premise, please follow this instruction:
https://academy.creatio.com/docs/8.x/setup-and-administration/on-site-d…


Best regards,
Ivan

Show all comments

Hello Creatio Community,

I’m working on the Calls section in Freedom UI and need to filter the Contact lookup by the related ContactCareer -> Account link. On the FormPage, I have the following handler which works correctly:

{
  request: "crt.LoadDataRequest",
  handler: function(request, next) {
      if (request.dataSourceName !== "PDS_Contact_yzb6a3h_List_DS") {
          return next.handle(request);
      }
      var account = request.$context.attributes["PDS_Account_9l7yfn9"];
      if (account) {
          var filter = {
              filterType: 6,
              isEnabled: true,
              items: {
                  CustomFilter: {
                      filterType: 1,
                      isEnabled: true,
                      comparisonType: 3, // Equal
                      leftExpression: {
                          expressionType: 0, // SchemaColumn
                          columnPath: "[ContactCareer:Contact].Account"
                      },
                      rightExpression: {
                          expressionType: 2, // Parameter
                          parameter: {
                              dataValueType: 0, // GUID
                              value: account.value
                          }
                      }
                  }
              }
          };
          request.parameters.push({
              type: "filter",
              value: filter
          });
      }
      return next.handle(request);
  }
}

Now I need to apply exactly this filtering logic to a DataTable on the ListPage (editable grid), but I can’t get it to work.

Has anyone successfully implemented a similar filter for a Freedom UI ListPage DataTable?

Could you please share a code example or best practice?

Thank you in advance for any guidance or samples!

Like 0

Like

2 comments

Hi Віталій Поліщук ,

As far as I know, it's currently not possible to filter lookups using custom code on a Freedom UI list page .

Hello,
I think this question is similar that the one in the post
https://community.creatio.com/questions/how-filter-lookup-values-editable-list-freedom-ui. Please check the provided answer there.

Show all comments

Hello Community,

I'm working with a mini page in Creatio, and I need to refresh or update the parent (background) page after an action (like closing the mini page) is completed.

As shown in the image, after the Start Sync Process is completed, I'm closing the mini page using JavaScript. However, I also want the main page to refresh automatically.

I’m looking for the best approach or method to trigger a refresh of the parent page programmatically once the mini page action is completed.

Regards,
Ajay

Like 0

Like

2 comments

What action does the button trigger? Starts a process or calls a configuration service? You could send messges back from there to the UI and listen for those on the parent page. See https://customerfx.com/article/receiving-server-side-messages-in-a-creatio-freedom-ui-page/

If it's just all client-side things the button does, you could possibly make use of Javascript's broadcast channel API to send a message to the parent page code. See https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API

Ryan

Ryan Farley,

The button triggers a business process that runs in the background. 

I successfully used the JavaScript BroadcastChannel API to send a message from the mini page to the parent page. How can I now refresh the parent page upon receiving this message?

Show all comments

Hi,

Can we use clio utility to download package from cloud instance? I tried and its giving me an error - Object reference not set to an instance of an object

Like 0

Like

1 comments

Hello, 

Yes, you can connect a cloud site to Clio. Please refer to this post for instructions on how to connect: https://community.creatio.com/questions/cloud-sites-clio

However, please note that if you face any issues while using it, you should contact the developers on GitHub for assistance, since we do not provide support for this functionality.

Show all comments