Hello Community,

I am currently facing an issue with a model page that contains two lookup fields: one for contact and the other for email. My goal is to allow the user to select an email address associated with the selected contact, not just the primary email, but any email linked to that contact....MoreLess

Like 1

Like

1 comments

It is hard to tell what the issue is based on the code alone, in this situation, it would be better to run a proper debug to see what exactly...MoreLess

Show all comments

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)