Hi Team,

 

I urgently need one solution for how we can highlight or apply background color to a specific word in the sentence that is modified.

 

For example : There is one string field in section. On record creation , the value is entered in the field - 'This is a example.' and record is saved.

 

Now, later if the user modifies the value to 'This is an example'., the changed field value should be highlighted in the following manner which means only the specific word that is changed is highlighted in color.

 

 

Please provide some solution for this.

 

Sarika

 

 

 

 

Like 0

Like

1 comments

Hello Sarika,

 

There is no such oob functionality, implementation of this idea will require development. Unfortunately, we do not have any ready to use examples of how it can be achieved with code. 

 

I have forwarded your idea to our responsible R&D team to consider it's implementation in the upcoming versions of the Application. 

 

Thank you for helping us to make our application better!

 

Best regards,

Anastasiia

 

Show all comments

Hi,



Any ideas how to change the order of Account and Contact in the "Customer" selection of opportunities ?





 

Like 0

Like

1 comments

Nevermind found it, but leaving the post as this can interest some people:

 

attributes: {
			"Client": {
				"multiLookupColumns": ["Account","Contact"]
			}

 

Show all comments

Hi Colleagues! How are you?

I'm trying to develop a kind of webhook on Creatio. To achieve it I have created an anonymous web service. The issue I'm experiencing is a Bad Request 400 when receiving the request that is going to be sent by third party app. They are going to send an XML using  POST request, Content-Type = text/xml, and XML Body similar to this one:

<?xml version="1.0" encoding="ISO-8859-1"?>

 

 

If i change the encoding for example to UTF-8 it works.

I tried a lot of alternatives but always I get the same result:

  1. Changing the service contract,
  2. Operation contract,
  3. Mapping a custom class,
  4. Override WebContentTypeMapper

 

Any recommendation? Any workaround?

Appreciate it!

Regards.

Like 0

Like

2 comments

can you post the code?

keith schmitt,

How are you? Thank you your interest. As I commented I tried a lot of alternatives. Attached the code. Focus on UpdateSMSStatus / 

GetInstructions / ProfileRequest. Each method has a different behavior but none of them works.

 

https://drive.google.com/file/d/1Q1cIxIN7GCUT-DsEJCHT2IKr1R39DkKL/view



Thank you!

Show all comments

I am going to add custom button which alerts some text on contact page. Is it possible?

Like 0

Like

2 comments

Hello Muhammadjon,

 

in order to achieve this you need to create a Replacing view model at the Custom package.

For the partent object you will need to select ContactSectionV2, or the section where you want to create this button.

Then you need to create a new localizable string (you will see the possibility to create a new one on the left) where you will put the desired text. for the button. While creating the localizable string you will need to enter the value, and the code. The code is something that you will use later.

 

After that you insert this code on the page:

 define("ContactSectionV2",

        function(BaseFiltersGenerateModule, Enums, ConfigurationConstants, BusinessRuleModule) {

            return {

                entitySchemaName: "Contact",

                messages: {},

                attributes: {},

                rules: {}/**SCHEMA_MODULES*/,

                /**

                 * Current schema mixins

                 */

                mixins: {},

                methods: {

                    OnTestButtonClick : function() {

                        Terrasoft.showInformation('Test') 

                    }

                },

                diff: /**SCHEMA_DIFF*/[

                    {

                    "operation": "insert",

                    "parentName": "ActionButtonsContainer",

                    "propertyName": "items",

                    "name": "TestButton",

                    "values": {

                        "itemType": Terrasoft.ViewItemType.BUTTON,

                        "style": Terrasoft.controls.ButtonEnums.style.GREEN,

                        "caption": {"bindTo": "Resources.Strings.TestButtonCaption"},

                        "markerValue": {"bindTo": "QualificationProcessButtonCaption"},

                        "classes": {"wrapperClass": ["t-btn-wrapper t-btn-text t-btn-style-blue actions-button-margin-right"]},

                        "iconAlign": Terrasoft.controls.ButtonEnums.iconAlign.RIGHT,

                        "click": {"bindTo": "OnTestButtonClick"},

                        "layout": {

                            "column": 6,

                            "row": 0,

                            "colSpan": 2

                        },

                        "visible": true

                    }

                }    ]/**SCHEMA_DIFF*/

            };

        });

 

The method  Terrasoft.showInformation('Test')  is the one responsible for displaying the message on screen. Here instead of Test you can write any message. 

The part where it says "caption": {"bindTo": "Resources.Strings.TestButtonCaption"}" , this is where you put the code from the localizable string previously created. So if the code of the string was called TestButtonCaption, then you need to put Resources.Strings.TestButtonCaption. If you name the code like "RandomButton" then it will be Resources.Strings.RandomButton.

 

Best regards,

Dariy 

Thanks so much! This is so helpful

Dariy Pavlyk,

Show all comments

Hi All,

 

We have a requirement to enable SSO with OKTA. Please suggest whether is it possible? If yes, how we can do that?

 

Thanks & Regards,

Sourav Kumar Samal

Like 0

Like

5 comments

Hello,

 

Yes, it is possible to set up SSO through OKTA. Unfortunately, we do not have specific instructions for this product, but you can use the Single Sign-On via ADFS Academy article for your reference. 

 

Best regards,

Bogdan

 

 

Bogdan,

 

We are also trying to configure from OKTA's side as well. But there are certain ask that we are unsure about. Could you please suggest on the following questions from Creatio perspective?

Thanks,

Sourav

Bogdan,

Is there any information on this?

 

Thanks

Sourav, 



This application is in "Upcoming" state meaning that it will be available in Future. 

As for your first question, you need to insert following values:

 



Kind regards,

Roman

 

Roman Brown,

 

What is the LocalCertificateFile and where to get this for onsite applications?

 

Thanks,

Sourav

Show all comments
Question

I'm trying to update a column of type date using Entity object as below:

//Example 1
entity.SetColumnValue("BirthDate", "2001-09-15");
 
//Example 2
DateTime Date = DateTime.Parse("2001-09-15");
entity.SetColumnValue("BirthDate", Date );

The second example modifies the value successfully but when I open in client side the value doesn't show.

 

Like 0

Like

1 comments

Which error message do you get in the console from the client-side when opening a record? Also which value is being stored in the database. Finally, what does this.get("BirthDate") returns inside the onEntityInitialized method execution from the client-side?

 

Best regards,

Oscar

Show all comments

Is it possible to disable the option to create a new record when editing a Lookup field, so that the user can select an existing record, but not create one?  Users can sometimes unwittingly do this when not able to find the record using the Lookup.  If not is there a workaround?  It is not an option to remove create rights for the Lookup object.

Like 1

Like

2 comments

Hello Gareth,

 

Please check the answer on this post: 

https://community.creatio.com/questions/disable-new-option-city-state-l…

 

Here was a contrary question to DISABLE "NEW" OPTION. But you can try by analogy to change  "Lookup view" from  "List" to "Selection window" and the "New" button should be available.

 

Best regards,

Bogdan

 

 

Hello Gareth,

 

you can also disable New in "List", but with a little coding:

1. Override LookupQuickAddMixin

 

define("UsrLookupQuickAddMixin", ["LookupQuickAddMixin"], function() {
	Ext.define("Terrasoft.UsrLookupQuickAddMixin", {
		override: "Terrasoft.LookupQuickAddMixin",
		onLookupDataLoaded: Terrasoft.emptyFn
	});
});

 

2. Replace BootstrapModulesV2

define("BootstrapModulesV2", ["UsrLookupQuickAddMixin"], function() {
	return {};
});

 

Show all comments

I've created a process that send email.

I'm trying to inject process parameters into an HTML element of a custom email template, But the values are NOT populated into the html output.

 (see attached screenshot..)

 

Thank

Eran 

File attachments
Like 0

Like

2 comments

 Hello Eran, 



in order to do that first you need to add a block to the designer, and then add a text element. When you click on the text element, you will see at the top corner a thunder. If you click on the thunder you will be able to add your parameter to the text element.



Then, you need to click again on the text element, and you will see near the tunder another button, which has a tag inside <>, it is called "Edit source HTML code". You can click on it and it will show you the HTML for this text element, including the HTML for the parameter. Now you need to copy the  HTML code for this parameter (it will be an image tag) .



Then, you can go to the HTML block where you want to use this parameter, and paste it.  This will be enough to pass the parameter.

Also, you can create a parameter at the HTML element, and at the  "Value" field, you can pass this image tag that represents your parameter. 



Both options are valid to pass a parameter to your HTML element. I'll attach here photos showing how to do the steps mentioned above.

 

Best regards,

Dariy

 

 

Hello Eran, 

 

following our conversation over the email, I'll share here as well the two ways to dinamically insert Id's into a link, in order to use that link at an email.

 

-The best one is creating a formula where you will concatenate two strings, the URL + the activity ID. 

You just need to create a formula before the email and modify the strings like this

"http://my.domain.com/0/Nui/ViewModule.aspx#CardModuleV2/ActivityPageV2/edit/"+[#Parameter 1#]  

I'll attach a photo showing how you can do this.



After that, your Parameter 1, will be a ready to use link with the ID attached at the end.

Now you can insert it into a text block (clicking on the thunder icon as I've shown in photos from previous messages) .

Or you can directly insert the img tag into the HTML code, you dont need to use the <a> tag because the img tag will be automatically converted to a link once you send the email. The formula will be responsible to merge the dynamic value of the parameter with the URL, and when you insert that into the email it will be a ready to use link.





-You can also create a text block in the email, then copy and paste the URL, after that you insert the Parameter with the ID, and then you put quotation marks between them "http://my.domain.com/0/Nui/ViewModule.aspx#CardModuleV2/ActivityPageV2/edit/[#Parameter 1#]".

This method is less desirable to use but i'll also attach a photo showing how does it look in the email designer.

 

Best regards,

Dariy

Show all comments

Hi,



How can we filter to left "client" field in opportunities to show only accounts for selection and not contacts or accounts ?



Damien

Like 0

Like

2 comments
Best reply

Hi Damien,

You can add this to the page attributes to remove the contact lookup option:

attributes: {
  "Client": {
    "multiLookupColumns": ["Account"]
  }
}

Ryan

Hi Damien,

You can add this to the page attributes to remove the contact lookup option:

attributes: {
  "Client": {
    "multiLookupColumns": ["Account"]
  }
}

Ryan

Ryan Farley,

 



Thanks, worked perfectly :)

Show all comments

Hello,



I have a requirement to bind Organizational Roles to the package. I have come across some similar questions on academy and found that we can use SQL script to perform the same. Could someone please help with this if they are familiar with this approach or have done this activity previously. Thank you

Like 1

Like

2 comments

Hello,

 

Thank you for your question. 

 

Please, note that it's not recommended to bind users, organizational structure, roles, licenses, and other administrative things to a package. It will be very hard to handle that if you decide to install that package after the moment when the client adjusts that administrative things according to his or her needs directly on the production.

 

Unfortunately, there is no script we could provide you with but in case you decide to bind this data and transfer it to another environment we suggest checking all changes on the copies before delivering it to the production websites. The organizational structure is in the "SysAdminUnit" and "SysAdminUnitInRole" tables and you are right, it's possible to bind it to the package via SQL scripts only.

 

Best regards,

Anastasiia

We usualy do the following:



Create separate package for Roles

1. Add Data for SysAdminUnit 

2. Add Data for SysUserInRole



Before you install the package

Switch off trigger TRSysAdminUnitRoot in table SysAdminUnit (otherwise it will block adding new roles)



Install the package

 

Switch on trigger TRSysAdminUnitRoot in table SysAdminUnit



And always remember, that deleting of data cannot be transfered without SQL script

Show all comments