7.14_()
Studio_Creatio_()

Hello team ,

if i click on button it will redirect to another section or page 

could you please help me with this code 

please  reply soon

regards ,

uttej

Like 0

Like

3 comments

In order to open another section or page please use the code below:

this.sandbox.publish("PushHistoryState", {hash: "SectionModuleV2/AccountSectionV2/"});

The "hash" parameter is what appears after the ViewModule.aspx# in the url.

Here is an example below. In the example the Account section is opened when "Open Account Section" button is clicked.

define("ContactPageV2", [], function() {

    return {

        entitySchemaName: "Contact",

        methods: {

            onOpenAccountSectionClick: function(){

                 this.sandbox.publish("PushHistoryState", {hash: "SectionModuleV2/AccountSectionV2/"});

            }

        },

        dataModels: /**SCHEMA_DATA_MODELS*/{}/**SCHEMA_DATA_MODELS*/,

        diff: /**SCHEMA_DIFF*/[

             {

                    // Indicates that an operation of adding an item to the page is being executed.

                    "operation": "insert",

                    // Meta-name of the parent control item where the button is added.

                    "parentName": "LeftContainer",

                    // Indicates that the button is added to the control items collection

                    // of the parent item (whose name is specified in the parentName).

                    "propertyName": "items",

                    // Meta-name of the added button.

                    "name": "OpenSecrionButton",

                    // Supplementary properties of the item.

                    "values": {

                        // Type of the added item is button.

                        itemType: Terrasoft.ViewItemType.BUTTON,

                        // Binding the button title to a localizable string of the schema.

                        caption: {bindTo: "Resources.Strings.OpenAccountSection"},

                        // Binding the button press handler method.

                        click: { bindTo: "onOpenAccountSectionClick" },

                        enabled: true,

                        // Setting the field location.

                        "layout": {

                            "column": 1,

                            "row": 6,

                            "colSpan": 1

                        }

                    }

                }

    

        ]/**SCHEMA_DIFF*/

    };

});

 

 

 

i need the same, but for freedomui 

Davit Gharagebakyan,

In the Freedom UI page, if you create a button, you can choose an action to open a specific page. The other way to open a page is described in this article.

Show all comments
7.14_()
Studio_Creatio_()

Hello Team,

In given screenshot actual color of offer release button is blue 

now it's in inactive state 

if status look up is reject it will active 

kindly let me know the process .hoping for a positive reply

 

regards,

uttej

 

Like 0

Like

1 comments

In order to implement enable/disable button functionality please use the "enabled" property of the button. Bind this property to the method that will check some conditions and return true or false.

Please feel free to use the example below. In the example the "Quote" button is enabled when "Category"  is "Enterprise" and disabled in other cases - https://prnt.sc/qrbpql

define("OpportunityPageV2", [], function() {

    return {

        entitySchemaName: "Opportunity",

        methods: {

            onNewQuoteClick: function() {

                this.showInformationDialog("Hello");

            },

            isEnterpriseCategory: function() {

                var result = false;

                if(this.get("Category")){

                    result = this.get("Category").value === "385e1034-b68e-4e45-b3c3-25b164235f99";//Enterprise

                }

                return result;

            }

        },

        diff: /**SCHEMA_DIFF*/[

            {

                "operation": "insert",

                "name": "NewQuoteButton",

                "parentName": "LeftContainer",

                "propertyName": "items",

                "values": {

                    "itemType": Terrasoft.ViewItemType.BUTTON,

                    "style": Terrasoft.controls.ButtonEnums.style.DEFAULT,

                    "caption": {"bindTo": "Resources.Strings.NewQuoteBtn"},

                    "click": {"bindTo": "onNewQuoteClick"},

                    "enabled": {"bindTo": "isEnterpriseCategory"},

                    "classes": {

                        "textClass": ["actions-button-margin-right"]

                    }

                }

            }

        ]/**SCHEMA_DIFF*/

    };

});

 

 

Show all comments

Hi Community!

Is it possible to filter the performer of the business process task with Organizational Role? 

My case is that I need to create the 'Perform Task' element where 'Who performs the task?' field equals ID of User who is assigned to Organizational Role. 

I've tried to read data from the 'User in Role' object but the process failed.

Thanks,

BR Paulina

Like 0

Like

1 comments

Hello,

'Who performs the task?' field takes value directly from "Contact" table so unfortunately it is not possible to display some task for specific role since it can lead to errors when processing this task record by several people. But our R&D team is already working on the possibility of assigning the task to some role.

Best regards,

Oscar

Show all comments
mobile application
7.15_()
Studio_Creatio_()

Hi Community,

How to transfer the custom workplace created using mobile application wizard from one system to another? I transferred using 'export packages to archive' and 'installed applications' section. All the schemas were transferred but when I check in 'Mobile application wizard' the custom workplace is not there.

Like 0

Like

2 comments

