Now that lists have a multi-select feature, how can one access the DataTable_SelectionState for that list and pass it to a BP?  The available button actions don't seem to have an option specific to sections and I'm not yet seeing any samples out there on how to do it in code.  

 

Has anyone tackled this yet?

Like 1

Like

4 comments
Best reply

Hi Jeremy!

 

You can use the following in a request handler for the action buttons for the list - this will return an array of the selected Id values: 

const selectedIds = (await request.$context.DataTable_SelectionState).selected;
// selectedIds will be an array of Id's for any selected records

As for getting them to a process, you could pass in as a string to a param or execute the process separately for each Id. See here for executing a process, if needed. 

More info here: https://customerfx.com/article/getting-multi-select-records-from-a-crea…

Ryan 

Hi Jeremy!

 

You can use the following in a request handler for the action buttons for the list - this will return an array of the selected Id values: 

const selectedIds = (await request.$context.DataTable_SelectionState).selected;
// selectedIds will be an array of Id's for any selected records

As for getting them to a process, you could pass in as a string to a param or execute the process separately for each Id. See here for executing a process, if needed. 

More info here: https://customerfx.com/article/getting-multi-select-records-from-a-crea…

Ryan 

Ryan Farley,

This is exactly what I was looking for.  Thanks Ryan!

This should be available without a line of code.

Franck Lehmann,

 

I believe that's coming in a future update.

Show all comments

Hi everyone, I have a problem with the 360 application in my local instance of creatio.



It's strange because I've already reinstalled it and sometimes it opens the workplace sections (although they are the classic version), logs out, and when I try to enter the form page again, it stays loading in an eternal loop



Like 96

Like

1 comments

Hello,



For a new app on version 8.1, I'm trying to lock up all fields on a page based on the record condition. I have a Locked by field on the record and if the field is empty or different than the current user, I want to make the whole page read only. 



I was able to do that on previous versions by adding some code to the page. At high level I needed to add the  IsModelItemsEnabled attribute and have a "setCardLockoutStatus" method that triggers when the UsrLockedBy field changes. I also need to do a merge operation on the CardContentWrapper to set the generator value to DisableControlsGenerator.generatePartial.



What page code I need to write to accomplish something similar on 8.1? Or can that be accomplished now with no code?



Thanks,

Jose

Like 4

Like

5 comments
Best reply

Hello Jose,

 

The way of locking the whole page you've described is based on using the "CompleteCardLockout" feature. Unfortunately, it is not available to use on the Freedom UI pages. 

However, you may implement it using Page Designer business rules. It is possible to specify a rule that makes all the input fields editable/read-only based on the field value condition, for example:

 

The same approach might be implemented via code using the “readonly” attribute. Here is the example: https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/platform-customization/freedom-ui/customize-page-fields/examples/set-up-the-condition-that-locks-the-field#title-3819-2. You may create one common attribute that will be responsible for locking the fields, though in that case, you should manually add its name to the "readonly" value of every field.

 

Also, you may consider using record permissions instead of the "Locked by" field. This type of permission is based on the record authorship, here are the details: https://academy.creatio.com/docs/8.x/setup-and-administration/administration/user-and-access-management/access-management/record-permissions.

 

Best regards,

Natalia

Hello Jose,

 

The way of locking the whole page you've described is based on using the "CompleteCardLockout" feature. Unfortunately, it is not available to use on the Freedom UI pages. 

However, you may implement it using Page Designer business rules. It is possible to specify a rule that makes all the input fields editable/read-only based on the field value condition, for example:

 

The same approach might be implemented via code using the “readonly” attribute. Here is the example: https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/platform-customization/freedom-ui/customize-page-fields/examples/set-up-the-condition-that-locks-the-field#title-3819-2. You may create one common attribute that will be responsible for locking the fields, though in that case, you should manually add its name to the "readonly" value of every field.

 

Also, you may consider using record permissions instead of the "Locked by" field. This type of permission is based on the record authorship, here are the details: https://academy.creatio.com/docs/8.x/setup-and-administration/administration/user-and-access-management/access-management/record-permissions.

 

Best regards,

Natalia

