Hi community,

We want to set the default currency in the Opportunity Mini Page (front end event), based on the Org Role of a user (oob functionality is based on the Base Currency system setting).

Is there any code implementation of a similar request ?

Sasori

Like 0

Like

2 comments
Best reply

Hello Sasori!

1) Add MultiCurrencyEditUtilities module as a dependency to your minipage schema. Example:

define("OpportunityMiniPage", ["MultiCurrencyEditUtilities"] ...

2) Add MultiCurrencyEditUtilities as a mixing to the minipage schema. Example:

...
mixins: {
  MultiCurrencyEditUtilities: "Terrasoft.MultiCurrencyEditUtilities",
  ...

3) Instead of using roles check you can use operation permission check. To use it you need to add RightUtilities module as a dependency to your minipage schema. Example:

define("OpportunityMiniPage", ["RightUtilities"], function(RightUtilities) { ...

4) Use the following methods in your minipage:

...
onEntityInitialized: function() {
  this.callParent(arguments);
  this.checkCurrencyForUser();
},
checkCurrencyForUser: function() {
  RightUtilities.checkCanExecuteOperation({
  operation: "NeedToUseEuro"
}, function(result) {
  if (result) {
    var euroId = "c0057119-53e6-df11-971b-001d60e938c6";
    this.onCurrencyMenuItemClick(euroId);
  }
 }, this);
}
...

The logic above will check if the user has access to the "NeedToUseEuro" operation (or this user role has access to the operation) and if so we will call the onCurrencyMenuItemClick method and pass euroId as an argument (see the onCurrencyMenuItemClick method signature in the MultiCurrencyEditUtilities module).

c0057119-53e6-df11-971b-001d60e938c6 is an Id of the "Euro" currency from the "Currency" table in the database. All you need to do is:

1. Correctly specify operation permissions (check if your user is not in several roles that are used in different operation permissions check)

2. Correctly setup a chain of operation permissions checks in the context of the checkCurrencyForUser method execution

P.S. Article about adding a multi-currency field: 

https://academy.creatio.com/docs/developer/interface_elements/record_page/field/overview#case-1915

Hi community,

Any update ?

Sasori

Hello Sasori!

1) Add MultiCurrencyEditUtilities module as a dependency to your minipage schema. Example:

define("OpportunityMiniPage", ["MultiCurrencyEditUtilities"] ...

2) Add MultiCurrencyEditUtilities as a mixing to the minipage schema. Example:

...
mixins: {
  MultiCurrencyEditUtilities: "Terrasoft.MultiCurrencyEditUtilities",
  ...

3) Instead of using roles check you can use operation permission check. To use it you need to add RightUtilities module as a dependency to your minipage schema. Example:

