Home Documentation Download Pricing Buy Now

How to deactivate generating caption names?

0 votes

Would be awesome to deactivate generating caption names when creating associations. We are using a ORM design with more than 600 tables/entities and reading caption names in this model is quite impossible. So we are always removing the caption names. Would be great to deactivate this feature optionally by global settings.

asked Aug 21, 2014 in Feature Request by floeH (430 points)

1 Answer

+1 vote
 
Best answer

This can be disable in configurations/templates.

Locate your configurations folder:
%installation_directory%\Configurations\Frameworks\

Locate the configuration for your framework:
framework.dfg

And locate and remove template for association caption, it will look like this:

<association caption="{entity-inverse#CFU} {entity-owner#CFU}"/>
answered Aug 21, 2014 by Martin Freki Stradej Skipper developer (74,840 points)
selected Apr 14, 2015 by floeH

I guess you forgot something to add?

Sorry for that, I have fixed it now.

Found configuration file in /Applications/Skipper.app/Contents/Resources/Configurations/Frameworks and looked into Doctrine2.skipper.cfg.xml to find that settings:

<template element='association' use-case='create'>
    <association inverse-alias="{entity-inverse#CFL}" owner-alias="{entity-owner#CFL}" caption="{entity-inverse#CFU} test {entity-owner#CFU}"/>
</template>

Removed value of caption. Works like a charm! Thanks!

...