external
portal users
Studio_Creatio
8.0

Hello,

I have developed a custom component using remote module. its working fine for internal users.. but when I logged in as external user, all the APIs of my custom component are failing with 404 status code..

How do I fix this? TIA

Like 1

Like

6 comments

Configuration services exposed to external users need to have two changes:

First of all, the C# service itself needs to have the following attributes on the class:

[DefaultServiceRoute]
[SspServiceRoute]

You'll likely also need to add the using directives: 

using Terrasoft.Web.Common;
using Terrasoft.Web.Common.ServiceRouting;

Second of all, the url path to the service is different for external users. 

Full Creatio (internal) users will use: 

0/rest/UsrMyService/SomeMethod

External users will use: 

0/ssp/rest/UsrMyService/SomeMethod

You can use the following code, if needed, to get the correct path/url based on the user type, it will return the correct path for both user types: 

var workspaceBaseUrl = Terrasoft.utils.uri.getConfigurationWebServiceBaseUrl();
 
var servicePath = workspaceBaseUrl + "/rest/UsrMyService/SomeMethod";
 
//servicePath will now contain the correct URL for either user type

Ryan

Thank you. that worked

Ryan Farley,

Oops.. its not working.. 

the api path for internal users:
https://11007053-demo.creatio.com/0/rest/UsrCwService/CwGetRecordById

external users api path:
https://11007053-demo.creatio.com/0/ssp/rest/UsrCwService/CwGetRecordById

The external path looks good but still giving 404..

Sagar Rodda,

I assume you did also add the attributes to the C# service class and recompile? (Note, those are attributes for the class, not the method)

namespace Terrasoft.Configuration
{
    using System.ServiceModel;
    using System.ServiceModel.Activation;
    using System.ServiceModel.Web;
    using Terrasoft.Core;
    using Terrasoft.Web.Common;
 
    [DefaultServiceRoute]
    [SspServiceRoute]
    [ServiceContract]
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]
    public class UsrSourceCode1 : BaseService
    {
        [OperationContract]
        [WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped)]
        public string SayHelloTest(string Name)
        {
            return "Hello " + Name + "!";
        }
    }
}

Sagar Rodda,

Or can combine as: 

[DefaultServiceRoute, SspServiceRoute]

Ryan Farley,

Yeah, I overlooked the class part.. I added the attributes to methods that's why it was not working.. now its fixed.. thank you so much

Show all comments
Studio_Creatio
8.0

Hello, 

After compiling all (Version 8.3), the following warning occur. How can I resolve them?


BaseVisa.CrtNUI.cs 'BaseVisa_CrtNUIEventsProcess.SendEmail(Dictionary)' is obsolete CS0612 143 
EmployeeSchema.ZSDMAP.cs 'Employee_ZSDMAPEventsProcess.SavingScriptTaskExecute(ProcessExecutingContext)' hides inherited member 'Employee_CrtBaseEventsProcess.SavingScriptTaskExecute(ProcessExecutingContext)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. CS0114 1457

Thanks.

Like 0

Like

2 comments

Hello,

These are base packages, and the warnings do not affect their functionality. The warnings will be removed in future versions once the methods and functions are updated.

Additionally, if you want to disable the C# compilation warnings, you can use the CodeCompilerWarningLevel system setting. A value of 0 will prevent any compilation warnings from being displayed.

Regards,
Orkhan

Hello Orkhan,


Thank you.

Show all comments
CrtNUI
Studio_Creatio
excelcellformat
8.0

I got this error while im compile all. 
How can i solve this issue please ?

Thank you,

Like 1

Like

0 comments
Show all comments
Studio_Creatio
8.0

I don't know why i got this error while compile, anyone can solve this? 

Like 0

Like

4 comments

Greetings!

Did you make any changes to the core (base) packages? Please also inform us of the last actions you performed before you started receiving these compilation errors.

Kindly note that the core packages do not fail compilation by default.

Orkhan,

The last actions what I did is just install product from marketplace (Excel reports builder for Creatio and Image Previews for Creatio) and publish script from business process (the same script already publish in another environment without error). The error appear after publish the script.

Hello,

Could you please share the exact Creatio version of your site?

Andrii Kendzor,

I using 8.3.0.3017 creatio version

Show all comments

