Community
Showing results for 
Search instead for 
Do you mean 
Reply

Company List View

New Member
Posts: 3
Country: United_Kingdom

Company List View

I can't get my head around this. I've tried several different ways and no matter what I do I can't it to work. I'm trying to update the Company List view in the ACT UI with a list of companies that I have in a CompanyList I have tried quite a few ways. The current way I have is:

 

CompanyList cl = ACTFM.Companies.GetCompaniesByID(new SortCriteria[] { }, guid);
_actApp.ApplicationState.CurrentCompanyList = cl;
_actApp.UICompanyManager.ShowListView();

 

I keep getting an object reference not set to an instance of an object. I would appreciate any input/help into this. I have looked at code samples and other forum posts that have covered this and I feel like maybe I'm missing something tiny but important or that there's a bug somewhere. 

 

 

New Member
Posts: 3
Country: United_Kingdom

Re: Company List View

Update: It was! _actApp wasn't referencing anything. Silly mistake.