Hi All,

 

I have a requirement to show a PreConfiguration page only to the set of people confined to an organizational role.



The users with this role coudn't be able to view the page. The page can be able to view when we mapped only to specific contact.



In that case how to attain that requirement. 



Regards,

Adharsh S

Like 0

Like

2 comments

Dear Adharsh,

 

Such pages can be opened only for users. However, you can create a cycle that will read all users and show page to each of them. Also, you can use collections and add the page to sub-process, forward collection of users in role to process. This will create as many pages as users in the role.  

 

Best regards,

Angela

Angela Reyes,

Thanks.

Show all comments

Hi Community,

 

Lot of times I see people talking about asyncValidate method for resolving asynchronous calling issues.

For ex.

 

I understand callback concept in javascript but I found it very difficult to understand the use of callback in asyncValidate base method.

I have gone through BaseEditPage, DocumentPageV2 and many more where base asyncValidate has been implemented, but still I didn't understand how these callback and scope are working here specifically.

 

Can someone refer me to any video/article where someone from creatio(creatio developer) are explaining this?

 

Like 1

Like

2 comments

Hi Akshit,

 

I'm not "someone from Creatio (Creatio developer)", but I'll mention that a page in Creatio has many layers each layer might have fields they need to validate. For example, let's say you customize the Account page and add an asyncValidate. Your customized version of the Account page is a layer on top of the base Account page. If the base Account page also needs to use asyncValidate, there needs to be some way to chain all of these async functions together, so it knows when they are all done and can continue with the save or not. So, when one of the asyncValidate functions complete, it executes the callback so that the next "layer" of the  page can run it's asyncValidate. This is how it chains these async functions together, by passing the callback of the next one to the function, so it can tell the next one when they can run (by executing the callback). Does that make sense?

 

Ryan

Hi Ryan,

 

Thanks, Yes It makes sense : )

 

 

Show all comments

Hi Team,

 

 

Based on the values of  location(lookup) and category(lookup) I want to auto populate Approval Budget, Budget Code & Budget Amount.

 

I need to perform this on frontend by writing code on Edit page.

 

I have tried setValidationConfig but it didn't worked.

 

Is there any other base method which I should used to acheive this ?

 

 

Many thanks!

Like 0

Like

1 comments

Hi Akshit,

 

Please try using this code for your purposes:

 

if (this.get("Location").value == 'YOUR_VALUE' && this.get("Category").value == 'YOUR_VALUE') {
    this.set("UsrApprovedBudget", id_here);
this.set("UsrBudgetCode", id_here);
this.set("UsrBudgetAmount", id_here);
 }

Where id_here is a lookup value id or a string if you have a hard-coded value.

 

Regards, 

Anastasiia

Show all comments

Hi Community,

 

In my case we have two developers and one dedicated development creatio instance.

I want Is it good to create separate workspaces (like we have Default workspace by default) for two developers?

 

Like 0

Like

1 comments

Hi Akshit,

 