We are using OnSaving(object sender, EntityBeforeEventArgs e).
Is there a way to filter the source of the entity change — for example, whether a business process was modified — and get the business process ID?
Or is there a way to filter which changes were made from the UI and which were made by business processes?

Like 0

Like

1 comments

Hi Evgen samoilov,

Inside the OnSaving event, you cannot determine the source of the change.

As a workaround, to understand where your entity was changed from, you can add a column to this entity that will contain information about the save process and read it inside the OnSaving event.

Show all comments
case
support
SharePoint
external
Studio_Creatio
8.0

Good morning,

I am looking to create an external case support page but not interested in creating a web page just to support that. Has anyone used Sharepoint or something similar to do this?

Any other ideas out there?

Like 0

Like

1 comments

You can use Jotform to create a case registration form.
You can check out our blog post for lead registration using Jotform and adjust it for support case registration: https://experceo.com/posts/jotform-to-creatio-webhook--make.com-no-code-integration-guide/

 

Show all comments

hello, i have a problem when using collection of record like this

I want from this collection of record passed by button to BPM to be assigned to different object like for the first object will be assigned to supplier 1 second to supplier 2 etc, it is possible to do that because i only know you can process it one by one

Like 0

Like

1 comments

Hello.

You can use the out-of-the-box functionality to process records differently based on the specified condition. For each record, a separate business process instance will be launched. Within the process, you can configure how the system should identify the required supplier using standard elements. For more detailed information on business process functionality, please refer to the Academy documentation: https://academy.creatio.com/docs/8.x/no-code-customization/category/process-elements-reference

Best regards,
Antonii.

Show all comments
Studio_Creatio
Sales_Creatio
Service_Creatio
sales_enterprise
8.0

Hello Community,

I have a custom Image field (e.g., UsrSignature as shown in Image below ) in Contact object and I want to:

  1. Display the Image field on a page so that users can upload or view images directly from the UI.
  2. And use the image in reports so that it prints correctly as an image in Word files.

I am looking for best practices on:

  • How can I bind an image field to the UI for uploading and on-screen preview?
  • How to include image fields in Creatio reports so that the uploaded images appear as expected.

Any examples, code snippets, or guidance would be highly appreciated.

Thank you in advance!

Like 0

Like

3 comments

Hello,

You can add an image preview to the page using the page designer. For details, see the following article.

To include the image in a printable, refer to this Community post.

Hello Dymytriy Vykhodets,

In this reference Images are not visible.  Community post.

And Thank you for the suggestions. Currently, the UsrSignature field, which uses the 'Image' data type, is not visible on the designer page.(To drag and drop)

I attempted using the 'Image Link' data type field to upload the image and generate the report, but the result was incorrect.

In the image below, you can see the Report Template on the left and the generated report on the right, which shows the image name instead of the actual image.

Thanks for the reply.

 

I found the solution. We can use <Signature Url.Image> to print the image in the report.

Show all comments
FreedomUI
Business Process
pre-configured page
Studio_Creatio
8.0

Hello Creatio Community,

How can I create a dropdown on a Freedom UI form whose options come from an arbitrary object (for example, Contact) and apply a custom filter that uses a page parameter? 

For example, populate the dropdown from Contact, but only show records that match a condition involving a page attribute (via Relationship table where AccountAId is AccountId on the page and ContactBIs is field to populate in the dropdown). What’s the recommended approach? A small code example would be great.
 

Like 0

Like

1 comments

Hello,

You can try to use the Business rules on the page with the static filter or the general one to achieve your goal. Here is an example that may be useful:

Here is the article that also may be useful: https://academy.creatio.com/docs/8.x/no-code-customization/customizatio…

Show all comments

Hello Creatio Support,

I have created a trial Studio instance. I have successfully installed Customer 360. However, after installing “Order and Contract Management” module, I am getting Compilation Error.

On clicking it in detail, it shows below,

 

File Name : CopilotGenerateProductDescriptionUserTask.CrtOrderContractCopilot.cs

Description: 'ICopilotEngine' does not contain a definition for 'GetAvailableIntents' and no accessible extension method 'GetAvailableIntents' accepting a first argument of type 'ICopilotEngine' could be found (are you missing a using directive or an assembly reference?)

Let me know if this is a known issue. Please assist me in resolving this issue.

Like 0

Like

1 comments

Hello!

Please write to us at support@creatio.com and provide external access to the website.

Regards,
Orkhan
 

Show all comments