Quantcast
Channel: SCN : All Content - SAP PowerDesigner
Viewing all 638 articles
Browse latest View live

PowerDesigner doesn't respect dependencies between objects when generating script

$
0
0

Good afternoon,

 

I'm getting very frustrated trying to do something that should be 'by default' or easy to configure within PowerDesigner 16.5 working with a SQL Server 2008 R2 database.

 

I reverse-engineered a database into a physical model for modifications and I want to generate DDL from the physical model.   I've worked around some issues including how to support SQL Server filtered indexes and a few others things. 

 

However a really stupid think that I have not been able to figure out is how to have the script respect dependencies between objects in the model.   When looking at the model at the Dependencies table the dependencies seem to be in place correctly.   But when I choose the 'Generate Database...' menu item to generate a single script to create all of the objects within a database it does create them all but in alphabetical order which does not work because there are dependencies between objects (views, in particular) that requires specific views to be created in a different order depending on their dependencies.

 

Most tools understand the dependencies and create a script that will work.

 

How can I generate a database script from PowerDesigner that respects the dependencies between the objects (in this case between different databse views) so they get scripted out in the correct order.

 

Thanks much,

 

Don


My view queries get reformatted

$
0
0

When I enter a query when defining a view in a physical model, PowerDesigner sometimes decides to reformat my query, such that I have a very hard time understanding it. How do I switch that feature off? This seems to have started after upgrading from 15.1 to 16.5. We always enter queries by hand and never use the SQL builder.

I can´t resize diagrams in Power Designer Portal

$
0
0

Hello, i am having problems on diagrams visualization on explorer or google chrome... Even when i display the diagrams in Chrome, wich has native support for svg, i can´t resize the diagrams. Do you people eventually know other way to see the power designer portal diagrams, or even a way to save it and export to pdf? Thanks in advance.

Unable to check large model into SQL Server repository via Proxy

$
0
0

I have a model that has over 1000 changes (probably) and I am unable to check the model into a repository on SQL Server 2008R2.  We have a proxy service running, and in general the check-in process is much better via the proxy than direct connect.  But for a model with "a lot" of changes, the check-in process never completes.  I have let it run overnight and it still does not complete.  The SQL Server DBA also reports a large "blocking" query running from the PROXY service to the database server when this process seems to "hang".

 