It is better to enable development in the file system for the dev-app in case your dev-application is deployed locally or use SVN to commit changes to the app (please note that you need to have some internal task system so to get sure that two developers don't save changes to the same schema at the same time or that two developers compile the app at the same time).

 

Best regards,

Oscar

Show all comments

Dear team, 

we are preparing to upgrade to version 7.16.x, and as stated in update guide before update to versions 7.16.1 and 7.16.2 we are tryin to remove any customization using the MailBee library and the Terrasoft.Mail.SmtpClient class.

I am following the guide to set up email sending using explicit account credentials but receive errors when trying to compile the process

Using of Terrasoft.Mail.Sender and Terrasoft.Core.Factories

Could you please, help me? Which namespase\class should I additionally include?

 

Best regards, Iuliia

Like 0

Like

8 comments

Hello Iuliia,

 

Please also get sure that you are using System.Linq along with Terrasoft.Mail.Sender and Terrasoft.Core.Factories. Also please provide us with your code since the code from the article you've sent works correctly and the process can be published.

 

Best regards,

Oscar

Oscar, thanks for your reply. Yes, I did include System.Linq, and code that I am using is exact copy of the code in example, no deviations. Please, note my current version is 7.14.0 - could this be an issue? I noticed that this guide is not available for documentation for 7.14

Regards, Iuliia

Iuliia Diakiv,

 

Yes, you are right, we've reproduced the same publishing error in the clean 7.14.0 version and double-checked with the developers and this approach is acceptable for 7.15.* versions applications and higher. This approach won't work in 7.14.0 and please update your app to 7.16.4 version so to implement the functionality described in the article.

 

Best regards,

Oscar

Oscar Dylan,

Thanks for clarification. One last question: in the update guide it says 

"Before you update to versions 7.16.1 and 7.16.2 make sure you do not have any customization using the MailBee library and the Terrasoft.Mail.SmtpClient class", so does it mean that in versions 7.16.x using mentioned classes is impossible (e.g. they are removed) or just deprecated? 

I am just wondering whether I will receive error upon trying to update to higher version with the current logic implemented, if those classes were removed completely.

 

Regards, IUliia

Iuliia Diakiv,

 

you need to remove this process from the system since the system compiles itself once it is updated so as a result you will receive a compilation error and the update process will be unsuccessful. To make sure that the update is correct you need to remove the process and compile the app after that. In case you receive no errors (warnings are acceptable) then you can process with an update.

 

Best regards,

Oscar

Oscar Dylan,

sorry, I did not understand your last response. What i am asking is this: are  MailBee library and the Terrasoft.Mail.SmtpClient class completely deleted or just deprecated starting from version 7.16.1?

If they are deleted, I need to delete my currently working code that uses them before version update and then re-setup all processes for email sending from scratch? - this will be really inconvenient.

 

Best wishes, Iuliia

 

Iuliia Diakiv,

 

They were completely removed so that's why the update guide tells to remove using this library and class. You can use the SQL script provided there to find all the processes where they are used and modify all the processes according to the articles that are mentioned there.

 

Best regards,

Oscar

Oscar Dylan,

thank you very much for clarification!

Show all comments

I have a business process that, when in a Case the Assignees Group is set, must send an email to the Manager ot that group.

The Assignees Group is an Organizational Role where we set a Manager User (see image: for "Team Engineering" group the manager is contact "VAR").

Our Business Process must read the Manager of the Assignees Group of the case so we can send an email.

I didn't find the objects to obtain the needed informations in "Read data" elements in our Business Process.

Please.. can somebody help me?

Thank you

Like 0

Like

1 comments

Dear Massimiliano,

 

Due to the system architecture, it is not possible to read this data via the business process. Instead, you can create as many flows as Assignees Groups, specify manager role for each assignee group role and send an email via script task as described here: https://community.creatio.com/questions/send-email-organizational-role-…;

 

Best regards,

Angela

Show all comments

Hi I am getting this error while installing creatio7.16.2 on my local system.

 

 

Please help me to understand the issue!

Like 0

Like

1 comments

Hello,

 

The error usually appears if the server uses old version of the .Net Framework.

Please make sure to update you Windows components. You can find them here:

https://dotnet.microsoft.com/download/thank-you/net472-developer-pack

https://dotnet.microsoft.com/download/dotnet-core/thank-you/sdk-3.1.301…

 

Regards,

Dean

Show all comments

Hello,

I want to add custom button to add new record of case. I added custom button to contact edit page, made onClick event handler and using this function to open add record page of case:

 

_contactObject.openCardInChain({
	"schemaName": "CasePage",
	"operation": "add",
	"defaultValues": [{
		"name": "Contact",
		"value": _contactObject.get("Id"),
		"displayValue": _contactObject.get("Name")
	}]});

It works only when I am on Contact edit page, reload page and clicked my button. or if I entered directly on Contact edit page using url.

 

But if I entered from Contact list page, this function is not working. It shows infinite loader and never stops. If I reload page while loader, it loads add record page of case, exactly what I want.

 

Unfortunately, it doesn't shows any error in console. I tried to debug this function and trace how it works, but at the and, it fires event and I can't understand why its handler not handling it.

 

We are using Bpm Online 7.14.1.935

Like 0

Like

3 comments

Dear Luka,

 

Looks like the issue is related to combined mode Please, try this approach of adding logic to the section and to the page - https://academy.creatio.com/documents/technic-sdk/7-16/how-add-button-edit-page-combined-mode.

 

Best regards,

Angela

Angela Reyes,

we had that problem, but now we added button on ContactPage, so its button and onClick handler works fine. also that function openCardInChain is executed, but there is no result. 

Resolved:

I added property in config param which is passing to openCardInChain function. param is moduleId.

Show all comments

Hi,

 

I am trying to install a package first from frontend in on-site deployed creatio but it does not work. Then I switch to the workspace console option to install the same package but I am getting the below error(please find the attached screenshot).

 

I have tried installing the same package to Creatio trial instance and it gets successfully installed without any issues.

 

Please help me to resolve this issue!

 

It's an urgent requirement for my clients.

 

Many Thanks!

File attachments
Like 1

Like

1 comments

Dear Akshit,

 

I see that there is a similar case registered for our support team. We will investigate the issue in terms of the support team ticket and will reply here in the community thread as well.

 

Regards,

Dean

Show all comments

Hi All,

I have written a PATCH request to consume an Incoming API which contains a two-parameter id and a JSON Request body. I have tried to call the service through postman but I am getting as 404 NotFound response.



 

Via Postman, Passing the parameters,

1) By appending the id to the Url itself, and passing JSON params in the body.

2) By passing the id as a Parameter and body contains request data(JSON)

3) By passing 2 parameters completely in the Body itself 



Kindly help me in fixing this issue!

Like 0

Like

2 comments

Dear Adharsh,

 

Can you please specify if you tried to call the service via browser and were you able to log into the system via postman? 

 

You may also check this article - it should be helpful: https://academy.creatio.com/documents/technic-sdk/7-16/calling-configuration-services-using-postman

 

Best regards,

Angela

Angela Reyes,

 

Thanks for your response. 

The issue got solved. There was a missing of adding the Request Verb in the Handler Mappings in IIS.



Regards,

Adharsh

Show all comments