Hi, 

I have some hard times trying to iterate an array of object and insert/display the values one by one on this object detail named Product in Receive

 

and here is a chunk of the code:

var splitResult = decodedText
          .split("*")
          .filter((item) => item.trim() !== "");
        var doNumber = splitResult[0];
        var prodDataObj = [];
        var slocCode = doNumber.split("/")[1];
 
        for (let i = 1; i < splitResult.length; i++) {
          var prodDataSplit = splitResult[i].split("/");
          var productName = "";
          var materialcode = prodDataSplit[1] || "";
 
          if (materialcode) {
            productName = await new Promise((resolve) => {
              Terrasoft.productByMaterialCode(materialcode, (productData) => {
                if (productData && productData.Name) {
                  resolve(productData?.Name || "");
                }
              });
            });
          }
          prodDataObj.push({
            Line: prodDataSplit[0] || 0, //line number
            MaterialCode: prodDataSplit[1] || "", //mat code
            ProductName: productName,
            Quantity: prodDataSplit[2] || 0, //quantity
            UoM: prodDataSplit[3] || "", //uom
          });
        }
prodDataObj.forEach((data) => {
          const newRecord = Ext.create("Terrasoft.BaseModel", {
            modelName: "UsrEntity_93626c0",
          });
 
          newRecord.set("UsrSKUName", data.ProductName, true);
          newRecord.set("UsrQty", data.Quantity, true);
 
          Terrasoft.getUom(data.UoM, (record) => {
            newRecord.set("UsrUoM", record, true);
          });
 
          newRecord.save({
            isCancelable: false, 
            success: function (savedRecord) {
 
              const pageController = Terrasoft.PageNavigator.getLastPageController();
              pageController.refreshDirtyData();
            },
            failure: function (error) {
              console.error("Failed to create record:", error);
            },
          });
        });

i tried to iterate using forEach but when i use newRecord.save, some weird error appears, this is one of them: 

Error in Success callbackId: TSQueryExecutorPlugin1965367711 : TypeError: Cannot read properties of undefined (reading 'rule')

 

I would greatly appreciate any assistance or guidance in resolving this issue.
Thank you.

 

Like 0

Like

0 comments
Show all comments

I'm trying to set a text field (to use as a title of sorts) that includes a Date type field.

 

When setting this field, the Date comes through with both the Date and Time.

Is there a no-code way to prevent the Time from also coming through in the text field when it is being set?

 

Thanks!

Like 0

Like

0 comments
Show all comments

Hello,

 

how is it possible to get Columns selection page for the object in Freedom UI? We need to get list of selected columns and save it for further usage



 

Kind regards,

Vladimir

Like 0

Like

0 comments
Show all comments

Hello support,

 

The dashboard on my mobile is showed with classic UI on some 8.2 creatio instance and in other instance is showed with freedom UI

 

Could you help me to understand what is the problem?

 

Freedom mobile UI

Classic mobile UI

Like 1

Like

0 comments
Show all comments

Hello Everyone, 

Is there Steps how to Configure emails like xyz@outlook.com. This email is personal email and does not belong to any organization but want to connect it in Creatio. I did revied the guides but there is nothing related this "@outlook.com". 
i have already Create the app pasword but still not Configuring. Please find attach some of the Screenshots.

Like 0

Like

1 comments

Hi,
 

The issue is that Outlook no longer supports Basic authorization.
 

For more details, please refer to:
Deprecation of Basic Authentication in Exchange Online.
 

Therefore, without using the Azure portal, it is not possible to add an Outlook mailbox using a password or app password.
 

It is necessary to register an OAuth 2.0 application as outlined in this article:
Set Up OAuth Authentication for MS Office 365.
 

Thank you for reaching out!
 

Best regards,
Pavlo

Show all comments

Like 0

Like

0 comments
Show all comments

Hi Community,
I can't log in through Supervisor after deploying the stand.What to do in this case

Like 0

Like

4 comments
Best reply

First, you're sure you're using the correct password for Supervisor? If you need to reset the password for Supervisor, you can use the following SQL which will reset it back to "Supervisor" (upper case S)

update "SysAdminUnit" set "UserPassword" = 'JSDCg18tavKu1PPRqdP6t.AgqDORMm2cT7oDjw66hML64avIF/Qa2'
where "Name" = 'Supervisor'