Has anyone else encountered this behavior?  I have had a support ticket open for over a year on this one, with no solution, so I was curious if anyone else found a way to resolve it. (other than avoid "making a lot of changes".

Change-, Future-Request-List with processing status

$
0
0

Hello,

 

Iam a "newby" ofPowerDesigner since January 2014.

Can anyone tell me,where I can finda list of openCR's/ FR's?

 

I can see my reportedcases, but I can't see the open CR's/FR's to show me the processing status.

 

 

Thanks and regards,

 

Reinhard

Reverse engeneering from Oracle DB synonyms

$
0
0

Hi everybody

 

I tried to reverse engineer from Oracle DB using Power Designer. I have access only to synonyms in Oracle DB. I connected to source system, selected needed synonyms and clicked to reverse engineer. It seems that process run successfully, but the diagram is empty. Why synonyms do not appear on diagram?

 

I followed next process:

 

File – Reverse Engineer – Database…

 

Enter Model Name and click OK

Fill Options

 

Connect to Data Source

 

 
 

 

Move to  Synonym tab (I have only access to synonyms, not tables or views) and select needed synonyms


 

 

Output from Reverse Engineering:

 

 

After reverse engineering I cannot see the diagram

Would anyone be interested on how to import object permissions using Excel?

$
0
0

I figured out how to get permissions imported consistently using the excel import function and I was wondering if anyone would like to see examples of how I get it to run?

 

-Mark McNary

Tips for Web Reports

$
0
0

Getting my model info onto the Web has had some drawbacks for me and I'm working on some solutions.  Overall, the html reports are pretty good, just a little outdated.  I've found a few tricks that help me.  Many of them are for asp.net sites, but others are more general.  I have two to share right now.

 

Generate XML.  I often want to just simply get table data into my pages.  If I generate a report (even a List Report) I get many files and have find, cut, paste, and clean the table.  If I just want the table info, I generate xml from a List Report.  In my asp.net page use an XmlDataSource and GridView control.  Themes and/or CSS can be applied.  And if you work with the visual designer it's simple drag-and-drop stuff.

 

CSS using LESS.  I've become a big fan of LESS, the CSS compiler.  The CSS used by PD is wordy, so it can be difficult to maintain.  But it is really just like the code generated by most LESS compilers, they tend to generate wordy CSS too.  Using LESS I can maintain the CSS in a compact form and then just compile it to overwrite the included CSS (or template).  It's not only a PD thing, just a web thing, but it's helped me maintain my PD stuff.

 

I can share more things I learn - let me know and I'll post more.  If there are html reporting areas you struggle with let me and I'll try to work on them while I'm at it.


PowerDesigner 16.5 SP02 HTML Report not displaying diagrams in IE8

$
0
0

I am creating an HTML report in PowerDesigner 16.5 SP02 and the diagrams are not displaying in IE8.

 

HTML_REPORT_NO_DIAGRAM.PNG

 

 

I am aware that these are SVG images and that a download/install of SVGViewer would fix this BUT I don't want to have to download something to view the report in IE.


I am also aware that IE11 displays the diagrams but we are using IE8 company wide due to legacy applications that were built on it.


Any suggestions on how to fix this when building the report? Is it possible to change format of the diagrams? I know there is a way in PD Portal but can't seem to find a way to do it in PowerDesigner.


Any help would be appreciated.


Thanks in advance.

 

 


 


PowerDesigner Repository - freezes when checking out large PDM?

$
0
0

Hi All,

 

I am running PowerDesigner 16.5.  The repository is installed on a windows 2008 R2 server.  I am using the proxy to connect to the repository.

I was cleaning up the repository, and checked out a somewhat large PDM file.  It's been about an hour, and I still can't return to my PowerDesigner screen.  Has anyone experienced anything similar?

 

The server that the repository is installed on only contains our license keys (SAMS software).  It is only used by our small group. 

Did I just break the repository? 

Constraint names - Modeling Naming Options

$
0
0

Can anyone advise me which group(under Model Options -> Naming Conventions) controls the max code length for the below in a physical data model.

 

FK Constraints

PK Constraints

UK Constraints

Capture.JPG

 

The context sensitive help from this window does not describe what physical objects some of these impact. For instance, I thought Reference would control FK Constraints, but it is not. I have FK Constraints being generated longer than 30 characters, which is the max that Oracle allows. Other objects is a catch all that I did not restrict to 30 as that then shortens lot of other things that I don't even know and might want to.

 

I tried looking in the PD Meta model help under "Libraries -> PdPDM -> Model Options", but I don't understand much of what is described there.

 

I have following in the Oracle 11g DBMS Resource file under the branch "ORA11GR1::Script\Objects\Reference\ConstName".

I need this so that I have FK constraints generated with a sequence number suffix. Maybe the Model naming options don't apply when this is used and I need to figure out the syntax to chop the table name so that to 24 as FK_ and _1 will use up 6 characters in the constraint name.

 

FK_%TABLE%_%REFRNO%

Having trouble importing files into the demo

$
0
0

I'm trying to import from  Vision 2010/13 but it does not appear to function with the Demo of PowerDesigner that I've brought in.

 

I don't know if I've got Enterprise Architect or Information Architect downloaded, how can I check?

 

Thanks,

Update of Diagramm after .SetAttribute or .SetAttributeText

$
0
0

Hi,

 

we use 16.5 and update a Requirement Model from Excel.

 

i used

 

.SetAttribute  annotation  , "Test"

or

.SetAttributeText  annotation  , "Test"

 

and i get the Data in the description or also in annotation but the Diagram did not show the Data in the Requirement Diagram.

Also not if i open and close it.

 

Only if i open in the Diagram the Cell i could see the Content and after OK the Cell in the Diagram will show it.

 

What could i do to refresh them after all my inserts are done ?

 

thanks br thomas

 

 

 

 

PowerDesigner 16.5 SP02 HTML Report Display Column Comments

$
0
0

Hi All,

 

I am using PowerDesigner 16.5 SP02 and am trying to view the column comments in an HTML Report. I know that you can enable Table comments and such in the report wizard but I can't find anything on columns. Any help is much appreciated.

 

- Eric

Is the import function in Power Designer limited during the trial?

$
0
0

Hello,

 

I'm trying to use the PowerDesigner trial to replace Visio. I can't bring the Visio files into Power Designer for a few reasons. Is there a limit to the software on in the PowerDesigner trial? Is importing Visio documents something that was solved with later patches?

 

Here are some stills to cover some of the things I've been noticing.             

 

Navigation: ModelTools-> Resources -> Impact And Lineage Analysis Rule Set

PowerDesigner16.5NoImportVisioOption.png

 

SAP Sybase PowerDesigner 16.5 Enterprise
Demo – which has no ability to import Visio Document with Meta Data as previous
versions of PowerDesigner.

Visio2010NoExportToPowerDesignerOptionOrFile SaveAs.png

 

MS Visio 2010  - which has no addin
available in the Sybase PowerDesigner install directory to export Visio
Documents with Meta Data, as described in the  PowerDesigner
Documentation.

 

VS2010_PDDemoAddinIsEffective.png


Adding tablespace to table

$
0
0

Hi !

 

I'm trying to assign some tablespaces to tables using scripts. For that i triyed this :

 

call TB.SetPhysicalOptionValue("<Physical Options>\<tablespace_clause>\in", TS.Name)

 

I triyed also other solutions but without any result. When i try :

output TB.GetPhysicalOptionValue("<Physical Options>")

 

I don't get anything !

 

Someone has already succeeded to do this ?

 

Thank you


Tips for Web Reports

$
0
0

Getting my model info onto the Web has had some drawbacks for me and I'm working on some solutions.  Overall, the html reports are pretty good, just a little outdated.  I've found a few tricks that help me.  Many of them are for asp.net sites, but others are more general.  I have two to share right now.

 

Generate XML.  I often want to just simply get table data into my pages.  If I generate a report (even a List Report) I get many files and have find, cut, paste, and clean the table.  If I just want the table info, I generate xml from a List Report.  In my asp.net page use an XmlDataSource and GridView control.  Themes and/or CSS can be applied.  And if you work with the visual designer it's simple drag-and-drop stuff.

 

CSS using LESS.  I've become a big fan of LESS, the CSS compiler.  The CSS used by PD is wordy, so it can be difficult to maintain.  But it is really just like the code generated by most LESS compilers, they tend to generate wordy CSS too.  Using LESS I can maintain the CSS in a compact form and then just compile it to overwrite the included CSS (or template).  It's not only a PD thing, just a web thing, but it's helped me maintain my PD stuff.

 

I can share more things I learn - let me know and I'll post more.  If there are html reporting areas you struggle with let me and I'll try to work on them while I'm at it.

Problems with SP03, anyone?

$
0
0

I installed the latest EBF today - EBF 22452, which is the 64-bit installation for PD 16.5 Service Pack 03 (build 4313). I was going to roll it back to SP02 because of the following issues:

 

  • when I edit a file-based model extension, it doesn't ask me if I want to save the changes
  • when I generate a new model, most of the time it doesn't present me with any options, just goes ahead and does it (assuming the model check doesn't throw up any errors)
  • I couldn't pre-select the comparison options when selecting models in Tool | Compare models
  • When I close a model it doesn't ask me if I want to save changes
    • same applies for projects and the workspace

 

