Hi All,
Recently I was trying to create a custom type with "dm_message_archive" supertype.
I tried to create it through Eclipse and DAB but still no luck. I think it is a bug from EMC or whatever.
So I created that object type by DQL and it works.
Now the object type is created, but I was to add some display configuration for that object type.
I tried to create dm_display_config object and dm_scope_config object but it doesn't work..
Here is the query:
create dm_display_config object set object_name = 'Email attributes', set attribute_source = 'tpm_email_msg',
append attribute_name = 'object_name', append attribute_display_hint = 0update dm_display_config object append attribute_name = 'broker', append attribute_display_hint = 0 where r_object_id = '6b001ac680001905'
update dm_display_config object append attribute_name = 'ship_name', append attribute_display_hint = 0 where r_object_id = '6b001ac680001905'
update dm_display_config object append attribute_name = 'rate', append attribute_display_hint = 0 where r_object_id = '6b001ac680001905'
update dm_display_config object append attribute_name = 'route', append attribute_display_hint = 0 where r_object_id = '6b001ac680001905'
update dm_display_config object append attribute_name = 'c_p_date', append attribute_display_hint = 0 where r_object_id = '6b001ac680001905'
update dm_display_config object append attribute_name = 'lay_can', append attribute_display_hint = 0 where r_object_id = '6b001ac680001905'
update dm_display_config object append attribute_name = 'chartering_officer', append attribute_display_hint = 0 where
r_object_id = '6b001ac680001905'
update dm_display_config object append attribute_name = 'hajoco', append attribute_display_hint = 0 where r_object_id = '6b001ac680001905'Object created id: 6b001ac680001905
And then finding dm_aggr_domain for my object type:
select * from dm_aggr_domain where type_name = 'tpm_email_msg'Result: 51001ac680004100
And create the dm_scope_config object:
create dm_scope_config object set parent_id = '51001ac680004100', append display_config = '6b001ac680001905', append scope_class = 'application', append scope_value = 'webtop'
Now I noticed that scope config from the supertype (which is dm_message_archive) is also inherited. But even after creating dm_scope_config object, it still doesn't appear in DAB/webtop/wherever.. (please take a look at the attachment)
We're using CS 6.5 SP1
Anybody please advice what should I do..
Thanks,
Felik