define("OpportunityMiniPage", ["RightUtilities"], function(RightUtilities) { ...

4) Use the following methods in your minipage:

...
onEntityInitialized: function() {
  this.callParent(arguments);
  this.checkCurrencyForUser();
},
checkCurrencyForUser: function() {
  RightUtilities.checkCanExecuteOperation({
  operation: "NeedToUseEuro"
}, function(result) {
  if (result) {
    var euroId = "c0057119-53e6-df11-971b-001d60e938c6";
    this.onCurrencyMenuItemClick(euroId);
  }
 }, this);
}
...

The logic above will check if the user has access to the "NeedToUseEuro" operation (or this user role has access to the operation) and if so we will call the onCurrencyMenuItemClick method and pass euroId as an argument (see the onCurrencyMenuItemClick method signature in the MultiCurrencyEditUtilities module).

c0057119-53e6-df11-971b-001d60e938c6 is an Id of the "Euro" currency from the "Currency" table in the database. All you need to do is:

1. Correctly specify operation permissions (check if your user is not in several roles that are used in different operation permissions check)

2. Correctly setup a chain of operation permissions checks in the context of the checkCurrencyForUser method execution

P.S. Article about adding a multi-currency field: 

https://academy.creatio.com/docs/developer/interface_elements/record_page/field/overview#case-1915

Show all comments

Hi dear community,

We have created a new Freedom UI section in the mobile. We want that a specific 'Field Group' is hidden permanently.

We dont want to delete this field group from the wizard because this would change the positioning of the elements in the layout.

Is there any specific code we have to insert in the Manifest or RecordPageSettings schemas.

Sasori 

Like 0

Like

3 comments

Hi Community,

Any update regarding this topic.

Sasori

Hello Community,

Any update?

Sasori

Hi,

The "Feild Group" doesn't have the property "visible" so it cannot be hidden. In your case, it would be better to delete it and then change the position of the needed elements manually in the RecordPageSettings schema.

Show all comments

Is it possible to set certain business requirements on Dynamic Case Management, for example to require that certain fields are populated or that a lookup field is one of a selection of values?

Like 0

Like

3 comments

To be clear, as I think I might not have been initially, is it possible to have manual transitions with transition requirements, as opposed to automatic transitions when certain conditions are met.

Hello,



"Manually" you can go both to the previous and subsequent stages from the current one, except when there is a mandatory task, in which case you can only go back (to the previous stages) without completing the task. More detailed information is provided at our academy in the block "Dynamic case setup (DCM)":

 https://academy.creatio.com/docs/user/bpm_tools/dynamic_case_setup

Hi Malika, thanks for your reply. I think the options for mandatory tasks is quite limited though right? As it doesn't enable transition requirements like I put in my original question - requiring that certain data requirements are met, such as certain fields being populated or lookup fields contain certain values etc. Unless I'm missing something in the academy documentation you linked to me?

Show all comments

We are trying to set up a default case in DCM for our Leads, but I cannot see a way to achieve this with the GUI editor - we can either specify some other set of values for the "Which column determines which case to use with a record?" column, or can specify that that column is not filled in, but our use case is such that it should choose this default case when either the column is not populated or the column is populated by any values not specified in other Cases' filters. Can this be done in some way I'm missing?

 

Thanks in advance.

Like 0

Like

2 comments

Hello,



Unfortunately, the desired behavior cannot be configured in such a way out of the box. You can only use a set of values for the "Which column determines which case to use with a record?" column or can specify that that column is not filled in separately on standard DCM tools.



We believe that default case managing can be achieved by means of development.



Thank you.

Hi Serhii, do you know what sort of development this would entail? I tried modifying the case's metadata in a trial environment using a filter generated by adding a static filter to a data list, but the case management designer failed to load properly when I'd done that and the Lead that would match the modified query didn't have any DCM bar against it when I loaded it, so it didn't seem to work.

 

The only other thing I can think of would be to have an additional redundant field that's based on the column(s) that are wanted (and automatically gets updated as they do) that stores the Case required, but it's not the most elegant solution. Would be nice to hear if there is some method I've not thought of?

 

Thanks,

Harvey

Show all comments

Hi, in the Freedom UI currency fields, there doesn't appear to be any display of the currency being used or any ability to switch to an alternative currency. I've got more than one currency in the [Currencies] lookup, but the number field just appears to be a regular decimal field for data entry and viewing. I cannot find any details or guides on this in the Creatio Academy besides one article about adding a currency field that doesn't end up having the currency shown or assignable when following the guide in 8.0.10 or 8.1: https://academy.creatio.com/docs/user/nocode_platform/element_setup_examples/fields_and_inputs/number_field/set_up_a_number_field

 

We need a field that can be set to different currencies depending on the account.

 

Any help greatly appreciated.

Like 0

Like

1 comments
Best reply

Hello Harvey, 



Thank you for bringing our attention to this. 

We have contacted our R&D team regarding this matter. 

Indeed, the field currently appears as an ordinary number field without any additional logic added. 

However, they have a task being already created to improve this functionality in future releases. 

In one of the minor releases of 8.2 to be precise. 



Kind regards,

Roman

Hello Harvey, 



Thank you for bringing our attention to this. 

We have contacted our R&D team regarding this matter. 

Indeed, the field currently appears as an ordinary number field without any additional logic added. 

However, they have a task being already created to improve this functionality in future releases. 

In one of the minor releases of 8.2 to be precise. 



Kind regards,

Roman

Show all comments

Hi Community,

The normal behaviour of a MiniPage in Freedom UI, is that after filling the data and saving, the Section List Page is opened.

We want that after the Clicking Save on the Mini Page, the created record (Form Page) opens.

How can this be acheived ?

Sasori

Like 0

Like

3 comments

To accomplish this you’ll need to add a handler for the save event, see https://customerfx.com/article/adding-code-to-the-save-event-of-a-creat…

Then in that handler you can open the edit page. See https://customerfx.com/article/adding-code-to-the-save-event-of-a-creat…

Ryan

Thank you very much for the very useful information Ryan.

You have provided the same link both times.

Did you intend to insert a separate link for the handler that opens the Edit Page ?

Sasori

Sasori Oshigaki,

 

It will either be this link if you want to open the standard edit page form for the entity, taking into account any rules you have in place for which form gets opened: https://customerfx.com/article/opening-an-edit-page-to-add-or-edit-a-record-via-code-in-a-creatio-freedom-ui-page/

 

Or this link if you want to be able to specify a particular edit page for the entity (i.e. if there are multiple edit pages and you want to open a specific one different from what would be opened based on the rules you set up for some reason): https://customerfx.com/article/opening-an-edit-page-to-add-or-edit-a-record-via-code-in-a-creatio-freedom-ui-page/

 

Show all comments

Hi Community,

Can you please provide us a similar example about the attribute that is used for the page title ?

We would like to create a Label, that is based on an attribute (dynamic values) and not on static text.

 

Thank you

Sasori

Like 0

Like

2 comments

Hi all,

 

I have a client who uses an unlimited multi-line text field in a detail and they would like to be able to see Line-breaks in the tile view of said detail.

 

Detail page view





Detail tile view

Is this possible?

Nb. We are using version 8 of creatio and the Freedom shell but the not Freedom pages.

Like 2

Like

2 comments
Best reply

Hello,



Unfortunately, it is impossible to implement line breaks in the tile view of a detail with basic tools. However, you can try to accomplish this task with the help of development.



A task has already been registered in our R&D team to consider and implement such a feature in future releases. Thank you for helping us to improve our product.

Hello,



Unfortunately, it is impossible to implement line breaks in the tile view of a detail with basic tools. However, you can try to accomplish this task with the help of development.



A task has already been registered in our R&D team to consider and implement such a feature in future releases. Thank you for helping us to improve our product.

+1 priority for this feature

Show all comments

Hi Comunity,

We have a lookup (Contact) in a custom Section. When the modal page of the Contact opens we would like another default field and not the 'Full Name' to be the default one

Example:

How it is :

How we would like it to be:

How can this be achieved ?

Sasori

Like 0

Like

3 comments
Best reply

Hello!

 

Unfortunately, it's impossible to make such a change with basic tools, only by development. 



We've registered it in our R&D team backlog for consideration and implementation in future application releases.

 

Examples of the implementation of your task are available here https://community.terrasoft.ua/questions/sdelat-mobilnyy-telefon-standa….



Best regards,

Mariia

Hi Community,

Any update ?

Hello!

 

Unfortunately, it's impossible to make such a change with basic tools, only by development. 



We've registered it in our R&D team backlog for consideration and implementation in future application releases.

 

Examples of the implementation of your task are available here https://community.terrasoft.ua/questions/sdelat-mobilnyy-telefon-standa….



Best regards,

Mariia

Thank you very much Mariia!

Show all comments

Hi, can PDFs be printed using Printables? Or, is there another way to print PDFs?



There was a post that this was disabled in 7.14, but was coming back.

https://community.creatio.com/questions/ms-word-printable-template?_gl=….

It was possible using FastReports, but this has been retired in 8.0.3.

Like 1

Like

6 comments
Best reply

Hello,

 

As of now, the PDF conversion functionality is not available in the ootb version of the system.



Currently, we can recommend using the PDF conversion feature in MS Word by using the "Save As" option.



As a workaround, if it is necessary to prevent users from making changes to the PDF file after exporting:

You can upload a Word file with a password for modifications as a template for the printable. This way, the necessary data will be included in the file, but it will not be possible to make changes without knowing the password.



Additionally, we can suggest an alternative approach:

Use the marketplace addon "Aspose.PDF connector for Creatio" - https://marketplace.creatio.com/app/asposepdf-connector-creatio



Best regards,

Yuliya

Hello,

 

As of now, the PDF conversion functionality is not available in the ootb version of the system.



Currently, we can recommend using the PDF conversion feature in MS Word by using the "Save As" option.



As a workaround, if it is necessary to prevent users from making changes to the PDF file after exporting:

You can upload a Word file with a password for modifications as a template for the printable. This way, the necessary data will be included in the file, but it will not be possible to make changes without knowing the password.



Additionally, we can suggest an alternative approach:

Use the marketplace addon "Aspose.PDF connector for Creatio" - https://marketplace.creatio.com/app/asposepdf-connector-creatio



Best regards,

Yuliya

Is there a plan to reinclude PDF exports OOTB at some point ?

 

Yuliya Gritsenko,

Yuliya, thanks for the response  That's frustrating...hope it will be added back soon.

Raoul,

Hello,

 

We have registered an idea and forwarded it to the corresponding R&D team for further review.

Unfortunately, there is no exact ETA as of now.

 

Best regards,

Yuliya

Yuliya Gritsenko,

Thank you.

Yuliya Gritsenko,

 

 

I've tried to use that marketplace extension following all the steps but I get an error when trying to generate a printable in PDF format. Do you know if there is any incidence or recent bug with that extension?



Regards

Show all comments