Hi,

I created a modal which inherits the BasePageV2 to solve my problem with lookup's filtering for simplelookups, but now I am facing problem with trying to close the modal.



I tried BasePageV2's onBackButtonClick, this._closePage(), onDiscardChangesClick and it doesn't close the modal. 

Any workaround/idea?

Like 1

Like

1 comments
Best reply

Hi,

Problem solved.

Since I created a modal base on BasePageV2, it doesn't have a this.close() function by default. 

Solution: Unloading module/modal...MoreLess

Hi,

Problem solved.

Since I created a modal base on BasePageV2, it doesn't have a this.close() function by default. 

Solution: Unloading module/modal...MoreLess

Show all comments

Hi Team,



The onLookupDataLoaded: function(config) is not triggered for a custom lookup field in the object. However, the same is triggering for the OOTB lookup columns.



When the control is passed to the lookup, the onLookupDataLoaded event has to trigger but it isn't triggering for custom/newly created lookup in objects.



Are any additional changes required for new lookup columns added to the object?



BR,

Bhoobalna Palanivelu.

Like 0

Like

1 comments

Hi Bhoobalan,

This method was triggered for the custom lookup added to the page on my side. Are you sure the method is not triggered?

Best regards,

Oscar 

Show all comments

Hi Team,

 I have been using a lookup field and implementing a filter via LookupListConfig.



Here I have an issue in filtering the values.



Step 1: If the logged-in used belongs to the System Administrator role, the filter for the lookup is working fine and it shows the records.

Step 2: If...MoreLess

Like 0

Like

1 comments

Hi Bhoobalan,

Please see this community post regarding the same question about ESQ and access rights - https://community.creatio...MoreLess

Show all comments

Is there a declarative way to display fields from a lookup on an entity's edit page? For example, if I have a Contact record whose Owner field is set and I want to display the Owner's Job Title as a read-only field on the Contact's edit page, is it possible to do without adding some code to th...MoreLess

Like 0

Like

4 comments

I don't know of a declarative way to do this. You'd need this in a few parts:

  1. Add some text virtual attributes to the page and then add those...MoreLess
Show all comments (3)

Hi all,

       I add an attribute which type is LOOKUP to a custom page like this

      attributes: {

                  "ContactId": {

                          "dataValueType": this.Terrasoft.DataValueType.LOOKUP,

                          "type": this.Terrasoft.ViewModelColumnType.VIRTUAL_COLUMN,

                   }

      }

      And then, I want its datasource is Filtered Contacts with condition is "he/she has mobile phone number". I know "lookupListConfig", but can't set Contacts is the datasource. Please help me to do that.

Many thanks

Like 0

Like

4 comments

From where I stay it's much easier to add the "contact" column into the related object and then apply the filtration with a business rule. 

Show all comments (3)