Время создания
Filters

Hello community,

I'm interested in utilizing the Script element within Creatio. Where can I find reference materials or code samples for C#?

 

Additionally, is there a platform available to compile C# code snippets before directly uploading them to the Creatio Platform (in the Script Task Element)?

Like 0

Like

6 comments

Hello,

 

All available examples of using the code in the script task element can be found here. As for checking the C# code - there is no such platform for business processes script tasks. You can create a code in Visual Studio and check if it works. Then, using the provided article, implement the same functionality in the business process script task.

Is it also possible to create your Standard source code and call those from a script task?  Similar to Process to calculate actual working time in projects on schedule?  

Oleg Drobina,

Thanks for your response. Is it feasible to import Terrasoft packages into Visual Studio? If yes, could you provide the steps to do so ?

keith schmitt,

 

as in OOP you can create an instance of a class and use its methods in the logic of a business process. Use Terrasoft.Configuration in the business process (add it to the process usings in the process settings) and create an instance of your class as SomeClass nameOfTheInstance = new SomeClass().

Ajay,

 

You can enable development in the file system as described here and there won't be a need to manually import packages in the Visual Studio. You will be able to review the code and apply changes to it.

Oleg Drobina,

Is there any video reference available?

Show all comments

Hi community,

I designed a process like following Images in dev site. In Send Email element, I checked "Ignore errors on sending". But Creatio threw error end terminate this process. What is wrong with this? 

Thanks

Like 0

Like

1 comments

Error

 

 

 

 

 

 

 

 

Show all comments

As the title says, we sometimes need to disable buttons while still showing them - something which was easy to do in Classic UI. Is there any way of doing so in Freedom UI? I can't see any examples in OOTB Freedom UI areas, anywhere that does have disabled buttons OOTB are in Classic UI sections (e.g. the "Finish session" button on the System User page on the Access Rules tab when no record is selected).

Like 0

Like

2 comments

Hi Harvey, 

Does it not work to bind an attribute to the enabled property of a button and set as true/false? I've not tried that, but I assume it would work? Have you already tried that?

Ryan

Classic UI buttons have a property 'enabled'
Freedom UI buttons have a property 'disabled'

Show all comments

How do you set a prefix for all schemas? How do you add a new section called "Requests"  with some fields?

Like 0

Like

1 comments

Hello!

 

In system settings search for:

Prefix for schemas and package name

SchemaNamePrefix

 

More detailed information about new section creation can be found in this article: https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/getting-started/first-app/develop-application/create-a-new-section

Another article, that can be useful for you is how to create the custom package:

https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/development-tools/packages/create-a-package

 

Thank you for being an active part of the Creatio community!

Show all comments
Question

Hello community,

 

I couldn't found in the academy documentation on how to use the freedom UI page parameters, can you help me?

 

Like 0

Like

2 comments

Hello,

You can view all the elements of Freedom UI designer by clicking on the link: https://academy.creatio.com/docs/8.x/setup-and-administration/administration/user-and-access-management/user-management/import-users-from-excel

The parameters for each element can be different, depending on which element you are using.

Hi Malika

thank you for your reply

I think the link you shared with me is not related to my question.

I found the answer myself, I was trying to define the virtual column as a page parameter incorrectly, defining it via the code

Show all comments