Natalia Kalynovska,

Thanks Natalia. I do have a lot of fields on the page so I was looking for something like the CompleteCardLockout feature, but business rule will do. Do you know if there are any plans to have that feature on the freedom UI version? It takes some maintenance to keep those rules updated every time fields are added to the page.

Jose Hernandez,

 

We registered such a request for our R&D department, and they will consider implementing this feature for the Freedom UI pages.

Thank you for helping us to make our product better!

Natalia Kalynovska,

This feature would be very useful, definitely miss having that option that we had in Classic UI.

Natalia Kalynovska,

Hi. 
Is there any update on this? Perhaps a roadmap? 

Locking the whole page without this feature is a nightmare.

Show all comments

Hello,



Is there a way or documentation on how to implement/display like the Advance Filter  on a custom tab?









I want to display the filtering function in a custom tab, then save the filtering result to Database and use it in some logic.

Like 0

Like

3 comments

Hello, Solem!

If I've understood you right and you want to add custom options to the advanced filter on custom page - please, read the following article 

https://community.creatio.com/questions/example-createexistsfiltercolumnpath

In another case - please, specify the question and give more details with screenshots if possible.

Best regards, Anhelina!

Anhelina,

 



I appreciate you answering my question.

What I want is to display a filtering in a custom tab, then save the filtering result to Database.

 

Solem Khan Abdusalam,

 

Hello,

 

Unfortunately there is no example of adding such a filter to a custom tab (along with the action handler that will save the selected result in the database). We already have a task for our R&D team to add such a possibility to add advanced filters to details on the page. We will also inform them about this question to prioritize the task.

 

Thank you for helping us in making the app better!

Show all comments

Hi all, 



In the latest updates to Creatio, you can set a datasource for the timeline component, other than the record page. 



However, if you do this, the feed component is still set to the record, which means if someone posts on this, it does not appear on the timeline. I'm not sure if this has been overlooked at development. 



I'm hoping it's possible to do this in the code but have come stuck. 



I have changed the entitySchemaName to "UsrBookings" which has correctly changed the schema. However, I can't seem to change the column which needs to be PDS.UsrBooking 

 

			{
				"operation": "insert",
				"name": "FeedComposer_aweotp0",
				"values": {
					"type": "crt.FeedComposer",
					"classes": [
						"view-element"
					],
					"sortedByColumn": "CreatedOn",
					"data": {
						"uId": "fad7ff3c-73da-a7aa-b7be-48fa49cd0d0d",
						"schemaType": "Feed",
						"sortedByColumn": "CreatedOn",
						"typeName": "crt.FeedComposer",
						"caption": "Feed"
					},
					"primaryColumnValue": "$Id",
					"cardState": "$CardState",
					"feedType": "Record",
					"dataSourceName": "PDS",
					"entitySchemaName": "UsrBookings"
				},
				"parentName": "MessageComposerSelector_uxr8sil",
				"propertyName": "items",
				"index": 1
			},



Any help greatly appreciated!

Like 0

Like

1 comments

Hello,

 

This will be changed in the Freedom UI designer. Thank you for reporting this issue!

 

As for the workaround: the code of the composer should be changed in the following manner (PDS_UsrAccount_x75v5wo should be replaced with the attribute of the column for which the feed should be displayed and new messages saved, "entitySchemaName": "Account" - entity of the section where feed messages should be saved)

"feedType": "Record",
					"primaryColumnValue": "$PDS_UsrAccount_x75v5wo | crt.ToObjectProp : 'value'",
					"cardState": "$CardState",
					"entitySchemaName": "Account",
					"dataSourceName": "PDS"
Show all comments

Dear colleagues,

 

I need to bind my section folder, but at this time it appears no available in Freedom, I saw in documentation https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platfor… and Folders are not available to bind

 

I'm using Creatio 8.1.1

 

Somebody knows some workaround to this?

 

Thanks in advance

Best regards

Julio Falcón

Like 1

Like

1 comments
Best reply

Hello!



Folders are stored in a separated table for each section, [object name]+Folder.

For example, for the contact section, it's ContactFolder.

For sections that were created exclusively in the Freedom UI, folders are stored in FolderTree.

 

