Skip to Content

How can I export PowerDesigner Standard Checks info (Values and Labels)?

Is it possible to export the PowerDesigner Standard Checks Values/Labels associated with all columns within a data model? I can see the values in the resulting SQL Server constraints but I need the label information as well.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 31, 2018 at 08:45 AM

    The information you're looking for as held in the ListOfValues property of columns which, for some reason I can't understand, is not available in a list of columns or a list report. It is available via scripts, of course, which means you can make it visible using a 'computed' extended attribute. There are other threads in this forum where I've covered how to create one of these in detail. Create a computed extended attribute in a model extension, and use the following code to compute the value:

    Function %Get%(obj)
       ' Implement your getter method on <obj> here
       ' and return the value
       %Get% = obj.ListOfValues
    End Function

    Add comment
    10|10000 characters needed characters exceeded