Hi,

we have a Freedom UI page with an editable list component connected to an object. If the user has changed any record, the "Save all" button should be pressed to apply updates (see screenshot). Now we want to implement objects saving on "Apply changes button". Is it possible? We thought about similar handler as for refresh data, but for saving datasource:

const handlerChain = sdk.HandlerChainService.instance;
await handlerChain.process({
    type: "crt.LoadDataRequest",
    $context: request.$context,
    config: {
        loadType: "reload"
    },
    dataSourceName: "DataSourceNameHere"
});

 

Like 0

Like

1 comments

Hi,

If I'm not mistaken, you can use crt.SaveRecordRequest (example here) or crt.SaveDataRequest (example here)

Show all comments

Hi all, 

 

Sometimes the requirement is to import a single column of data to an object - for example "Email" of "Contacts". 

 

However, if you have multiple required columns in the object, you must import all those columns again.

 

Is there a way around this? curious if I am missing a simple setting or if anyone deals with this differently.

 

Thanks

Like 2

Like

3 comments

Yes would love to temporarily pause rules on some fields at import

Hello Harry,

 

As of now it's expected oob behavior. The required columns cannot be disregard as it may affect the import results.

We'll register a corresponding query for responsible R&D team to consider applying changes to this behavior in future releases. 

 

Best regards,

Anastasiia 

 

Anastasiia Zhuravel,

any news on this?

We would really need the freedom to decide which fields to provide during import... 

Show all comments

Hello, I am working on the customer's requirements, in which it is necessary to perform a global search not only by application attributes, but also by the content of a text document (doc, pdf).

Is it possible to implement using elasticsearch?

Like 2

Like

4 comments

Hello Dmitriy,

 

Unfortunately Global Search functionality cannot be applied to the attachments for now.

We've registered a query for our responsible R&D team to implement such functionality in the upcoming releases but due to complexity of the task there is no specific ETA as of now.

Best regards,

Anastasiia

Hi Anastasia,

Our prospect is also demanding this functionality! Can you provide an ETA?

luis.goncalves@imdigital.pt,

 

Unfortunately for now we don't have any ETA for when this functionality will be implemented.

There used to be an addon able to handle this (not sure what was the mechanism used though, elasticsearch or something else), so I guess there somehow a possibility. It is an often requested feature indeed.

Show all comments

If you merge your Facebook and Instagram accounts in Facebook Messenger, and connect your Facebook account to Creatio, will you receive messages from both accounts in Creatio?

Like 1

Like

1 comments

Hello Anton, 

 

As of today we have a task to integrate instagram in order to let you receive the messages from Intagram either, so it possibly will be implemented in our future releases, but currently it is not possible.

 

Have a nice day! 

Show all comments

Hello all,

 

My colleague and I are trying to develop applications with specific dependencies but Creatio keeps adding dependencies we don't want to the package when we save a business process. Is there a way to turn off the automatic adding of dependencies? I'd prefer to receive an error message if I'm using something for which I don't have access.

Like 2

Like

2 comments

I would love to turn this off and have an error telling me what it needs instead. The auto adding dependencies could be nice but I’d prefer to control that myself. I’ve ran into issues where it attempts to add a dependency for the same package that the item is already located in and then complains that it’s a circular dependency. 

Ryan

Not getting the exact same error, but similar behavior: 



modifiying customer 360 list & form pages, getting account new objects, pages etc saved in my current set package, and the contacts saved automatically in a new package of Creatio's choice.... Quite confusing

Show all comments

If you merge your Facebook and Instagram accounts in Facebook Messenger, and connect your Facebook account to Creatio, will you receive messages from both accounts in Creatio?

Like 0

Like

1 comments

Hello Anton, 

 

As of today we have a task to integrate instagram in order to let you receive the messages from Intagram either, so it possibly will be implemented in our future releases, but currently it is not possible.

 

Have a nice day! 

Show all comments

Hi Community, 

 

I have a requirement to load default quick filter when user opens the record. Currently whenever user changes the filter, the default filter is updated with the latest filter changes. 

 

How can I load the default filter on opening/ adding a record ?

Any suggestions is really helpful.

Like 0

Like

3 comments

Hello,

 

Your business task can be only achieved with the help of separate development process. 

You can use 'entity schema query' filters in particular. Here is the guide on this topic

https://academy.creatio.com/docs/developer/front_end_development/data_o…

 

You can also use this community post with the example of such logic https://community.creatio.com/questions/default-filter-section

Hello Bogdan,

 

could you please help me how can I do it in freedomUI?

GargeyiGnanasekhar,

 

We don't have such example of it's implementation in Freedom UI

Show all comments

Hi there! We are developing an application and want to add a custom channel provider. We follow this guide, however, it does not cover how to bind custom channel provider with channel registration logic (I mean on ChatSettings page when we click on custom channel provider value on adding new channels) - is there any documentation on implementing it?

 

Thanks

Like 1

Like

0 comments
Show all comments

