I have added a new attribute through attribute control in the development
menu. When I try to add this new attribute to a container (DynObjc) in
repository maintenance I get the following message:
"The attribute specified is not valid for the object's class. (DynObjc)"
I am developing using Dynamics2, has the method changed for this version to
add new user defined attributes to containers?
Karen Meacham
Product Developer
karenm@proteus-sw.co.uk <mailto:karenm@proteus-sw.co.uk>
****************************************************************************
******************************************************************
This message and any files transmitted with it are confidential. The
contents may not be disclosed or used by anyone other than the
addressee(s).If you have received this communication in error, please delete
the message and notify Proteus Software Limited immediately on 0121 717
7474. The views expressed in this email are not necessarily the views of
Proteus Software Limited. As it has been transmitted over a public network,
Proteus Software Limited makes no representation nor accepts any liability
for the e-mail's accuracy or completeness unless expressly stated to the
contrary. Should you, as the intended recipient, suspect that the message
has been intercepted or amended, please notify Proteus Software Limited
immediately on 0121 717 7474.
****************************************************************************
In the beta version of Dynamics2 I was advised to add the attribute to the
container class attributes which existed in;
Object Control -Dynamic Objects -DLProc.
However, in the new version of Dynamics2 the container level has disappeared
from the DLProc option.
I am trying to add an attribute which will decide whether to add a button to
the toolbar within the container. Where should I now add this attribute?
Karen.
-Original Message-
Sent: Friday, January 10, 2003 10:18 PM
To: dev@icf.possenet.org
Subject: RE: Adding a new attribute to a container
Hi Karen,
You need to add the attribute to the class level first - this is your
highest level. Once added for the class, it will allow you to add it for the
container. I think the message on the More tab is a bit more descriptive.
HTH
Mark Davies
Project Leader
Tel: +27 (0)11 575-1836 (Direct)
Tel: +27 (0)11 575-0099 (Switchboard)
Fax: +27 (0)11 576-2601
Cell: +27 (0)72 287 1254
MIP
2nd Floor, Zone 21
Wrigley Field, The Campus
Sloane Avenue, Bryanston
-Original Message-
Sent: 10 Januarie 2003 03:31
To: dev@icf.possenet.org
Subject: Adding a new attribute to a container
I have added a new attribute through attribute control in the development
menu. When I try to add this new attribute to a container (DynObjc) in
repository maintenance I get the following message:
"The attribute specified is not valid for the object's class. (DynObjc)"
I am developing using Dynamics2, has the method changed for this version to
add new user defined attributes to containers?
Karen Meacham
Product Developer
karenm@proteus-sw.co.uk ****************************************************************************
******************************************************************
This message and any files transmitted with it are confidential. The
contents may not be disclosed or used by anyone other than the
addressee(s).If you have received this communication in error, please delete
the message and notify Proteus Software Limited immediately on 0121 717
7474. The views expressed in this email are not necessarily the views of
Proteus Software Limited. As it has been transmitted over a public network,
Proteus Software Limited makes no representation nor accepts any liability
for the e-mail's accuracy or completeness unless expressly stated to the
contrary. Should you, as the intended recipient, suspect that the message
has been intercepted or amended, please notify Proteus Software Limited
immediately on 0121 717 7474.
****************************************************************************
******************************************************************
IMPORTANT NOTICE ***
MIP has moved to The Campus.
MIP's new address is:
Zone 2
2nd Floor
Wrigley Field
The Campus
Sloane Avenue
Bryanston
The contact number is 011 575-1800
______________________________________
This e-mail may contain confidential information and may be legally
privileged and is intended only for the person to whom it is addressed. If
you are not the intended recipient, you are notified that you may not use,
distribute or copy this document in any manner whatsoever. Kindly also
notify the sender immediately by telephone, and delete the e-mail. When
addressed to clients of the company from where this e-mail originates ("the
sending company ") any opinion or advice contained in this e-mail is subject
to the terms and conditions expressed in any applicable terms of business or
client engagement letter . The sending company does not accept liability for
any damage, loss or expense arising from this e-mail and/or from the
accessing of any files attached to this e-mail.
Hi Karen,
All attributes need to be set against a class (object type) before they can be added to objects. You would thus need to set the attribute you have created against one of the classes that the object inherits from. Where you set it depends on the attribute (how class-specific it is, primarily).
The object type maintenance on the Development menu can be used for this.
This is a change that has come in in V2.
HTH,
Peter
-Original Message-
Sent: Fri 1/10/2003 12:30
To: dev@icf.possenet.org
Cc:
Subject: Adding a new attribute to a container
I have added a new attribute through attribute control in the development menu. When I try to add this new attribute to a container (DynObjc) in repository maintenance I get the following message:
"The attribute specified is not valid for the object's class. (DynObjc)"
I am developing using Dynamics2, has the method changed for this version to add new user defined attributes to containers?
Karen Meacham
Product Developer
karenm@proteus-sw.co.uk
**********************************************************************************************************************************************
This message and any files transmitted with it are confidential. The contents may not be disclosed or used by anyone other than the addressee(s).If you have received this communication in error, please delete the message and notify Proteus Software Limited immediately on 0121 717 7474. The views expressed in this email are not necessarily the views of Proteus Software Limited. As it has been transmitted over a public network, Proteus Software Limited makes no representation nor accepts any liability for the e-mails accuracy or completeness unless expressly stated to the contrary. Should you, as the intended recipient, suspect that the message has been intercepted or amended, please notify Proteus Software Limited immediately on 0121 717 7474.
**********************************************************************************************************************************************
To unsubscribe, e-mail: dev-unsubscribe@icf.possenet.org
For additional commands, e-mail: dev-help@icf.possenet.org
Hi Karen,
in Dynamics 2 you must add the new attribute to the class using the
development menu -> Objects -> Object Type Control. I am not sure if you
need to restart your Dynamics session before you can add the attribute to
objects of that class. In any case you should restart your appserver, as the
appserver caches the class definitions.
You should try to avoid adding new attributes to the standard object types.
You should add a new object type that extends the DynObjc object type and
add (only) the new attribute to that type. Objects from that new type
(class) have derived the attributes from the DynObjc and the new attribute.
HTH,
Mike Fechner
-Ursprüngliche Nachricht-
Gesendet: Freitag, 10. Januar 2003 12:31
An: dev@icf.possenet.org
Betreff: Adding a new attribute to a container
I have added a new attribute through attribute control in the development
menu. When I try to add this new attribute to a container (DynObjc) in
repository maintenance I get the following message:
"The attribute specified is not valid for the object's class. (DynObjc)"
I am developing using Dynamics2, has the method changed for this version
to add new user defined attributes to containers?
Karen Meacham
Product Developer
karenm@proteus-sw.co.uk
****************************************************************************
******************************************************************
This message and any files transmitted with it are confidential. The
contents may not be disclosed or used by anyone other than the
addressee(s).If you have received this communication in error, please delete
the message and notify Proteus Software Limited immediately on 0121 717
7474. The views expressed in this email are not necessarily the views of
Proteus Software Limited. As it has been transmitted over a public network,
Proteus Software Limited makes no representation nor accepts any liability
for the e-mailÂ’s accuracy or completeness unless expressly stated to the
contrary. Should you, as the intended recipient, suspect that the message
has been intercepted or amended, please notify Proteus Software Limited
immediately on 0121 717 7474.
****************************************************************************
Hi Karen,
You need to add the attribute to the class level first – this is your
highest level. Once added for the class, it will allow you to add it for the
container. I think the message on the More tab is a bit more descriptive.
HTH
Mark Davies
Project Leader
Tel: +27 (0)11 575-1836 (Direct)
Tel: +27 (0)11 575-0099 (Switchboard)
Fax: +27 (0)11 576-2601
Cell: +27 (0)72 287 1254
MIP
2nd Floor, Zone 21
Wrigley Field, The Campus
Sloane Avenue, Bryanston
-Original Message-
Sent: 10 Januarie 2003 03:31
To: dev@icf.possenet.org
Subject: Adding a new attribute to a container
I have added a new attribute through attribute control in the development
menu. When I try to add this new attribute to a container (DynObjc) in
repository maintenance I get the following message:
"The attribute specified is not valid for the object's class. (DynObjc)"
I am developing using Dynamics2, has the method changed for this version to
add new user defined attributes to containers?
Karen Meacham
Product Developer
karenm@proteus-sw.co.uk ****************************************************************************
******************************************************************
This message and any files transmitted with it are confidential. The
contents may not be disclosed or used by anyone other than the
addressee(s).If you have received this communication in error, please delete
the message and notify Proteus Software Limited immediately on 0121 717
7474. The views expressed in this email are not necessarily the views of
Proteus Software Limited. As it has been transmitted over a public network,
Proteus Software Limited makes no representation nor accepts any liability
for the e-mailÂ’s accuracy or completeness unless expressly stated to the
contrary. Should you, as the intended recipient, suspect that the message
has been intercepted or amended, please notify Proteus Software Limited
immediately on 0121 717 7474.
****************************************************************************
******************************************************************
IMPORTANT NOTICE ***
MIP has moved to The Campus.
MIP's new address is:
Zone 2
2nd Floor
Wrigley Field
The Campus
Sloane Avenue
Bryanston
The contact number is 011 575-1800
______________________________________
This e-mail may contain confidential information and may be legally
privileged and is intended only for the person to whom it is addressed. If
you are not the intended recipient, you are notified that you may not use,
distribute or copy this document in any manner whatsoever. Kindly also
notify the sender immediately by telephone, and delete the e-mail. When
addressed to clients of the company from where this e-mail originates ("the
sending company ") any opinion or advice contained in this e-mail is subject
to the terms and conditions expressed in any applicable terms of business or
client engagement letter . The sending company does not accept liability for
any damage, loss or expense arising from this e-mail and/or from the
accessing of any files attached to this e-mail.