How to deactivate generating caption names?

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

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.

1 Answer

+1 vote
answered Aug 21, 2014 by Martin Freki Stradej Skipper developer (74,840 points)
selected Apr 14, 2015 by floeH
 
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}"/>
commented Aug 21, 2014 by floeH (430 points)

I guess you forgot something to add?

commented Aug 25, 2014 by Martin Freki Stradej Skipper developer (74,840 points)

Sorry for that, I have fixed it now.

commented Apr 14, 2015 by floeH (430 points)

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!

...