05-20-2008 03:10 PM
Microsoft Visual Studio 2008 C# project and item template that will enable you to easily create a Custom
Tables plug-in solution in ACT!, including a custom tab with rows to
enter data in ACT!. This also includes the SDK hands on lab manual from Insights 2008.
05-21-2008 06:05 AM
06-25-2008 06:37 AM
Xavier, and anyone else who is familiar with this Custom Sub-Entity work.
First off - I am running ACT! Premium For Web 10.0.2 on Windows Server 2003, with Microsoft SQL Server.
---I had this same error and problem when I installed the Policies sample.---
I downloaded this custom template, and opened it up in Visual Studio 2008. I located the dlls that are referenced, and added them as my references, and then I followed the instructions in the lab to create the Pets Custom Sub Entity (CSE from now on). I built the .dll file, and installed it.
On starting up ACT!, it asked me for permission to modify the database, and created the tables in the DB. When I open up the Pets tab, it displays the empty table on the first time, or the Pets that I have entered previously. So, it is storing them in the database - it keeps state even if I close out and return. Just looking at it doesn't cause any errors.
When I click Add Pet, it creates the pet, but then errors out with:
Method Not Found: 'DataDescriptorCollection Act.Framework.CustomEntities.CustomEntityList `1.get_FieldDescriptors'.
It then creates the pet and puts it in the table.
I've been doing some debugging, and put in some debug output, and I can trace the problem to the LoadGridData() function in CustomSubEntityTabControl. The error occurs on the line which says:
// Databind the grid to the list of policies.
this.subEntityDataGridView.DataSource = this.bindingSource1;
Now. It doesn't error when LoadGridData() is called upon loading up the tab (i.e. after just clicking it). It errors when LoadGridData() is called to refresh the table after the new Pet has been added. Specifically, it appears to happen when it is called by
customSubEntity.Update(); Although, I'm not entirely sure how that calls it, other than that it does call LoadGridData() somehow.
I will keep working on attempting to debug this. I'm not sure if it's a problem with the sample code, or with the .dlls that I'm using in my Premium For Web version versus whatever version the sample code was developed on.
Thanks for anyone that can help!
-Mike
11-03-2009 11:27 PM
Hi,
As in LAN can i create custom entity in WEB. I found this
custom sub-entities solutions using the ACT! custom sub-entity template:
Act.DevNet.Extensibility.CustomSubEntity. Does it work for Web how much beneficial it is.
Any help is appreciated.
11-08-2009 06:22 AM
Is there a VB version of this template. I am looking for examples of using custom tabs in contact,company, and group views.
Bob Lozinak
12-15-2009 06:13 AM
Hi guys,
Will this work for ACT 2010 premium?
thanks,
Chris
01-27-2010 01:43 AM
Yes ,it wrks for ACT12 also.
02-11-2012 01:23 PM
08-15-2013 07:30 PM
Can anybody help me when using this template? i am using VS2012.
Not sure if the two warnings do matters?
first error is nomal according to the document.
second error is corrected by using: Act.Framework.Contacts.Contact currentContact = this.actApplication.ApplicationState.CurrentContact;
08-16-2013 06:14 AM
The text in the error section is too small for me to read =\
However, based on the fact that it's underlying Contact makes me think there's just a missing using statement.
using Act.Framework.Contacts;
Add that if it's not already there.