03-21-2011 11:36 AM
Here is a video that might help when trying to customize the Activity Detail page.
01-10-2012 03:01 AM
Very nice video.
However, when adding a new field to the activity table (and updating the activty entity with this field), I am not able to save a new activity object via the "Save"-Business Rule as soon as the new field has a value. If the new field is not touched, saving works fine.
I get the message "Unknown or internal error".
I tested with a standard ID field and a string field, they both behaved the same way.
It's Version 7.54.
Does anybody have a hint what I am doing wrong?
01-10-2012 04:38 PM
Just added a field to Activity and History (and another 14 tables, it's an SBU differentiator). There were 8 Activity forms.....3 or 4 of which were detail screens.....don't forget the .resx resource files.....
Any field added to activity should be added exactly the same to History.
01-11-2012 05:20 AM - edited 01-11-2012 05:21 AM
I have already added my custom field to activity and history table.
The problem exists when I try to save a new activity object and the custom field is filled.
No difference if I save via the activty detail page or coding.
Are there any other tables the custom field has to be added to?
01-11-2012 06:51 AM
If you add a field via architect into a table and use a web installation you have to update the entity in the application architect and build. Other update steps are not nececarry.
You can check it if you select the new field in a quick form in the Data Binding.
01-11-2012 07:29 AM
I have also updated the properties in the AA.
When I create a new activity object, it has the new property.
The only thing is, that saving the new object fails with "internal or unknown error".
01-13-2012 04:21 AM - edited 01-13-2012 04:22 AM
I added my custom entity to the activity properties in order to link an activitiy with this new entity.
Now I wanted to show all activities linked to the custom entity in the activity tab of the custom entity.
I added the custom smart part "Activity\ActivityList" to the page of the custom entity.
In "ActivityList", I change the function "GetKeyId":
private static String GetKeyId(String entityName)
string keyId = "AccountId";
keyId = "ContactId";
keyId = "OpportunityId";
keyId = "TicketId";
keyId = "LeadId";
// custom entity
keyId = "CustomEntityId";
Now, the linked activities are shown in the respective tab.
01-13-2012 06:37 AM
Cool stuff, thanks! When I saw CONTACTID in your code I was hoping that you were storing a list of Contact's who attended the meeting\phone conference\webinar.....