Hello!



Folders are stored in a separated table for each section, [object name]+Folder.

For example, for the contact section, it's ContactFolder.

For sections that were created exclusively in the Freedom UI, folders are stored in FolderTree.

 

Show all comments

I'm using the StartNewWithUserConnection function to start a large process in multiple threads. In fact, it turns out that only 5 threads can be launched at the same time, the rest wait for the previous ones to complete and only then are executed. I couldn't find it in the settings or documentation.

Is there a way to increase the number of concurrent threads?

Like 0

Like

3 comments

Hello!



This is configured in \Terrasoft.WebApp\ActorSystem.hocon. In the section /TaskExecutorActor, there is a parameter nr-of-instances = 5.

 

However, these changes can lead to a heavy load on the database or consume the CPU of the web server and result in poor overall system performance.

For example, if you have a dedicated server with, let's say, 32 cores on the web server, it's probably conditionally safe (assuming the database server is also powerful enough) to set it to 32 or even up to %number of cores% * 2.

Thank you, Alona, it helps!

Dmytro Nedilskyi,

Could you please specify what exactly is your business need so we could help you?

Show all comments

I have an application that is going through rapid development iterations.  It would be nice to not have to rebuild the app from scratch every time.  A self-documenting application also appeals to me.

Some feedback on my experience of generating an app and why I say this is still a long way off:

  • Form page lists were not created (i.e., details).
  • Section names and column names have to be specified as valid identifiers (not so much natural language).
  • It’s not possible to set the prefix for an identifier for an app.
  • A progress bar was created for one section that I hadn’t asked for.
  • An email feed that I hadn’t asked for was included on one form.
  • Activities section was included which I didn’t particularly want.
  • Maximum of 500 chars for the text description, which is way too small.
  • All text fields seem to be 250 chars, would be nice to define this when describing the app.
Like 2

Like

1 comments

Hello!

 

We genuinely appreciate the time you've taken to share your insights with us. Your feedback is invaluable as it helps us understand your needs better and allows us to continuously improve our services.

To further investigate the issue you've encountered and address it more comprehensively, we kindly request you to contact our support team via email at support@creatio.com 

 

Thank you for choosing Creatio!

 

Best regards,

Kate

Show all comments

Hi comunity,

 

I've an issue when I work in filedesign mode and git repository.

When I update my local dev environment using "update from file system" I received several error when I run a "compile all" action.

The errors are similar to this:

Type 'xxxUserTask' already defines a member called 'CancelExecuting' with the same parameter types

 

The issue raises because in the Terrasoft.Configuration.Dev.csproj there are more class which contains the same member:

  1. \Autogenerated\xxxUserTask.yyyBase.cs
  2. \Autogenerated\xxxUserTaskSchema.yyyBase.cs

I tried deleting the file nr. 1 from csproj, the build from Visual studio works fine, but if I run the "Compile all" the deleted file appears and the build fails.

Can you suggest me how to solve this problem correctly?

Like 0

Like

2 comments

I found the error.

If I don't set correctly the maintainer on system settings, the "update from file system" action does not work correctly.

Could you please elaborate on the fix you found ?

Show all comments

Hello team,

 

We have enabled Azure AD SSO for our customer. One issue we face is that every time the customer hits the login page, they are required to click on the "Login with Single Sign On" link. Is it possible to auto redirect to SSO (assuming that users are signed in)?



Could you also please let us know if there are any config related changes we need to enable to auto login via SSO?

Like 2

Like

3 comments

We're also facing this same requirement for our client and haven't seen an option for this - would be great to hear if it's possible and if not if it could be added to Creatio.

Harvey Adcock, Shivani,



It is possible. Do you use cloud or on-premise?



BR,

Bhoobalan Palanivelu.

Hi Bhoobalan, it is possible on cloud instances by contacting Creatio to enable it. The implementation isn’t great unless all your users (including dev/admins) use SSO though, as the auto-redirect will be cached meaning you cannot log in using Creatio username and password without using a fresh incognito window every time - it’s quite frustrating. They need to add a link that can always be used to log in via non-SSO means. 

Show all comments