Is it possible to have auto-populating contacts in the "To" column of an email form based on which email template you choose?

Like 0

Like

1 comments

Hello Mitch,

 

It's not possible using the standard application configuration since the "To" column select records from the "VwRecepientEmail" table that has no connection to the "EmailTemplate" table. Theoretically it can be done, but it requires some modifications:

 

1) You need to create a separate object that will connect contacts and email templates

2) Override the getLookupConfig method from the base EmailPageV2 or create a filter group function for the "Recepient" column (by adding lookupListConfig parameter for the "Recepient" column)

 

Best regards,

Oscar

Show all comments

Is it possible to create a filter on the "to" and "cc" and "bcc" columns of an email form when you are sending an email from a case?

Specifically I am looking for a filter based on some criteria from the case.

 

For example, if the Account for the case is Company A, then only show contacts in the "To" column of the email form if those contacts are from that account.

Like 1

Like

4 comments

Hello Mitch,

 

You need to test two following scenarios:

 

1) Create a lookupListConfig parameter for the "Recepient" attribute (should be created additionally) on the replaced EmailPageV2, creating a Terrasoft.FilterGroup in the parameter and specifying filtering conditions.

 

2)  Replace the getLookupConfig method from the base EmailPageV2 and override it in case the columnName is "Recepient".

 

One of these two approaches should work.

 

Best regards,

Oscar

Oscar Dylan,

Thanks for the insight.



I see these two business process are responsible for sending an email.

 

STEP 1 :  When a new case is created BP - Incoming email registration process : Triggered to send a notification to User 

STEP 2 : When the status of the case is modified/updated BP - Send email to contact on case status change, is triggered and this is linked to another Sub-Process BP - Send email to case contact.

 

I see that the reply is sent to all the recipients and I want reply email should be sent only to the sender (Who raised the request)

i.e., only for TO recipients and not for CC recipients

Hello Bhoonalan, 

Please enable Features CasesOnlyRespondToSender  and SendOnlyToContactEmail .  For MSSQL, use following script:

 

DECLARE @featureCode varchar(max) = 'Feature code',

 @featureId uniqueidentifier;

set @featureId = (select top 1 Id from Feature where Code = @featureCode);

IF @featureId is null

BEGIN

 insert into Feature

  (Name, Code)

 values

  (@featureCode, @featureCode);

 set @featureId = (select top 1 Id from Feature where Code = @featureCode);

END;

delete from AdminUnitFeatureState where FeatureId = @featureId;

insert into AdminUnitFeatureState

 (SysAdminUnitId, FeatureState, FeatureId)

values

 ('A29A3BA5-4B0D-DE11-9A51-005056C00008', 1, @featureId);



This script enables the feature , or creates the feature if it's not created on your instance 



Also, please enable sysSetting AutoNotifyOnlyContact.



Best Regards,

Yurii.

 

One workaround is to edit the 

VwRecepientEmail by adding the account name to the Contact Name field.

This way the user can search by account using the ContactName field.

 

Show all comments

When trying to select a previous workflow case stage, the eligible choices have a circle with a slash and cannot be selected.  I see this on our production system and trial system in the Cases section.

Any ideas as to why I cannot select a previous stage even though I have all of the stages included as possible previous stages?

Like 0

Like

2 comments

Hello Scott, 

 

Please, add the stages to which you can transition from the current stage to the [Possible next stages] area. This property is responsible for the stages that can be selected once the current stage is set up. 

 

More detailed information on how to work with case stages can be found in the Case Designer workflows - Set up case stages Academy Article. 

 

Best regards,

Olga. 

I was looking at it from the wrong perspective, this now makes sense, thanks.

Show all comments

After our latest upgrade to 7.17.1 there are now many more notifications that show up based on cases the user is following. Our users used to rely on notifications from feed post mentions to know if they need to look at a case. Now they are flooded with notifications every time a new email is attached to a case, and our users rely too heavily on emails to communicate in cases so there is an excessive amount of notifications for them to look through. Is there a way to filter which types of notifications a user receives? Is there a way to configure certain objects, for example so emails don't cause new notifications?

Like 0

Like

5 comments

Dear Mitch, 



In order to disable these notifications please do the following: 

1.) Disable the feature with Code 'NotifyOfNewSocialMessages'

2.) Turn off the process with Name "NotifyOfNewSocialMessages"



Kind regards,

Roman

Roman Brown,

 

What about for Emails? (The email icon in the communication panel). Is your suggestion for the Notification object that updates the bell icon? What object updates the email icon with a little red number?

Dear Mitch, 



My suggestion relates only to feed messages and doesn't affect system, processes or email notifications. 

As for your second question - the counter of new email notifications is being updated when the new message is received via websocket and this information is not reflected in DB. 



