Hello,

I am developing a custom UI component using the angular remote module provided by Creatio.

The front-end part will be in the angular project. Now, If I want to call a server action(for ex: from my custom component a button click -> pass the record id to server action -> get the record retrieved and perform more server actions) where should I put that logic and how to call that logic from remote module?

Also, how do I run/debug the remote module during the development?

TIA.

Like 0

Like

5 comments

You would implement the C# code and expose as a configuration service, see https://customerfx.com/article/creating-a-web-service-and-consuming-it-from-client-side-javascript-in-bpmonline/

Then to consume the service from the remote module, you'd use the devkit sdk as shown here: https://customerfx.com/article/calling-configuration-web-services-from-client-side-code-in-a-creatio-freedom-ui-page/

Ryan

Ryan Farley,

Thank you.. If I want to ship this source code along with my package.. I have to put it under Resources as shown in the below image?

Can you also tell me if it is possible to run/debug the remote module during the development?

If I run the remote module using ng serve I am getting below error.
 


core.mjs:6531 ERROR Error: Remote entry with name 'angproject' does not exist
   at AppModule.ngDoBootstrap (app.module.ts:28:23)

bootstrap.ts:7 Error: Remote entry with name 'angproject' does not exist
   at AppModule.ngDoBootstrap (app.module.ts:28:23)

Sagar Rodda writes:

Ryan Farley,

If I want to ship this source code along with my package

You could sync your workspace to Creatio, add it in the package there and then download the workspace back and you'll see it under the Schemas folder. Or you could add it under Files\cs

Got it.. thank you so much.. I'll try it and let you know here how it goes..

Show all comments

I am developing a custom button with the remote module. I created and deployed the component using the clio tool.
When I click on the button, I want to get the object context where this button is placed. 

For example:
if the button is used in the Contact form page then I want to access contact record details(Ex: email, name, type, record id etc..) in the click handler.

If the button is used in the Account form page then I want to access account record details(Ex: name, owner, primary contact, record id etc..) in the click handler.

Can you help me to achieve that?
I have searched in the academy but didn't find an example. Also, I have not found documentation about the apis in @creatio-devkit/common module.

Like 0

Like

0 comments
Show all comments

Hello Community,

 

I would like to switch tabs based on a user action using code in a handler. Is it possible to write code that opens a custom tab on the same page, as shown in the figure below?

 

On button click, I have implemented below code in the handler, but it is not working.

{
        request: "crt.OpenTab",
        handler: async (request) => {
            request.$context.set("SelectedTab", "CustomTab");
            request.$context.set("ActiveTab", "CustomTab");
            request.$context.profile.set("Tabs_SelectedTabIndex_Profile", 2);
        return true;
     }

}

 

Best regards,

Ajay Kuthe

 

 

Like 2

Like

4 comments
Best reply

The attribute you need to set is the [TabControlName]_SelectrdTabIndex_Profile. If you tab control is named "TabPanel_fb0xrup", then the attribute you would set would be:

// select first tab
request.$context.TabPanel_fb0xrup_SelectedTabIndex_Profile = 0;

Note, the indexes are zero based.

Ryan

The attribute you need to set is the [TabControlName]_SelectrdTabIndex_Profile. If you tab control is named "TabPanel_fb0xrup", then the attribute you would set would be:

// select first tab
request.$context.TabPanel_fb0xrup_SelectedTabIndex_Profile = 0;

Note, the indexes are zero based.

Ryan

Also, to clarify, there is no "set" method in Freedom UI pages like there was in classic pages. You will just set and read values from the attributes directly as normal variables.

Ryan Farley,

Yes, it works fine.

 

However, how can I get the index of a particular tab using the Element code in the context? #FreedomUI

 

Ajay,

I am not sure there's a way to get the index at runtime, if there is I've not seen anything yet, but it's possible it's buried somewhere in the $context.

Show all comments

Hi, the Clio team provides the T.I.D.E. release version 1.3.1 with real-time application installation logs during synchronization of the Creatio environment and Git repository.

 

Clio was updated to version 8.0.1.22 and provides support Creatio version up to 8.2.2 releases for command describe to understand the version, platform, and product of Creatio environment

 

// cliogate 2.0.33 and above required
clio describe -e <ENV>

 

P.S:

 

To update clio to latest version

 

dotnet tool update clio -g

 

To update cliogate to latest version

 

// The update Clio required
clio gate -e <ENV>

 

To install the latest version of T.I.D.E.

 

clio tide -e <ENV>
0 comments
Show all comments

The Clio team has released a new version of T.I.D.E.v1.2.9

 

🔧 What’s new?

✅ Fixed dependency issues during installation

✅ Added support for checking out large repositories

 

💡 Quick Guide: How to Load an Existing App to a Git Repo using T.I.D.E.

 

1️⃣ Install T.I.D.E. in your environment:

 

clio install tide -u https://my.creatio.com -l <Login> -p <Password>

 

