I have a subprocess that loops the returned records from an API call and adds a new record in a data object. I want to modify the process to check if the record already exists and if so, modify the existing record with the data changes.

Like 0

Like

1 comments

First read the record using whatever Identifier you have on it from the source data. If the record exists the Id value will be a Guid and if it doesn't exist the Id of the record will be Guid.Empty.

So the condition for the update will look like: 

[Id from the Read] != Guid.Empty (this means the Read found the record)

The "else" will proceed to the Add, just make sure you populate some identifying value from the API call that you'll use when you read if the record exists next time.

Ryan

Show all comments

Hi all,

 

Currently when I setup a list, the columns are not taking the full width of the grid. 

They have a fixed size and If I resize the screen columns sizes are not chaning. 

 

Is there any way to setup columns sizes as a % of the list grid width?

Like 1

Like

2 comments

Dear Andreas,

 

For the grid container, the size of one column will always depend on the size of the grid. For example, you have a 100x100 px grid with 2 columns, the grid will be divided into 2, each column taking a half of the space (with spacing specified in settings). You can of course take up a whole space with the element if needed.

 

You can modify the column set up in the grid container with system definer sizes like "small", "medium", "large" in the column spacing for example:

 

 

You can read more about the grid container set up on Creatio Academy: https://academy.creatio.com/docs/8.x/no-code-customization/customizatio…

 

You can also use a flex container for a more flexible set up: https://academy.creatio.com/docs/8.x/no-code-customization/customizatio…

 

Have a great day!

Alina Yakovlieva,

 

Hi Alina,

To clarify, my question was related to the list component, not the layout grid.

As it stands, the list component allows me to manually set the width of each column. However, this width can only be defined using a fixed size (like pixels), not percentages. This fixed sizing leads to two main issues:

  1. On smaller screens: The content doesn't fit the screen width, resulting in the addition of a horizontal scrollbar.
  2. On larger screens: There's excess white space to the right of the last column, as the columns do not expand to use the available width.

My goal is to have the column widths dynamically adjust to the screen size, utilizing percentages to ensure they fill the entire width of the list component, without unnecessary scrollbars or white space.

Is there a way to make the columns within the list component responsive, so that their widths adjust in proportion to the screen size, using percentages instead of fixed sizes?

 

 

Any guidance or suggestions on how to achieve this would be greatly appreciated.

Thank you!

 

 

 

 

Show all comments

Hello community, I'm currently working on creatio 8.09 and I'm trying to make use of the Activity Section for multiple reasons but i don't seem to find where i can add this specific section to any of my workplaces since it doesn't show as an option.







It appears that i have the activity section in my packages since i can make a replace object of it:

Like 1

Like

2 comments

Hello,



For a more detailed analysis of the problem, please contact support via email: support@creatio.com.

 

Hi Raul Mendizabal,



The Activity section is named as "Tasks" in Freedom UI latest versions. You can try to search for tasks section in the frontend.

Show all comments

Hi Team,

 

I am looking to data import for the product section and detail objects using a single excel template. In the contact and account sections, we have the option to import the additional address details.

 

Is that possible to get additional detail objects like this for the product section?

 

Regards,

Kumaran

Like 0

Like

1 comments

Dear Kumaran,

 

Thank you for your question!

 

Allow me to clarify how the import process works. When importing data into Creatio, you are essentially transferring the information from your Excel file into the corresponding database table. Each detail in Creatio corresponds to a different object or database table. Therefore, during an import, data can be inserted into one table or object at a time.

 

Import to Contact/Accounts have custom core logic applied, but all other objects work with logic described above.

 

You can read more about Excel import on Creatio Academy: https://academy.creatio.com/docs/8.x/creatio-apps/creatio-basics/busine…

 

Have a great day!

Show all comments
Question

I am getting the below error during setup local creatio environment.Can anyone help to find the root cause of this error?

Thanks,

Amit Mishra

Like 0

Like

1 comments

Hi All,

 

When I import data, system auto thinks me as the record author. Is there a way to give access right to different organisational/ functional role?

For example, 2 groups of organisational roles: A and B. How can I do the import if part of data set should be seen by A but not B, and vice versa.

 

Really appreciate any advise 

Thanks

Like 0

Like

1 comments

Hello,

 

Currently there is no basic functionality to setup access rights for users dynamically within the import process itself. However, you can use the following alternatives to achieve your business task:

 

