Studio_Creatio
7.18

Hi team,

 

According to this article : https://academy.creatio.com/docs/user/platform_basics/user_interface/command_line/the_command_line

"To include certain section’s data in global search results, open the section wizard for the necessary section and select the [ Indexing for full-text search ] checkbox. Learn more about indexing in the “Configure section properties” article."

 

But I can't see this checkbox on the development instance(7.x latest version) to include the custom sections in global search.

 

But in the trial instance (8.x version) when I open any section using section wizard the check box "Indexing for full-text search" is available.

 

Can you please tell us how can we include our custom sections in global search?

 

Many thanks!

 

Like 0

Like

1 comments

Hello Akshit,

The checkbox will only appear if the global search service is set up for the local environment. See https://academy.creatio.com/docs/user/on_site_deployment/containerized_…

Ryan

Show all comments

Hello everyone,

i got some trouble here and the message is :

Server Error in '/0' Application.
Instance of workspace item with type "Terrasoft.Configuration.TgAcceptanceCoverageAndObjectSchema" cannot be obtained from server metadata
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
 
Exception Details: Terrasoft.Common.NullOrEmptyException: Instance of workspace item with type "Terrasoft.Configuration.TgAcceptanceCoverageAndObjectSchema" cannot be obtained from server metadata
 
Source Error:
 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
 