2️⃣ Create an empty repository on your Git server and generate an Access Token with the required permissions.

 

3️⃣ Open the T.I.D.E. section in Creatio and create a new repository.

 

4️⃣ Click “Link with the application”, select your app, and add a commit message for tracking changes.

 

That’s it! You’re all set! 🚀

 

Try out the T.I.D.E, and let us know what you think! 💬✨ 

0 comments
Show all comments

Hi, Clio team released T.I.D.E. version 1.2.6. In this version, we provide the ability to show the difference between Local and Git copies of composable application.

To update or install T.I.D.E.  use the following command

clio tide -e <MY_ENVIRONMENT_NAME>

 

P.S: In the future release we plan to add an ability to discard changes in the Creatio before committing to the repository

2 comments

Hi clio team, 

Im unable to install this version. When I attempt to install I get an error "Dependent package "AtfDiffComponent" not found"

Ryan

Ryan Farley,

Hello, we will check and fix it, thanks for the report.

Show all comments

 

Clio version 8.0.1.2 provides support for a long time compiling all configuration during CI/CD pipelines via command

 

clio compile-configuration --all -e MyEnv

 

For cases when you want to run additional compilation of your configuration after installing a package, you can use the following command

 

clio install MyPackage.zip --force-compilation -e MyEnv

 

P.S This approach can be useful for ensuring resilient CI\CD pipelines 

0 comments
Show all comments
Discussion

 

Clio will be updated to. NET8 starting from 8.0.1.1. The Creatio platform will be updated to .NET 8 starting from 8.2.1, which will be released in December of this year.

 

In the 8.0.1.1 version, a flag --ts was added to show timestamps in the log messages:

clio ping env --ts

 

Thanks Federico Buffa for submitting a pull request on the Clio GitHub repository!

0 comments
Show all comments

Hi team,

We want to add a button in communication panel through which cases section should open in the side pane ( opens on clicking of buttons in communication panel) through with cases can be created quickly without closing the current section page opened in the tab.

 

We have created button in communication panel but we are finding references to open the page in side pane.

if anyone of you can help on this ,I will really appreciate it.

 

Thanks in Advance

Like 0

Like

7 comments
Best reply

Kashish Shakeel,

For Classic, it's doable, but definitely not as easy (there is not a no code approach for classic shell, only for Freedom shell). If you're using classic shell, best approach is to look at the code for the other panels and duplicate for your needs.

Ryan 

Hello Kashish,

Thank you for your question. First of all, are you using the Shell of Freedom UI in the section from which you are opening the side panel? Secondly, while I believe that creating a case from the side panel is possible, I'm not sure if your logic can be fully implemented. Also, would it be easier to create the case using a modal page in your section?

I'll be happy to assist you and will be waiting for your response.

The Academy refers to those as sidebars and they can be created with no code (more or less) in Creatio 8.1.3 and higher. See https://academy.creatio.com/docs/8.x/no-code-customization/customization-tools/ui-and-business-logic-customization/set-up-a-sidebar

Ryan

Yevhenii Grytsiuk,

 

Thankyou you your reply currently we are using the classic UI,we are not using Shell of Freedom UI in the section.

 

The requirement is to create  a quick access option for creating cases without needing to jump on another page and also in a way that  the information from the current open page can be visible properly as it is going to help in case creation.
 

The best that we thought of was using side panel for case creation while the user can see all information in the current open page.Is there any way you can help me achieve that?

 

 

Yevhenii Grytsiuk,

 

Ryan Farley,

 

Thank you for your reply, we are looking for some information on the same topic in the classic UI.

 

Is there any reference for classic UI? f yes can you please share that information with me?

Kashish Shakeel,

Answering question for Ryan - I am almost certain that, unfortunately not. That's why I was asking if you are using shell or freedom ui. However it is still possible to create a modal/minipage regardless.

Kashish Shakeel,

For Classic, it's doable, but definitely not as easy (there is not a no code approach for classic shell, only for Freedom shell). If you're using classic shell, best approach is to look at the code for the other panels and duplicate for your needs.

Ryan 

Ryan Farley,

 

Hi,

thankyou for your reply we will try to implement customized code.

 

Show all comments

Material Symbols & Icons - Google Fonts

 

Hi!

 

We are excited to announce a new feature in Clio release 6.1.0.37: the Set application icon command! This new command allows you to easily set or update the application icon for your Creatio projects directly from the command line, ensuring your application meets the Creatio Marketplace requirement.

 

Example of using:

 

clio set-app-icon -<APP_NAME> -<ICON_PATH> -<PACKAGE_FOLDER_PATH>

 

Replace <APP_NAME> with the name or code of your application, <ICON_PATH> with the actual path to your SVG icon file, and <PACKAGE_FOLDER_PATH> with the path to the folder containing your application packages.

 

P.S: Set application icon command is compatible with all Creatio versions 8.0+

 

Happy coding!

0 comments
Show all comments