Please suggest what object needs to be bind so that it will be part of my package and will be transferred to another system. Thanks

Fulgen Ninofranco,

Hello!



You should bind data for object 

SysMobileWorkplace.



Regards,

Dmytro

 

Show all comments
mobile
7.15_()
Studio_Creatio_()

Hi Community,

In mobile, how we can assign default workplace per user so that after login mobile user don't need to go to Settings->Workplace and change it everytime.

Like 0

Like

3 comments

Hi Fulgen,

To have mobile workplace by default you should go to the system settings -> search for "Default workspace" -> Choose the lookup "Mobile application workspace" -> the field Default value should be filled by the name of the workspace you want to be by default.

Thanks Bohdan,

But I believe this setup will applicable for all users, I want something to be it like per user of per role 

Fulgen Ninofranco,

You can use Access rights tab when setting up a workplace to choose roles.

Show all comments

Hi Community,

Is there available report to Generate Licenses and its Corresponding Users in CRM?

 

Like 0

Like

1 comments

Dear Fulgen,

As for now there is no functionality to export license data via Excel. As a workaround you may use SQL queries and export data via SQL executor and SysLicUser&SysLicPackage tables. 

Best regards,

Angela

Show all comments
change_log
7.15_()
Studio_Creatio_()

Hi Community,

On Change Log, how will I track who enabled the change log and added columns

 

Like 0

Like

1 comments

Dear Fulgen,

There is no mechanism to track who enabled the change log. However, by default it can do only the system administrators. To restrict the users from managing the change log, please use Can clear change log, Access to "Change log" section, View change log operation permissions.

Dean

Show all comments
7.15_()
Studio_Creatio_()

Hi,

I added a detail in a portal section.

I added right permission to portal user for insert new detail.

When a portal user access to the section he can view the detail but he cannot add new item.

If a internal user add a detail, the portal user can't edit the item, the browser show the javascript error below attached

Please, can you help me ?

Like 0

Like

4 comments

    Currently, when the detail is added to the portal, the portal users cannot add the records. This is default application logic. We already had multiple requests from the customers to make this option possible and this idea has been accepted. It will be possible to add the records on the detail on portal in the nearest application releases.

    As for editing existing records, the logic of the portal affects overall detail functionality. It affects the existing records as well. Basically it is not quite possible to use details on portal since they do not have the corresponding records in the SysModuleEntity and SysModuleEntityInPortal to work properly on portal. 

 

Thank you Bohdan!

Bohdan Zdor,

Hello.  Has the ability to add new detail records for Self Service Portal Users been added to the latest version of Creatio?

Hello,

 

The data available for portal users is limited by the [ List of objects available for portal users ] lookup. Only the objects included in the lookup are accessible via the portal UI.

In addition, you should configure your object permissions according to your detail object.

 

Thank you,

Artem.

Show all comments

Hi Community,

In version 7.15.2 where I can find the access to object for external services?

Like 0

Like

1 comments

Dear Fulgen, 

The object name is External Access in the object permissions http://prntscr.com/qgcpjf If you are talking about missing tab in the advanced settings, you can use the operation permission CanUseExternalAccess to add the user who is allowed to access the external services http://prntscr.com/qkdszk and after that select the required permissions for him in the object permissions.

Best regards,

Dean

Show all comments
mobile application
7.15_()
Studio_Creatio_()

Hi Community,

In Mobile App Settings menu, is it possible we can allow user to change their password and language.

 

Like 0

Like

1 comments

Dear Fulgen, 

This is quite complex, task, but here is an idea of how you can do this. 

To add new action to the settings page you would need to create a new module and add it in the mobile application manifest to the CustomSchemas.

The code for adding custom action in the settings page is the following: 

Ext.define("Terrasoft.configuration.action.MyAction", {

    extend: "Terrasoft.core.action.AbstractAction",

  

    config: {

        myMessage: null,

    },

  

    execute: function() {

        this.executionStart();

        Terrasoft.MessageBox.showMessage(this.getMyMessage());

        var mainPageController = Terrasoft.util.getMainController();

        Terrasoft.Router.route("basepage", mainPageController, ["calleridsettingspageview", {direction: "left"}]);

        this.executionEnd(true);

    }

});

// Add action

Terrasoft.sdk.Application.addSettingsAction({

    name: "myItemName",

    caption: "MyMobileCustomSchemaTestActionCaption",

    actionClassName: "Terrasoft.configuration.action.MyAction",

    actionClassConfig: {

        myMessage: Terrasoft.LS["MyMobileCustomSchemaTestActionMessage"]

    }

});



MyMobileCustomSchemaTestActionCaption and MyMobileCustomSchemaTestActionMessage are 2 localizable strings. 

After that you can look what does the onChangePasswordClick in the ChangePasswordModuleSchema schema and implement the same logic in mobile when clicking your action. For changing language you would need to display lookup column of SysCulture object and populate the current user's culture with the result of the selection of this field. 

Show all comments