Hi Team,

 

I'm looking for a solution where the current date can be fetched from the system in edit page code of a section. 

 

I tried using: 

var today = new Date();

var dd = today.getDate();

 

but is not working. Kindly help

 

Thanks,

Sarika

 

 

 

 

 

 

Like 0

Like

1 comments

Hello Sarika,

 

that seems to be regular JS code which works properly independently from the environment. Could you please specify what is exactly not working? It does not generate a number at all? Or it does generate a wrong one? How exactly are you using later this date?

 

Best regards,

Dariy

Show all comments

Hi Team,

 

There is one section  section1 with a lookup Lookup1 and another section section2 that has the same lookup Lookup1. I want to fetch the value of two columns of section1 with the same lookup value that is selected in section2. 

 

Kindly help me achieve this.

 

Thanks,

Sarika

Like 0

Like

1 comments

Hi Sarika,

 

You need to debug the ESQ execution to find the way to get the values needed. Here is the article related to ESQ that can be useful.

 

Best regards,

Oscar

Show all comments

Hi Team,

 

I'm facing the below error while saving the edit page schema.

 

 

Kindly assist in solving the error.

Like 0

Like

1 comments

Hi Sivaranjani,



The most possible reasons for the issue are: 



1) Empty ParentId for the module that the parent should have (you should deploy the OOB DB check with a query)



SELECT * FROM SysSchema

WHERE ManagerName = 'EntitySchemaManager'

AND ParentId IS NULL



set of return values on the box and on the site with the problem. If it is different, then delete such objects from the system (DELETE FROM SysSchema)



2) empty metadata for some object/scheme in the system. 



SELECT Id, CAST (MetaData AS varchar (MAX)) FROM SysSchema

WHERE CAST (MetaData AS varchar (MAX)) = ''



You can also look in the application logs in the Common and Error log files for whether additional information on the generation of statics has been recorded (usually the error should be signed there with details). And you can also directly filter all schemes by the "Has error" filter in the configuration:



 

and see if any objects in the list are returned. If yes, then "Last error message" will be filled on the object in "Properties":

 

and

 

Best regards,

Bogdan

Show all comments

I'm trying to sync activities from multiple email accounts but I'm being prompted that my an account is active.

Like 1

Like

0 comments
Show all comments

Hello community,

 

I am trying to get the organizational roles for a specific user. How to check if the role specified for that user is organizational? 

Like 0

Like

1 comments

You can check the SysAdminUnitTypeValue. 

  • Functional roles have a value of 6
  • Organizational units can have 0 (an organization) or 1 (a department/division in the organization)

If you need code to retrieve a user's roles they belong to, I have an article here with some code you can use https://customerfx.com/article/determining-if-a-user-has-a-specific-rol…

Ryan

Show all comments

Hi,

I'm trying to install add-on from Marketplace (https://marketplace.creatio.com/app/word-pdf-attachment-converter-creatio), but an error occurse in the process of instalation:

2022-03-23 15:20:14,091 Errors and (or) warnings occurred while compiling configuration dll

2022-03-23 15:20:14,091 Autogenerated\Src\GlbAsposePDFHelper.GlbWordToPdfConverter.cs(5,8) error CS0246: The type or namespace name 'Aspose' could not be found (are you missing a using directive or an assembly reference?)

 

Please suggest how solve this issue. Detailed log file is attached.

 

Thanks!

 

File attachments
Like 0

Like

1 comments

Hi,

 

The add-on is only compatible with Creatio 7.15.0 and earlier. We recommend using the following add-on instead: https://marketplace.creatio.com/app/asposepdf-connector-creatio.

Show all comments

Hello community,

 

How can I filter the data of a field in a detail based on a parent's field value.

Example: From the contact list of a detail which contains a stage lookup and a contact lookup, I want to filter only the contacts that have the stage equal to the application stage (parent).

Like 0

Like

0 comments
Show all comments

I have a business process with a preconfigured page that collects a few pieces of data, creates some related entities and then opens an edit page for one of the created records.  Everything runs fine, but after process execution and after the record is loaded in the edit page, I get the message "another user has completed this task".  Nothing is set to run in the background and the process is not set to run as system user.

Any ideas on how to prevent this message from showing or what's causing it in the first place?

 

Thanks -Jeremy

Like 0

Like

1 comments

Jeremy, I have the same issue in 7.18 in a process calling subprocesses and all are for running in the front end. At the end I am opening a record created in the process with some information collected from existing records and from an auto-generated page.  Have you been able to solve this point?

It is not blocking but an extra click for the end user...

Thanks,

Franck

Show all comments

Hello!

 

I have a question regarding system operation permissions. My goal is to find out if the current user has a specific operation permission. In order to do that within a business process, I've used the template from the marketplace with success. I'd like to do the same in client-code, for example in the Javascript code of an object page – ultimately I want to show some specific buttons only if the current user has specific operation permissions.

 

How can I achieve this?

 

Kind regards

Kai

Like 0

Like

2 comments
Best reply

Hi Kai, 



you can use such code in onEntityInitialized method

RightUtilities.checkCanExecuteOperation({operation: "UsrYourOperationPermission"}, function(result) {
		this.set("UsrYourAttribute", result);
}, this);

Then use this Attribute in Business rules or anywhere else.



And use "RightUtilities" in page definition as well:

 

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

Kind regards,

Vladimir

Hi Kai, 



you can use such code in onEntityInitialized method

RightUtilities.checkCanExecuteOperation({operation: "UsrYourOperationPermission"}, function(result) {
		this.set("UsrYourAttribute", result);
}, this);

Then use this Attribute in Business rules or anywhere else.



And use "RightUtilities" in page definition as well:

 

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

Kind regards,

Vladimir

Vladimir Sokolov,

Great, thank you!

Show all comments

Hi Support,

 

On display of Account Page, we need to mask the last 4 digits of the mobile number field. Any idea how we can override the displaying part and put our custom logic to mask the last 4 digits? And masked 4 digits should not also affect the mobile number during saving.

 

Thank you.

Like 0

Like

0 comments
Show all comments