Second, it could be that it is failing due to other reasons, for example, using HTTPS but the local Creatio is only configured for HTTP. If that is the case, see the Academy docs here: https://academy.creatio.com/docs/8.x/setup-and-administration/on-site-deployment/application-server-on-windows/switch-creatio-website-from-http-to-https

Lastly, if neither of those are the issue, also look in dev tools console and network tabs to see if it gives any clues about the issue.

Ryan

First, you're sure you're using the correct password for Supervisor? If you need to reset the password for Supervisor, you can use the following SQL which will reset it back to "Supervisor" (upper case S)

update "SysAdminUnit" set "UserPassword" = 'JSDCg18tavKu1PPRqdP6t.AgqDORMm2cT7oDjw66hML64avIF/Qa2'
where "Name" = 'Supervisor'

Second, it could be that it is failing due to other reasons, for example, using HTTPS but the local Creatio is only configured for HTTP. If that is the case, see the Academy docs here: https://academy.creatio.com/docs/8.x/setup-and-administration/on-site-deployment/application-server-on-windows/switch-creatio-website-from-http-to-https

Lastly, if neither of those are the issue, also look in dev tools console and network tabs to see if it gives any clues about the issue.

Ryan

Also, if your instance is Cloud, you must ask to support to reset it

 

Regards

Julio

Ryan Farley, Thank you

 

Show all comments

Hi community,

 

We have just received question from client if they can create email template in Creatio for Marketing purposes and if they can lock/secure the content of the email with password or design it in the way that it can't be forwarded. 

 

They are interested in simple solution. Thank you in advance.

Like 0

Like

2 comments

Hello,
 

Unfortunately, no OOTB functionality allows locking or securing the content of an email. However, we suggest the following alternatives that could address your requirements:
 

Dynamic Content Rules:
You can configure dynamic content rules within Email Designer. These rules allow you to define conditions for displaying specific blocks of content to different recipient segments. While this does not directly secure the content, it provides controlled visibility based on set criteria.
 

Link with Validation:
Another option is to send a link within the email that redirects recipients to a secure content page. You can add a password validation mechanism on that page to restrict access to the content.
 

Additionally, we have created a task for our R&D team to evaluate this functionality and consider adding a feature for securing email content in future releases. Your request to prioritize this task has been linked to this task.

Best regards,
Antonii.

Hi Antonii,

 

Thank you for the answer and providing possible alternative solutions.

 

Best regards,

Jelena

Show all comments

Hi!

I want to add a button to a detail page with a Data Import action, using the crt.ImportDataRequest action.
I need to specify a default value (the id of the current detail) to a field. Can I do that? Does anybody knows the entire list of parameters for this action?

Thank you in advance,

Ignacio Alvarez

Like 0

Like

0 comments
Show all comments

Hello,

 

Is it possible to use Classic UI in web application, but Freedom UI in mobile app? 
The project is done in Classic, so there is no Freedom UI yet.

Kind regards,
Vladimir

Like 1

Like

5 comments
Best reply

Yes - in the mobile wizard, you'll just need to check the "Freedom UI" option for each section exposed in the mobile application.

Ryan

Yes - in the mobile wizard, you'll just need to check the "Freedom UI" option for each section exposed in the mobile application.

Ryan

Ryan Farley,

Thank you!

Do you know in which version this checkbox was introduced? I don’t see it in 8.0.8. Does this mean we need to plan an upgrade?

Kind regards,
Vladimir

Vladimir Sokolov,

I think the first mention for Freedom UI in mobile was 8.0.6 - I don't recall how much was available in that release, so not sure if the option was available for all sections at that time  https://academy.creatio.com/docs/8.x/resources/release-notes/806-atlas-release-notes#title-2502-13

Ryan

Vladimir Sokolov,

Also, that option for Freedom UI in mobile is controlled by a feature. I have a couple of systems where that feature never got enabled by upgrades and the option doesn't show. If it's not showing in your system, that could be the case also and you can check with support for which feature is needed for that (I can't remember the feature name that controls that)

Ryan Farley,

 

Thank you so much, Ryan.
You’re, as always, amazing. The feature UseMobileFlutterFirst setting helped enable Freedom UI.

Kind regards,

Vladimir

Show all comments