Question

I am experiencing the following issues with Freedom UI Dynamic Case Management:

  1. Tasks for the initial default stage (set using the configuration page) do not show when a new record is created, only showing when the record is saved.
  2. The task window is too small to show the whole task and has to be scrolled to get to the complete button.
  3. The progress bar does not automatically update to the next stage when tasks are complete in the previous stage (although the stage does actually progress, the tasks showing for the next stage, and the progress is correct when re-entering the record).

I'm not sure the Freedom UI is usable if DCM is required unless there is some way of fixing at least 1. and 3.

Like 1

Like

0 comments
Show all comments
Question

I am experiencing the following issues with Freedom UI Dynamic Case Management:

  1. Tasks for the initial default stage (set using the configuration page) do not show when a new record is created, only showing when the record is saved.
  2. The task window is too small to show the whole task and has to be scrolled to get to the complete button.
  3. The progress bar does not automatically update to the next stage when tasks are complete in the previous stage (although the stage does actually progress, the tasks showing for the next stage, and the progress is correct when re-entering the record).

I'm not sure the Freedom UI is usable if DCM is required unless there is some way of fixing at least 1. and 3.

Like 0

Like

0 comments
Show all comments
Question

hello , is there a tool in creatio like adobe reader? that reads the pdf file then store it to database?

Like 0

Like

0 comments
Show all comments
Question

Hey all , 

is it possible to add an attachment column in this expanded list , to add for each invoice an individual attachment.

 

Like 0

Like

0 comments
Show all comments

Hello,

i made a module, in freedom-ui mode, to display custom content in Accounts_FormPage. The module init is triggered with crt.HandleViewModelInitRequest handler.

here is the useful module code :

/* AMD module declaration. */
// jshint esversion: 11
define("UsrAccountHistoriqueProduit", ["@creatio-devkit/common"], function(sdk) {
    //
    return {
        //**--------------------------------- Init module -------------------------------**/
        onInitialized: async function($context) {
            const idAccount = await $context.Id;
            const my = this;
            
            /* Declare the class. */
            class UsrAccountHistoriqueProduit extends HTMLElement  {
                constructor(args) {
                    super();
                    this.displaycontent();
                }
                async displaycontent() {
                    var shadowDom = this.attachShadow({mode: 'open'});
                    shadowDom.innerHTML = "";
                    
                    const html = await my.statsOrderProduct(idAccount);
                    shadowDom.innerHTML = html;        
                }
            }

            /* Register the component. */
            customElements.define('usr-historiqueproduit-view-element', UsrAccountHistoriqueProduit);

            /* Register the web component as a view element. */
            sdk.registerViewElement({
                type: 'usr.CustomViewElement',
                selector: 'usr-historiqueproduit-view-element'
            });

        },
...

It works fine at load of the page, then when viewing a second account, i have this error message : 

ERROR DOMException: Failed to execute 'define' on 'CustomElementRegistry':
the name "usr-historiqueproduit-view-element" has already been used with this registry

i think i can clean up the registered viewElement with the crt.HandleViewModelDestroyRequest handler, but i did not found cleaning method in the sdk objet.
 

How should it be done please ?

 

best regards,

Patrice

Like 0

Like

2 comments
Best reply

Hi Patrice,

 

This error message occurs since the element with "usr-historiqueproduit-view-element" selector was already registered upon first init:

sdk.registerViewElement({
                type: 'usr.CustomViewElement',
                selector: 'usr-historiqueproduit-view-element'
            });

In your onEnityInitialized you need to add additional check if the element was registered in DOM or not (for example as proposed here) and as a result of this check perform registration or not.

Hi Patrice,

 

This error message occurs since the element with "usr-historiqueproduit-view-element" selector was already registered upon first init:

sdk.registerViewElement({
                type: 'usr.CustomViewElement',
                selector: 'usr-historiqueproduit-view-element'
            });

In your onEnityInitialized you need to add additional check if the element was registered in DOM or not (for example as proposed here) and as a result of this check perform registration or not.

Thanks Oleg,
i was not aware of the CustomElementRegistry api, i thaught it was a Creatio thing.

Now i know where the documentation is ! (mozilla.org)

 

Best regards,

Patrice

Show all comments

How to update the SupportEmailBodyTemplate of ContextHelpSchema ?

The Code is a Localizable Strings, I want to update the Value (body) by a custom template. How can I achieve this ?

Like 0

Like

1 comments

Hello Naresh,

You can achieve your goal in a simpler way:

Go to System designer -> find "Translation" -> find key Configuration:ContextHelpSchema:LocalizableStrings.SupportEmailBodyTemplate.Value -> for required localization change data -> click the "Apply translations" button

Show all comments

Hello,

i want to make a custom module to display data in a freedom UI page,

but i can not figure out how to send the Id of the main entity to the module, in a freedom UI page.

 

The page context is sent to the module with the crt.HandleViewModelInitRequest handler, but i don't know how to retrieve id from that context object..

 

is there some documentation i can read about this please ?

 

Regards,

Patrice

Like 0

Like

2 comments
Best reply

Try this: 

const recordId = await request.$context.Id;

Ryan

Try this: 

const recordId = await request.$context.Id;

Ryan

Thanks Ryan, i did not figure $context hold a collection of promises !

Show all comments

Dear mates,

We are adding to Creatio, our contacts from marketplaces with oData.

We are facing the following issue :

data are well integrated into Creatio, but if we look at the contact sheet, in the area on the top left, the telephone professional is not indicated even though it is present in the contact's communications fields. So in the contact details of the account, we do not directly see the contact's telephone number.

 

How can we add the phone to the contacts left panel in order to see the contact's telephone number directly on the accounts page ?

Thank you !

Nicolas

Like 1

Like

1 comments

Hello,

It`s seems to be an issue that our support should take a look. Please send us an email at support@creatio.com

Best regards,
Serhii
 

Show all comments

Dear mates,

i have installed the application "Conducting surveys for Creatio".

when i go to the Interviews edit page of the section wizard, i get the following error :

Page contains items with the same name in the schema source code in different containers. Changes of these items may be applied incorrectly. It can be fixed in the source code.
 
 
The name "undefined" is used by:
- The item with path CardContentWrapper.CardContentContainer.HeaderContainer.Header.GlbQuestionnaireType.undefined
- The item with path CardContentWrapper.CardContentContainer.HeaderContainer.Header.GlbQuestionnaireType.undefined.undefined
- The item with path CardContentWrapper.CardContentContainer.HeaderContainer.Header.GlbQuestionnaire.undefined
- The item with path CardContentWrapper.CardContentContainer.HeaderContainer.Header.GlbQuestionnaire.undefined.undefined
The name "converter" is used by:
- The item with path CardContentWrapper.CardContentContainer.HeaderContainer.Header.GlbQuestionnaireType.undefined.undefined.converter
- The item with path CardContentWrapper.CardContentContainer.HeaderContainer.Header.GlbQuestionnaire.undefined.undefined.converter

how can i fix this issue ?

Thank you !

Nico

Like 0

Like

1 comments

i created two custom objects for GlbQuestionnaire and GlbQuestionnaireType but the error still appears

Show all comments

How to make a field in the expanded list read-only by default or by a condition

Like 0

Like

0 comments
Show all comments