on 05-31-2015 6:12 AM
Hello,
We want to abbreviate only the representation term / classword of an attribute. For example, Code abbreviated to CD - but only if it's the last word in the attribute name. I know ERwin and IDA can do this.
Thanks,
Pete
Hello Pete
You can't do this out of the box, as PD doesn't provide a way of managing the parts of entity and attribute names.
You can customise the name-to-code conversion script used by PD. As it says in the help file:
You can enter any valid GTL code (including macros such as .foreach_part, .lowercase, .uppercase, .replace, and .delete), but only the .convert_name and .convert_code macros call a conversion table if one is selected.
For detailed information about GTL, see Customizing and Extending PowerDesigner > Customizing Generation with GTL .
I haven't looked into it myself, but you could probably use .for_each_part to isolate the last word in the name in the Glossary, a file or an extended attribute. The .vbscript macro allows you to embed some VBscript if that's better at the job.
It's worth an enhancement request, I think.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.