Hi there! We are developing an application and want to add a custom channel provider. We follow this guide and stuck on 7. Implement message sending step. 

 

The question in the send messages logic though Creatio interface. 

Let's assume we already have an active chat with some contact and messages from the contact. If we send (outcoming) message to the chat, we will only see a modal window with "Error while sending the message" message.

We checked the request made when sending the message. The request URL is .../0/rest/OmnichannelOutcomeMessagingService/SendMessage, and the payload:

{
  "message": {
    "Attachments": null,
    "ChannelId": "e79043bc-377d-46b9-86ee-9b0fc4845f0b",
    "ChatId": "f2374931-2402-411a-bf37-0eb2a6acd422",
    "ContactIdentification": null,
    "Id": "00000000-0000-0000-0000-000000000000",
    "IsEcho": false,
    "IsGuestUser": false,
    "IsStandBy": false,
    "Message": "test",
    "MessageDirection": 2,
    "MessageType": 0,
    "Recipient": "Test User",
    "Sender": "123",
    "Source": 2,
    "Timestamp": 0
  }
}

 

We also have an IOutcomeMessageWorker interface implementation binded with our "Test" channel (which has Source set to "123" as you can notice from the payload).

We tried to call the OmnichannelMessagingService.InternalSend method with the same MessagingMessage and saw the following stack trace:

The server encountered an error processing the request. The exception message is 'Error creating an instance
			of the "OmnichannelProviders.MessageWorkers.IOutcomeMessageWorker" class'. See server logs for more details.
			The exception stack trace is: 
		    at Terrasoft.Core.Factories.ClassFactory.GetInstance[T](Func`1 action)
			at OmnichannelMessaging.MessageWorkerFactory`1.GetWorkerInstance(String messengerName)
			at OmnichannelMessaging.MessageOutcomeWorker.InternalSend(UnifiedMessage message, String messenger)
			at Terrasoft.Configuration.Omnichannel.Messaging.OmnichannelMessagingService.InternalSend(MessagingMessage
			messagingMessage)
			at Terrasoft.Configuration.Omnichannel.Messaging.CusboOmnichannelMessagingService.test()
			at Terrasoft.Configuration.CusboMessageEventsHandlerWebServiceNamespace.CusboEventHandlerWebService.test()
			at SyncInvoketest(Object , Object[] , Object[] )
			at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]&
			outputs)
			at Terrasoft.Web.Common.ServiceModel.ThreadContextInitializer.Invoke(Object instance, Object[] inputs,
			Object[]& outputs)
			at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
			at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
			at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
			at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

 

If we add MessagingMessage.Channel = "Test", the message is sent successfully. So we wonder if we are missing something in our configuration and how to send the message to the custom channel provider. Or if there is a way to call custom logic (endpoint, service, anything) when sending messages to custom channel provider.

 

Thanks in advance.

 

Like 0

Like

1 comments

As far as we see, there is a problem in the existing method OmnichannelOutcomeMessagingService.SendMessage - when the message is sent from omni chat conversation component, the request body does not contain ChannelName property (if we trigger this endpoint with this value set, everything works).



The workaround we have done: added Harmony library to the app and used patching with the following code in our custom class that extend AppEventListenerBase (in the end of the OnAppStart method): 

var original = typeof(OmnichannelOutcomeMessagingService).GetMethod("SendMessage");
var prefix = typeof(SendMessagePatcher).GetMethod("Prefix");
var harmony = new Harmony("com.example.test");
harmony.Patch(original, prefix: new HarmonyMethod(prefix));

(SendMessagePatcher should be implemented separately, with adding ChannelName in case the message was sent into custom channel provider chat).



If you have any other suggestions of implementing message sending for custom channel provider, please let us know.

If Creatio Developers consider that there is a bug, we hope it would be fixed asap, otherwise we hope that the documentation would be updated as it is either outdated or not covering adding custom channel provider case completely (especially sending messages topic).

 

Show all comments

Hi there! We are developing an application and want to add a custom channel provider. We follow this guide, and stuck on 4. Implement the conversion of an incoming message step. 

 

After adding completely the same converted class and publishing it, we receive 

The type or namespace name 'OmnichannelProviders' could not be found (are you missing a using directive or an assembly reference?) compilation result. 

 

As the guide suggests, this class should be added to Custom package and it is working ok in this case, however we need to add it to our application's package so it can be exported and installed. Is it possible? 

Like 0

Like

2 comments
Best reply

Hello,

 

Have I understood everything correctly and you develop this functionality in an assembly-package? If you uncheck this package option "Compile into a separate assembly" do you have the same error message?

 

Thank you!

Hello,

 

Have I understood everything correctly and you develop this functionality in an assembly-package? If you uncheck this package option "Compile into a separate assembly" do you have the same error message?

 

Thank you!

Oleg Drobina,

Correct, we have this option enabled by default and haven't changed it.

After unchecking this checkbox everything works like a charm. 



Thank you very much! 

Show all comments