15
Hi Microsoft-Team,
we are currently hitting the maximum limit of 80 characters for class names when naming extensions.
Due to your own naming guidelines for extension classes, the name can become very long, otherwise, it would not be descriptive of what it does or contains.
We create extensions as simple and as small as possible.
Here a little example:
Table: HcmWorker
Form: HcmWorker
Data source: HcmWorker_DS
Data source field: HcmWorker.Person
If I want to extend this now, my class names would be like this, following our own naming guidelines:
To extend the table code: HcmWorker_WK_CustomModel_Extension
To extend the form code: HcmWorkerForm_WK_CustomModel_Extension
To extend the data source code: HcmWorkerForm_WK_CustomModel_HcmWorkerDS_Extension
To extend the data source field: HcmWorkerForm_WK_CustomModel_HcmWorkerDS_PersonField_Extension
The last name has 62 characters, so for this example, it works but for any other longer names to extend, this will be an issue.
Why is there a maximum limit for the class name? Can this limit be extended or completely removed?
Best regards!
we are currently hitting the maximum limit of 80 characters for class names when naming extensions.
Due to your own naming guidelines for extension classes, the name can become very long, otherwise, it would not be descriptive of what it does or contains.
We create extensions as simple and as small as possible.
Here a little example:
Table: HcmWorker
Form: HcmWorker
Data source: HcmWorker_DS
Data source field: HcmWorker.Person
If I want to extend this now, my class names would be like this, following our own naming guidelines:
To extend the table code: HcmWorker_WK_CustomModel_Extension
To extend the form code: HcmWorkerForm_WK_CustomModel_Extension
To extend the data source code: HcmWorkerForm_WK_CustomModel_HcmWorkerDS_Extension
To extend the data source field: HcmWorkerForm_WK_CustomModel_HcmWorkerDS_PersonField_Extension
The last name has 62 characters, so for this example, it works but for any other longer names to extend, this will be an issue.
Why is there a maximum limit for the class name? Can this limit be extended or completely removed?
Best regards!
STATUS DETAILS
Needs Votes
Comments
Any news on this? How should we handle that restriction?
Category: Development