Since these attributes need to apply to all further subclasses I
don't think creating a custom class is a good idea. I have added a few
attributes myself to Base Element without any issues. The time needed
for the attributes to propagate to all existing subclasses depends on
your system and the number of subclasses you have. You still need to
modify the AST forms for the new attributes to be available in the
required classes. 

        Victor.
 On Fri 22/07/11 18:11 , "Alejandro Canon" [email protected]
sent:
  **  v:* {behavior:url(#default#VML);}  o:*
{behavior:url(#default#VML);}  w:* {behavior:url(#default#VML);} 
.shape {behavior:url(#default#VML);}      

        John, 
        Thanks for your recommendation. That custom class you mention should
be a subclass of Base Element (BE), right?  

        I´m asking that because I don’t see how a custom subclass of Base
Element can propagate attributes to all existing subclasses in CDM.  

        I was thinking creating a custom namespace and adding attributes in
BE but stored in custom namespace.  
        Alejandro. 
        DE: Action Request System discussion list(ARSList)
[mailto:[email protected]] EN NOMBRE DE John Doe
 ENVIADO EL: Viernes, 22 de Julio de 2011 12:00
 PARA: [email protected]
 ASUNTO: Re: Adding Custom Attributes to Base Element 
        **    

        Alejandro,   
        I'd recommend you do not add them to Base Element.  Instead create
your own custom Class and add those attributes to that class. 
Otherwise, your next upgrade will be a nightmare.   
-------------------------
        FROM: Alejandro Canon 
 TO: [email protected]
 SENT: Friday, July 22, 2011 10:57 AM
 SUBJECT: Adding Custom Attributes to Base Element  

        **    

        Listers,  
        ARS 7.6.04 SP1  

        CMDB 7.6.04  

        ITSM 7.6.04  
        I need to add about ten (10) attributes (common to all kind of CIs)
to BaseElement.  

        I’ve read some threads (dated about 2009) recommending to NOT ADD
attributes in Base Element Class, because of known errors in Asset –
CMDB Sync process.   

        What’s your experience about that? Understanding CDM Model is
based in CIM Model I think there shouldn’t be problems in adding
fields to Base Element class.  

        Believe me if I’m telling you I’ve reviewed all BaseElement
attributes from BMC.CORE and BMC.AM namespaces and I have no match for
these 10 attributes required.   

        I guess a known issue could be extense time you may have to wait
after saving changes in CDM, because custom attributes in Base Element
must be propagated to all subclasses.  
        Regards,  
        Alejandro 

        _attend WWRUG11 www.wwrug.com ARSlist: "Where the Answers Are"_  
        _attend WWRUG11 www.wwrug.com ARSlist: "Where the Answers
Are"__attend WWRUG11 www.wwrug.com ARSlist: "Where the Answers Are"_ 

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

Reply via email to