Set up record permissions for the needed object based on the record author and then import the records under different users in separate batches based on the role.

For example, import a batch of records that only the role A should get access rights for under user1. Setup the record permissions this way:

If record author is user1, then give access rights to role A.

Then import the next batch of records under user2 and setup the record permissions as:

If record author is user2, then give access rights to role B.

 

Another option is to create a business process that would read data (read a collection of records) and then transfer the data from the records to a subprocess. The subprocesses will then process each record separately (1 subprocess will run for 1 record) and change the access rights (with the help of Access rights element) for these records. However, in such case you need to have a field in this object that would signify what role should get the access rights for which record, based on which the process will determine what rights to give to which record.

Show all comments

Hi,

I want to run a web service on combobox changed event.

What is the syntax of register the handler in the client module file? 

(What do I need to write in viewConfigDiff --> values to execute the handler on the change event?)

 

Thanks,

Smadar

Like 0

Like

3 comments
Best reply

You can see how to respond to the change event here: https://customerfx.com/article/responding-to-an-event-when-a-field-is-c…

Also, for calling the web service see here https://customerfx.com/article/calling-configuration-web-services-from-…

Ryan

You can see how to respond to the change event here: https://customerfx.com/article/responding-to-an-event-when-a-field-is-c…

Also, for calling the web service see here https://customerfx.com/article/calling-configuration-web-services-from-…

Ryan

Thanks! It solved my problem :)

Hello Ahmad Al Najjar,

 

Which one? Can you please provide an example on what specifically is not working?

 

Show all comments

Hi all, 

I'm migrating from Classic UI to Freedom a screen that has an Info button, as described in the following post:



https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/platform-customization/classic-ui/record-page/field/examples/attach-an-info-button

 

How can we do that in FreedomUI?

Like 0

Like

4 comments

Hi,

 

Have you tried the tooltip in the page designer at field level ?

Yes, but how can we format that text?

I'd like to add bullets in the text and breaklines

You can add add HTML to a tooltip in Freedom UI. .

If you need some dynamic content for the tooltip, you can add an attribute and bind it to the tooltip property, then set the tip at runtime by setting the attribute.

Ryan

Awesome! thanks

Show all comments

Hello,

 

what is your experience or recommendation about deleting custom field from the object? 

If some fields were added by mistake and the package was already installed to another evirnoment. Is it ok to delete such field and install the package again? Or should we keep this 'garbage' in the object forever?

 

Thank you!

Like 0

Like

3 comments
Best reply

Hello,

 

You need to remove it from the development website, install the package on the production website, and the package installation mechanism on the production site will detect the differences in objects between what exists in production and what is in the package, and drop them.



Best regards, 

Orkhan

Hello,

 

You need to remove it from the development website, install the package on the production website, and the package installation mechanism on the production site will detect the differences in objects between what exists in production and what is in the package, and drop them.



Best regards, 

Orkhan

Orkhan,

 

is this valid also for all references to the deleted fields like forms, lists, dashboards, reports,...?

I guess the system will not check js and cs code, so that will need to be handled manually, right?

 

BR

Robert Pordes,

No, system will not check. But this is not a problem to remove such fields from the code



Kind regards,

Vladimir

Show all comments

Dear mates,

On the opportunities product page, when I select a product, the price is filled in automatically. However, I've deleted the business rules and scripts on the opportunity product page.

My problem is that this price includes tax, even though the PriceWithTaxes parameter is unchecked in the system settings.

I've set up a script to enter the price excluding tax but from time to time it's the price including tax that appears (probably an asynchronism problem).

I'd like to know where the script that enters the price of the opportunity products on the page is and how I can change the behaviour.

 

Thank you !

Nicolas

 

Like 0

Like

1 comments
Best reply

Finally we found the problem: the OpportunityProductPageV2 source page in the Opportunity package contains a method that calculates the price of the product including VAT: calculatePrice.

I've overridden the method and the problem is solved.

I thought that creating the OpportunityProductPageV2 page in the Custom package replaced the view model, but in fact it's an extension.

Sorry for the inconvenience.

 

Finally we found the problem: the OpportunityProductPageV2 source page in the Opportunity package contains a method that calculates the price of the product including VAT: calculatePrice.

I've overridden the method and the problem is solved.

I thought that creating the OpportunityProductPageV2 page in the Custom package replaced the view model, but in fact it's an extension.

Sorry for the inconvenience.

 

Show all comments