Stack Trace:
 
 
[NullOrEmptyException: Instance of workspace item with type "Terrasoft.Configuration.TgAcceptanceCoverageAndObjectSchema" cannot be obtained from server metadata]
   Terrasoft.Core.Entities.EntitySchemaManager.InitializeSchema(ISchemaManagerItem schemaManagerItem, Assembly assembly) +221
   Terrasoft.Core.SchemaManagerItem`1.get_Instance() +208
   Terrasoft.Core.Manager`2.GetInstanceByUId(Guid uid) +96
   Terrasoft.Configuration.ConfigurationSectionHelper.InnerGetEntitiesStructure(UserConnection userConnection, IEnumerable`1 entityNames) +4871
   Terrasoft.Configuration.ConfigurationSectionHelper.GetConfigurationStructuresScripts(UserConnection userConnection) +80
   Terrasoft.Configuration.ConfigurationSectionHelper.GetConfigurationScript(UserConnection userConnection) +202
   Terrasoft.WebApp.Nui.ViewModuleHelper.CreateModulesConfigScript(UserConnection userConnection, HttpResponseBase response) +160
   Terrasoft.WebApp.Nui.ViewModule.SetupModulesConfig() +76
   Terrasoft.WebApp.Nui.ViewModule.Page_Load(Object sender, EventArgs e) +171
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +154
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4082

Do you have any idea guys for solve this error? thank you

Like 5

Like

0 comments
Show all comments
Studio_Creatio
7.18

Hi Team,

 

I am following this article here

 

sysadmin = pg_akshitsaxena

password = pg_syspassword

 

public user = pg_newpublicuser

passwrod = pg_password

 

Under the section "Restore PostgreSQL Database" at point 4 when I put the password for sysadmin then it doesn't show me any error but when I perform point no5. then it gives me this error

 

Can anyone help me with this please?

 

 

Like 0

Like

1 comments

Hi Akshit,

 

The issue is with the database user permissions to login to the database. This error message should be addressed to the database administrator.

 

Best regards,

Oscar

Show all comments

Hi Team,

 

I want to set the value of current user logged in to the system in a lookup of contact of a section and as soon as the New button for new record is clicked, the lookup should be already auto-filled with the current user contact name.

 

 I tried using this.set("UsrUserName",CURRENT_USER_CONTACT); but it is not working.Please help me achieve this.

 

Thanks,

 Sarika

Like 0

Like

2 comments
Best reply

Hi Sarika,

 

UsrCurrentContact below is a lookup column referencing the Contacts object:

onEntityInitialized: function() {
				this.callParent(arguments);
				this.set("UsrCurrentContact", Terrasoft.SysValue.CURRENT_USER_CONTACT);
			},

As a result the value is set for the column once the page is opened.

 

Best regards,

Oscar

Hi Sarika,

 

UsrCurrentContact below is a lookup column referencing the Contacts object:

onEntityInitialized: function() {
				this.callParent(arguments);
				this.set("UsrCurrentContact", Terrasoft.SysValue.CURRENT_USER_CONTACT);
			},

As a result the value is set for the column once the page is opened.

 

Best regards,

Oscar

Hi Oscar,

 

Thanks for the response. It works fine

Show all comments

Hi Team ,

 

I'm looking for a solution for a scenario where a user double clicks on the record of a detail with column setup as list view, the record of the connected section should open instead of that detail record page.

 

Please help me achieve this.

 

Many Thanks,

 

Sarika

Like 0

Like

2 comments
Best reply

Hi Sarika,

To do this would would add some code to the detail to change what happens when the row is double clicked. First, add the NetworkUtilities to the modules list at the top of the detail schema, something like this:

define("UsrMyDetail", ["NetworkUtilities"], function(NetworkUtilities) {

Something like this:

editRecord: function(primaryColumnValue) {
    var row = this.getActiveRow(),
        entity = row.get("UsrMyEntityColumn");
 
    if (Ext.isEmpty(entity)) {
        return;
    }
 
    var hash = NetworkUtilities.getEntityUrl("UsrMyEntityName", entity.value);
    this.sandbox.publish("PushHistoryState", {hash: hash});    
}

Ryan

Hi Sarika,

To do this would would add some code to the detail to change what happens when the row is double clicked. First, add the NetworkUtilities to the modules list at the top of the detail schema, something like this:

define("UsrMyDetail", ["NetworkUtilities"], function(NetworkUtilities) {

Something like this:

editRecord: function(primaryColumnValue) {
    var row = this.getActiveRow(),
        entity = row.get("UsrMyEntityColumn");
 
    if (Ext.isEmpty(entity)) {
        return;
    }
 
    var hash = NetworkUtilities.getEntityUrl("UsrMyEntityName", entity.value);
    this.sandbox.publish("PushHistoryState", {hash: hash});    
}

Ryan

Hi Ryan,

 

Thanks for the solution, I tried the below given code and it is working as expected. 

 

 

Best Regards,

 

Sarika 

 

 

 

 

Show all comments
OKTA
SSO
Studio_Creatio
7.18

Hi Community,

 

I am trying to implement JIT when a user is not present. But by default it is creating a user as "Company Employee". Any suggestions how I can identify and create either Company Employee or Portal user based on the response that has been received in the SAML token.

I have followed the following two articles:

  1. Single Sign-On via ADFS
  2. Just-In-Time User Provisioning

 

Thanks,

Sourav Kumar Samal

Like 2

Like

3 comments

Hi All,

 

Can anyone answer on this?

 

Thanks,

Sourav

Dear Sourav, 



I would suggest you to carefully check the web.config file located in the root folder of Creatio. 

In this file you can find the list of login providers (the place where you enabling JIT by the guide):



        <provider name="SsoAuthProvider" type="Terrasoft.WebApp.Loader.Authentication.SSO.SsoAuthProvider, Terrasoft.WebApp.Loader">

          <parameters>

            <add name="UserType" value="General" />

            <add name="UseJit" value="false" />

          </parameters>

        </provider>

        <provider name="SSPSsoAuthProvider" type="Terrasoft.WebApp.Loader.Authentication.SSO.SsoAuthProvider, Terrasoft.WebApp.Loader">

          <parameters>

            <add name="UserType" value="SSP" />

          </parameters>



If you want to enable JIT for portal user you need to make sure that key <add name="UseJit" value="false" /> is added to the block related to the "SSPSsoAuthProvider"

so it looks like:

    <provider name="SSPSsoAuthProvider" type="Terrasoft.WebApp.Loader.Authentication.SSO.SsoAuthProvider, Terrasoft.WebApp.Loader">

          <parameters>

            <add name="UserType" value="SSP" />

            <add name="UseJit" value="true" />

          </parameters>



After that please make sure that SspLogin.aspx is specified in all keys instead of NuiLogin.aspx to make sure that user will get a proper portal cookie in case if you want to use a Service Provider initiated SSO flow to create portal users. 

Also please note that in this case ordinary company employees will have to login via direct link only or use the link to NuiLogin.aspx module if they want to use SSO as well. 



Kind regards,

Roman

Roman Brown,

Does this mean we can only use Jit either for Portal User or for Company Employee user?

 

Regards,

Sourav

Show all comments
Studio_Creatio
7.18

Hi,

 

while filling a record in detail I am getting the below error 

What does this error means?

 

When I tried compiling the site I again get the below error

What does this error means?

 

I don't see any linking between these errors. Can anyone please help?

 

Many thanks!

Like 0

Like

2 comments

The 2nd error is resolved I figured out the reason is that the field name(code) is same as the section name(code).



But I didn't find out the reason of 1st error. 

Hi,

 

As for the first error message, find this Id from the error message in the UI sources in the developer console F12 -> Sources tab -> Search and see which object is returned in ViewModule.aspx when searching for the Id from the error message (like here https://community.creatio.com/questions/how-overcome-item-unique-identi…). Then you need to remove the SysModule record from the system that is related to the object found in the UI sources.

 

Best regards,

Oscar

Show all comments
lodash
Studio_Creatio
7.18

We have concerns about security of lodash module used in client app. As we understand, version 4.17.19 is used in 7.18.5. Do you plan to update it, or can we have an instruction on how to do so. Thanks in advance!

https://www.ibm.com/support/pages/security-bulletin-lodash-versions-prior-41721-vulnerability-powerha#:~:text=Vulnerability%20Details&text=js%20lodash%20module%20could%20allow,arbitrary%20commands%20on%20the%20system.

Like 0

Like

0 comments
Show all comments
DCM_on_Detail
Studio_Creatio
7.18

Hello,



I have a requirement to add a Dynamic Case Management (DCM) for detail on portal. Is there any possible way to achieve this?

Thank you.

Like 2

Like

1 comments

Hello Balaka,

 

Sorry for the delay with the response. Unfortunately, it is not possible to add cases to the detail page because the DCM module is not compatible with the detail page. 



We will create a request for the R&D team to implement functionality to create a DCM in the detail pages as well. 

 

Best regards,

Bogdan

Show all comments
Import
Business Process
Studio_Creatio

We need to import some data to inactivate contacts on a monthly basis. I want to import a contact identifier and then execute a business process to mark the imported contacts as inactive.

 

We have other import needs that also need to execute a business process for each row. 

 

Does anyone know of any utility/marketplace add on that will allow us to execute a bp for each import row?

 

Ideally, it would be great to be able to have a BP system function that would import a file and then process each row, but I'd take a scripted object to read the file in and process each row.

Like 0

Like

1 comments

Hi Marry,



Unfortunately, are no such basic tools for imported records/

 

The only way to achieve your business task is to create a new business process with a start signal with an event that should trigger the signal (Record added / Record modified).



Please note you should enable this business process before the import and disable afer.

 

Best regards,

Bogdan

Show all comments