How to use log configuration and Trend Display in Standard Object
I have been trying to configure log configurations and trend displays in the Standard objects and am facing an issue as follows:
The predefined log configuration(LC) in the Standard object is a Template Aspect and cannot be used for logging in the instances of that object. To counter this I made a new Log Configuration Aspect in the standard object and configured it as per my requirement. Issue is I cannot set the inheritance so that all the instances get this aspect that i created. As a way around I gave it the key of Auto-Instantiate Aspect, which generated the aspect to all the instances and the log configuration started working correctly. However, now when i change anything in the LC aspect in the standard object, the same change is not reflected in the instances. They still remain in the configuraiton with which they were instantiated.
Now as for the trend display, the aspect in the standard object is inherited to all the instances and cannot be edited. How do i do any editing in this aspect? What if i need to pick another property than the ones defined or what to define another template?
Voted best answer
Auto-instantiate is "poisonous".
Inheritance works as long as you do not change the aspect on the instance level. As soon as you change anything locally, e.g. "enable/disable" log the inheritance from the object type will be broken for good (but you are still not allowed to delete on local instance level until you've removed the Auto-instantiate flag on the type, which also removes all still inherited aspects...).
-> Do not use Auto-instantiate for logs.
I recommend using Bulk Data Manager (BDM) to configure logs.
Trends suffer from more or less the same problem; if you absolutely need to be able to change a trend property on instance level and resort to the "writable" auto-instantiate feature, the same thing happens also for trends: the inheritance becomes broken for good and subsequent changes on the type will not propagate to "edited" trends. The best would be if you could perform all settings on the type and use regular (readonly)inheritance.
Trends can also be bulked with BDM.
If you like, you can file a request with your regional ABB sales representative for an enhancement of Auto-Instantiate, e.g. a "Revert to type setting" button on instance level and a "Revert all instances to type setting" on type level.
I'm afraid I can't do so much from a support perspective; market requirements should be driven through the sales channels.
This is desired functionality, First time what you configure will be instantciated to all objects. later any change inside Log configuration aspect will not be reflected. You need to manualy change each and every Log aspects.
You can use BDM to do the change for all Log configuration aspect together.
Log configuration aspect is not fully inherited from Object Types. User allowed to configure without override option.
Within the log configuration you use log templates to create the logs you need. If you change the log template, this change is done in all logs who use this template.
The log configuration is build as instance if you create your object. Afterwards you should be able to edit it (means you can change the the logs inside this aspect) but you have to do it at every object.