Kind regards, 

Roman

Roman Brown,

 So the new email notification counter cannot be turned off using standard settings? I just want to confirm this so I can tell my users who are asking me to turn it off.

Mitch, 



Unfortunately, there are no user tools to disable the mentioned notification counter. 

We will register the proposition for the responsible R&D team to add this functionality in future Creatio releases. 



Kind regards,

Roman

Show all comments

Hello, is it possible to have the global search include records from custom sections I've created? It appears to only search ootb sections. 

Like 0

Like

9 comments

You can try enabling the indexing for full text search option in section wizard.  https://academy.creatio.com/docs/user/no-code_customization/ui_and_busi…

Can that only be done upon initial setup? I set this custom section up a year ago and now if I go to the section wizard I don't see that option.

 

Dear Mitch, 



Can you please check SysModule table and make sure that for this section value of "GlobalSearchAvailable" column is set to 1? 



Kind regards,

Roman

Roman Brown,

 It was not set to 1, I updated the column so it was now 1. But still, this section does not show up in the global search.

Dear Mitch, 



Please contact our support team at support@creatio.com with a short description of the issue or simply provide a link to this post so we could help you with it. 



Kind regards,

Roman

Will this work for detail columns also ?

Dear Shailey, 



Can you please provide more details on your question?



Kind regards,

Roman

Hello,

 

same questions:

 

1. Custom section is set up as indexing for full-text search but I dont see in a result window.

2. Enabling section for fulltext search: would it find the details records aswell. For example if I search for product name, it find me all orders where that product in placed. Will it work for custom section as well with products detail?

Dmytro Oliinyk,


Did you manage to make it work? I'm curious about this too.

 

Show all comments

Is there a declarative way to display fields from a lookup on an entity's edit page? For example, if I have a Contact record whose Owner field is set and I want to display the Owner's Job Title as a read-only field on the Contact's edit page, is it possible to do without adding some code to the onEntityInitialized method to manually set another attribute which a field is based on to the value of the Job Title field? I can load the field with the record using lookupListConfig as below, but any way I try to specify that this field should be displayed on the page results in errors or nothing happening:

    attributes: {
        "Owner": {
            lookupListConfig: {
                columns: ["JobTitle"]
            }
        }
    }
// ...
    diff: [
        // example of one attempted method to add the lookup field which doesn't work:
        {
            "operation": "insert",
            "parentName": "ContactGeneralInfoBlock",
            "propertyName": "items",
            "name": "OwnerJobTitle",
            "values": {
                "bindTo": "Owner.JobTitle",
                "layout": {
                    "column": 0,
                    "row": 4,
                    "colSpan": 12
                },
                "enabled": false
            }
        }
    ]

 

Obviously as mentioned this could be done using code, but if it's possible to do declaratively that would definitely be my preferred option - is this possible?

Like 0

Like

4 comments

I don't know of a declarative way to do this. You'd need this in a few parts:

  1. Add some text virtual attributes to the page and then add those to the diff as readonly
  2. Populate those attributes when a lookup item is selected which could be done by adding the columns to the lookupListConfig columns. You'd need to wire up a change attribute for the lookup to retrieve those values and populate the attributes.
  3. onEntityInitialized you'd need to retrieve those values using an ESQ to populate the virtual attributes again.

Ryan

As a side comment, I'd love to be able to declaratively add fields like this, the system could just make them read-only if they are on a connected entity. That would be fantastic.

Hi Ryan, thanks for the reply. Yeah, I have a way to populate the fields in code, but I was just wondering if there was a declarative way to do so - as you say, it would be a great addition to Creatio and I hoped I was just missing something already there!

 

For anyone else searching for this, my solution slightly differed from yours in using the lookupListConfig to pull the lookup entity's additional field(s) when loading the record, which means you don't have to run an additional ESQ, which saves hits on the DB. It also uses the dependencies attribute rather than the change attribute, but that's just my personal preference as I believe they'd work the same:

 

    attributes: {
        "Owner": {
            lookupListConfig: {
                columns: ["JobTitle"]
            }
        },
        "OwnerJobTitle": {
            type: Terrasoft.ViewModelColumnType.VIRTUAL_COLUMN,
            dataValueType: Terrasoft.DataValueType.TEXT,
            dependencies: [
                {
                    columns: ["Owner"],
                    methodName: "setPickMapFields"
                }
            ]
        }
    },
    methods: {
        onEntityInitialized: function() {
            this.callParent(arguments);
            this.setPickMapFields();
        },
 
        setPickMapFields: function() {
            const owner = this.get("Owner");
            if(owner) {
                this.set("OwnerJobTitle", owner.JobTitle.displayValue);
            } else {
                this.set("OwnerJobTitle", null);
            }
        }
    },
    diff: [
        {
            "operation": "insert",
            "parentName": "ContactGeneralInfoBlock",
            "propertyName": "items",
            "name": "OwnerJobTitle",
            "values": {
                "bindTo": "OwnerJobTitle",
                "layout": {
                    "column": 0,
                    "row": 4,
                    "colSpan": 12
                },
                "enabled": false
            }
        }
    ]

 

