Время создания
Filters

Hello 

I Want to Reload Multiselect contol On page on client side  by executeRequest of type crt.LoadDataRequest

but Cant Find it DataSource name

 

Like 0

Like

3 comments
Best reply

The data source name is [MultiSelectName]_List_Items_DS

So for a multiselect named "MultiSelect_iumwf1c", the data source name is "MultiSelect_iumwf1c_List_Items_DS"

BTW, the best way to find this out is to add a request handler for "crt.LoadDataRequest" and output to console if request.dataSourceName.includes("MyControlName")

Ryan

The data source name is [MultiSelectName]_List_Items_DS

So for a multiselect named "MultiSelect_iumwf1c", the data source name is "MultiSelect_iumwf1c_List_Items_DS"

BTW, the best way to find this out is to add a request handler for "crt.LoadDataRequest" and output to console if request.dataSourceName.includes("MyControlName")

Ryan

thanks but I need to refresh values selected on control not List of Available lookup values

Tomasz Sobkowicz,

I see. It looks like that control works in the same way that the classic multi-select and performs individual inserts/deletes on save rather than bind to a data source. I've not tried to find it in the minified source to see if there's some other request to cause it to reload.

Ryan

Show all comments

Hello;
In my 7.17 version i create a file repository override class and it work correctly
when I try to upgrade to 8,2,1 the FileService core class change and it create fileRepository object based on interface not class (ClassFactory.Get) and it run based method loadFile not override one.
Is it any solution to set the the default class for interface

Like 0

Like

0 comments
Show all comments

The new alliance to deliver AI-native, no-code solutions to help enterprises rapidly scale intelligent automation with ease.

Read more: https://www.creatio.com/company/news/23764

Like 13

Like

Share

0 comments
Show all comments

Hi,

I’m working on a project in Creatio Freedom UI and need some guidance on the following:

1. How to Display a Dropdown of All Business Processes Within a Form Page?

I’d like to add a field in a list that displays a dropdown containing all available business processes. I've tried creating a lookup using VwProcessLib but it throughs an error. Has anyone successfully implemented this? What would be the best approach?

2. How to Create a Button to Add a New Business Process in a Form Page?

I want to add a button that allows users to create a new business process directly from a form page. Ideally, clicking the button would open the Process Designer to start configuring a new process. What’s the best way to do this in Freedom UI?

Any insights, step-by-step guidance, or code snippets would be greatly appreciated! Thanks in advance for your help!

 

Like 0

Like

4 comments

Re #1: I've been able to use VwProcessLib for a lookup of processes successfully (since it's a view I check the "Do not control integrity" option for the lookup). What type of error are you getting?

Re #2: You can call the following: 

Terrasoft.ProcessModuleUtilities.showProcessSchemaDesigner()

Ryan

Thanks for the suggestion! Using VwProcessLib and enabling 'Do not control integrity' worked perfectly. The issue is resolved now—really appreciate your help!
 

As for the second question, I'm new to creatio so I was wondering where I would add the line: Terrasoft.ProcessModuleUtilities.showProcessSchemaDesigner()

Anjali,

That is just Javascript code. You'd add that where ever you're wanting to launch the new process window. I assume you'd be adding a button somewhere, the code that runs on the click of that button would execute that code. If you're using a Freedom UI page, you can see how to wire up the click event of a button here: https://customerfx.com/article/adding-a-button-to-execute-custom-code-on-a-creatio-freedom-ui-page/

Ryan

Thank you!

Show all comments

How do I know what the current app package is?

Thanks,

Like 0

Like

2 comments

The new behavior is Creatio tries to make it's best judgement of where to save things, it doesn't user the Current Package setting. It's not often correct in where it decides to save things IMO and a bit frustrating, so there's really no where to see it because the system will decide differently based on what item you're trying to save. This article shows how to force save a page into a certain application's pacakge or to turn off the new way and revert back to using the Current Package system setting instead: https://customerfx.com/article/reverting-the-behavior-for-saving-pages-in-the-creatio-freedom-ui-designer-to-use-current-package-setting/

Ryan

Thanks Ryan,

we are trying to have App/package structure where one App has all of the objects and then all of the different apps are dependent on the Data from the DB package.

Intention is to deliver independently from data model different apps for different projects ongoing in the customer

This would work fine with classic but now we are running into some question because of this "smart" behavior.

Last example was Creatio added a field in the activity object to link to custom object when we added a list to the page of the custom object

Do you think this approach would fix these issues?

 

Thanks again

Show all comments