I say that I was going to roll it back, but now it's starting to behave. I did try using System Restore to roll it back, but that failed, something to do with a missing Microsoft file, so I thought I'd try out PD again. Strangely, the more I close down and restart PD, the more it behaves, so that I'm now only suffering from one of the above problems - it doesn't ask me if I want to save the XEM file if I've edited it, it just saves the file.

 

Am I the only one seeing this weird behaviour?

How to generate columnar PDM for HANA?

$
0
0

Hi Folks,

 

I'm quite new to PowerDesigner and have been working on generating a HANA database from MS SQLServer.

 

Currently I've been able to import a source SQLServer system as a Physical Data Model in PowerDesigner. I was then able to generate SQL DDL scripts to generate the DB manually in HANA, and I also watched a video about how to generate the DB directly in HANA via a connection to the repository which seems straightforward.

 

The challenge that I'm current facing is how to alter the entire PDM to make *all* tables of type "column" rather than "row". Since SQLServer was the source system, rather than HANA, PowerDesigner appears to default to row store... (shouldn't PD's default storage type for HANA DB's be column store by default? This make substantially more sense than row store by default... but I'm digressing.)

 

I can see how to do this on a table-by-table basis, but haven't yet figured out how to cascade this setting to the whole PDM. Any assistance would be very much appreciated!

 

I also tried following this documentation, which didn't help much... it doesn't correspond with the windows/tabs/options that I'm seeing in PD 16.5 - http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc38058.1653/doc/html/oba1320752560336.html

 

Thanks!

Overlay a symbol in Power Designer

$
0
0

Hello,

 

I am trying to overlay a dependency with another symbol (e.g. component of a component diagram).

But at the moment i place the component on the dependency the dependency always goes out of the way of the component.

-> see screenshots

 

Before placing the component (red strokes) on the dependency

 

overlay_prob1.png

 

 

 

After placing the component on the dependency

overlay_prob2.png

 

Does anyone of you know a workaround for that issue?

 

Thanks in advance and best regards

Viewing all 638 articles
Browse latest View live