Does the job, but it does lack the clarity that a declarative system would provide!

Harvey Adcock,

That's great Harvey, thanks for the update. I was under the impression that adding columns to the lookupListConfig would only load them on selection, great to know that those come along when the lookup data is loaded as well!

Ryan

Show all comments

Hi Community,

 

I have seen the DataServices, OData 4 & OData3 which allow third-party tools to perform CRUD operations in Creatio using AuthService form authentication.

 

I want to know If there is any service like above which have OAuth 2 implemented so that instead of AuthService authentication, third-party tools can use OAuth 2 authentication with Creatio?

Like 0

Like

2 comments

Hi Akshit, 

 

Please check the link below to get some general information about integration with OAuth :

 

https://academy.creatio.com/docs/user/no-code_customization/web_service…

 

And also the particular example of integration with Office 365 :

 

https://academy.creatio.com/docs/user/setup_and_administration/base_int…

 

Best Regards, 

 

Bogdan L.

You can find some info for setup oauth environment here Set up OAuth 2.0 authorization for integrated applications | Creatio Academy

Show all comments

Hi community,

 

Few year back someone overrode this save method as you can see in the below attached image.

now this has became  a third party schem for me.

 

I want to remove this implementation(what all written inside save), because it is restricting the user from saving the record now.

 

What I have tried is creating the replacing client schema for the above schema and again overriding the save method as : 

save : function() 

this.callParent(arguments);

}

but it didn't worked.

 

Now, what all I am trying to do is to call the base implementation of Save method by skipping all the overriding implementaion therefore I also tried this : 

save : function() 

this.callSuper(arguments);

}

but it didn't work either.

 

Can someone help me how can I achieve this.

 

Many thanks!

 

Like 1

Like

4 comments

Dear Akshit,

 

save : function() should have solved your task. Have you debugged the code to find why it did not work?

 

Best regards,

Angela

 

Hi Angela Reyes,

 

Thank you for the response,

 

I haven't tried to debug this code.

 

I thought there is some way to call the base implementation of Save by skipping the overriding versions of the same(Save method).

 

So according to you below should work : 

Save : function () 

{

this.callParent(arguments);

}

 

Ok, I will debug and will respond back here.

 

 

 

Akshit,

 

If you want to call the base save function then you don't need to override the save function at all. Without overriding the system takes the base save function and executes it. But if you need to store some additional logic upon saving the record you need to callParent the parent save function and then your additional actions that the code is supposed to call. 

 

Best regards,

Oscar

 

Akshit,  Hello ,

Did you find a solution to this problem

Thank you 

Show all comments

Hi Community,

 

 

Above error I am getting while opening/editing the record in creatio mobile applciation.

 

There are total 5 details configured on the section and I see only these detail configuration in mobile is causing this issue. Now the next thing is this error is not because of any specific details. It is random.

 

Can anyone please help me why these details configuration is causing this error ?

 

Many thanks,

 

Akshit

Like 0

Like

1 comments

Dear Ashkit, 

 

The error CANNOT READ THE PROPERTY "..." OF UNDEFINED is quite general and its hard to tell what can be the issue from the screenshot. It is necessary to have a closer look into it. Try to approach the Creatio support team to look at the error closely.

 

Regards,

Dean

Show all comments

Hi All,



I have created a mini page -OOTB(View Mode) for a section as you can see in the below image.





And the view record Mode is enabled. And the process works as expected





But the View record checkbox getting disabled once transfering the package.

Is there any DataBinding related to this miniPage.

Kindly help me out with this.



Regards,

Adharsh S

 

Like 0

Like

2 comments
Best reply

Hello Adharsh,

It is necessary to bind data from MiniPageModes and MiniPageSchemaUId column of SysModuleEdit table. The columns store info about what modes your minipage has.  Seems like this binding is missing and as the result the checkbox is not active.

 

Regards,

Dean

Hello Adharsh,

It is necessary to bind data from MiniPageModes and MiniPageSchemaUId column of SysModuleEdit table. The columns store info about what modes your minipage has.  Seems like this binding is missing and as the result the checkbox is not active.

 

Regards,

Dean

 

Thanks, Dean Parrett,

I will make DataBind for the above you mentioned and try again.



Regards,

Adharsh S

Show all comments