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

Is it possible to set the value of a System setting which has the "Save value for current user" setting enabled for a specified user from C# code, e.g. from a script task? I've found the below code for setting a System setting, but presume that if the checkbox for the above is selected, then it will only set the value for the current user (or the System User if running in the system context):

var settingCode = Get<string>("UsrSystemSettingCode");
var value = Get<string>("UsrSettingValue");
Terrasoft.Core.Configuration.SysSettings.SetValue(UserConnection, settingCode, value);
return true;

 

We need to be able to set the per-user system setting for a specific user (determined by data in the BP in our case) but looking at the (always hard to find) API documentation, it doesn't seem like there's an overloaded version of SetValue that allows you to do so as a specified user - except possibly one that is marked as being deprecated in a much older version:

 

Like 0

Like

0 comments
Show all comments
Question

Hi Everyone,

 

We have created a new report to give us daily/weekly updates about the employees. However, when I am downloading the report it is giving report seperately for each record. However, we want a single report (Word one) with all records together.

 

PS. I know excel gives us single report but excel report doesn't let us customize. We have created a customized word report for this. Thanks! 

Like 0

Like

1 comments

Dear Hassan,

 

Unfortunately, currently, we don't have the ability to generate a report encompassing all records, as the template is configured for individual records.

 

However, as a temporary workaround, you can follow these steps:

 

1) Create a new object, let's call it "Report".
2) Add a lookup column to the "Employee" object, linking it to the "Report" table. Let's name this column "Report Column".
3) Create a record in the "Report" object.
4) Populate the "Report Column" for all employees with the value of this specific entry from step 3.
5) Set this entry as the default for all employees.
6) Create a report within the "Report" object, linking it to the "Employee" table where the relationship is defined as Report.Id = Employee.ReportId.
7) Apply necessary filters to this report and configure the template accordingly.
 

With these steps, we've effectively created an object and a record that encompasses ALL employees within the system. Consequently, when generating a report, all employees that meet the specified filtering criteria within the report's tabular settings will be included.

 

Alternatively, you can export the details to Excel and append a table to the report. However, this approach requires manual adjustments to the printed format.

 

We understand that these solutions may not completely fulfill your requirements. Rest assured, we've already submitted an idea for the development of this functionality, and it's on our radar for future versions of Creatio.

 

Have a great day,

Alina

Show all comments

Hello,

 

Is there a similar way to the following article to add a lookup to a Popup page? I want when the stage of a lead changes to add a popup where I have to select the disqualification reason. 

 

Adding Style to a MessageBox Dialog in Creatio | Customer FX

 

Thank you

Like 0

Like

0 comments
Show all comments

On the heels of rapid growth, Creatio is further reinforcing its global strategy by accelerating expansion in Indonesia. In 2024, Creatio will double down on its investments in the region, significantly extending the local team.  

 

With this strategic initiative, Creatio aims to further strengthen its partner network in Indonesia, and bring the value of no-code to even more organizations in the country. 

 

Learn more!

Like 12

Like

Share

0 comments
Show all comments

Inside the Contact object, I need to show data from a related object: New Custom object.

How can I show this related data on the "Additionnal information" custom tab?

Like 0

Like

1 comments

This was not yet resolved
 

Show all comments