Community
Showing results for 
Search instead for 
Do you mean 
Reply

Can't find Act.Framework.Contacts

Tuned Listener
Posts: 17
Country: France

Can't find Act.Framework.Contacts

[ Edited ]

Hi,

I've just begun Act and I can't find Act.Framework.Contacts, I already saw this,

 

http://community.act.com/t5/Act-Developer-s-Forum/How-to-set-a-reference-to-Act-Framework-Contacts/t...

 

But I can't find the dll..

 

An other question I want to make a plugin for Act !

But I can't build because there is no main.

How I have to do?? 

 

Thanks !

New Member
Posts: 1
Country: USA

Re: Can't find Act.Framework.Contacts

Hi

 

You need to add reference: Act.Framework.Contacts

 

In c#:

using Act.Framework.Contacts;

 

Also you cannot directly access the contacts. It is a combination of several ACT table. Example like below:

(I am trying to get a contact loaded with a specific email address. Basically its like I am searching for a contact with their business email. Below is the example)

 

Act.Framework.Lookups.CriteriaColumn criteriaName = theApp.ActFramework.Lookups.GetCriteriaColumn("TBL_CONTACT", "BUSINESS_EMAIL", true);
Act.Framework.Lookups.Criteria[] searchResult = new Act.Framework.Lookups.Criteria[] { new Act.Framework.Lookups.Criteria(Act.Framework.Lookups.LogicalOperator.End, (byte)0, (byte)0, criteriaName, Act.Framework.Lookups.OperatorEnum.EqualTo, senderEmailAddress) };
Act.Framework.Lookups.ContactLookup cLookup = theApp.ActFramework.Lookups.LookupContactsReplace(searchResult, true, true);
contactList = cLookup.GetContacts(null);

 

 

 

Hope that helps!!

 

Cheers,

Haritha

 

Tuned Listener
Posts: 17
Country: France

Re: Can't find Act.Framework.Contacts

The problem was that my dlls were messed up, I don't know why, but i've download a try version,I got the Dll, and know it works !

 

Thanks harithae18 for the reply.