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

PowerDesigner and Netezza

$
0
0

How many of you use PowerDesigner with Netezza?  I have been using PD working to create an EDW off and on for about 18 months now.  There are several nuances that I've struggled with; I've found solutions to some but not all.

 

I could start sharing my solutions here if there are others who are interested.  I hope others might have answers to some problems that I haven't found a solution for, too.


Connecting to PowerDesigner Repository 15.3 - Error

$
0
0

Error Received: Invalid repository user or password!

 

THe repository is on a SQL 2008R2 Server, using an OBDC connection.  Authenticity of the login id is "WIth Integrated Windows Authentication".

 

I'm trying to login with repository ID = Public.   I can see in the PMUSER table the UserID has a null password. 

 

In the Repository Definition - the "Test" works.

LDAP does not work with Portal

$
0
0

I am having difficulty getting LDAP authentication to work with the PowerDesigner Portal service.  I can still connect with the ADMIN account or any other non-LDAP account (i.e., PD account) via the portal, but that won't work very well as a long term solution.

 

I am able to authenticate using LDAP with the full client product without issue. 

 

Does anyone else have this problem?

PD16 Repository Branching

$
0
0

We are using PD16.0 on our project and we are starting to develop releases in parallel.  I am evaluating how the branching functionality works.  The documentation does a pretty good job at explaining branching but is severly lacking in explaining integrating branches. What I am finding is that the integrating is not working as I expect.  Here are the steps of my test:

 

  1. Starting with a LDM on the default branch I update my local copy in my workspace (W1) to the latest version (v109).
  2. I create a branch in the repository named 2.0 (B2)
  3. I create a new instance of PD and connect to the repository. I save the workspace as v2.1 (W2)
  4. In W2 repository browser I change the branch to B2 checkout the LDM from B2.
  5. In W2 I create a new entity in the model and check in the change to B2 which results in version 109.1.1 being created.
  6. In W1 I create a new entity in the model and check in the change to the default branch which results in version 110 being created.
  7. In W2 I modify the entity created in step 5 and try to check the change in expecting that it will create version 109.1.2 but when the Check in Document dialog comes up the repository section is greyed out. If I click ok I get the message "You should select a document in the repository". If I select the integrate radio button and 109.1.1 as the document version then I can get to the merge dialog and create the 109.1.2 version

 

Is this the correct behavior for checking in a change to a branch that is not the default branch?

Change case for attribute codes

$
0
0

Hi

I am fairly new to PowerDesigner tool and would appreciate the help. I am trying to modify an exisitng CDM but the CDM is all over the place and the biggest challenge I have right now is to  update the case from UpperCase to MixedCase for certain attributes. There are about 1500 of such attributes/data items that I need to change the CASE for. I don't know how it happened because at the  model level, the CASE option for data items/attributes has been set to MixedCase. Instead of changing all 1500 manually, i was wondering if PowerDesigner offers a way to change the case in an interactive/batch mode.

Thanks for the help

Updating the Metadata in parent did not migrate to Children

$
0
0

Have you experienced any issue with migrating the metadata for the Primary Key column not migrating to the children after you established the relationship.

Steps to reproduce the errors.

1.Create a relationship from Parent to child and add a comment to the Primary Key in the parent table.

2.Save the model

3.Update the Parent Primary key definition and open the child FK attribute which is the primary key of the parent. You do not see the updated comments on the child FK.

 

Is there a fix for this problem? If so, what version onwards the fix is available? I am using 16.0 PD.

Incorrect FK Specification

$
0
0

When generating a LDM from a CDM, PowerDesigner builds a FK reference as an "Integer" from a PK specified as a Serial (8). When the PDM is created the FK reference is transformed to an "INT4".  The FK reference should be specified as a " Long Integer" so that the FK reference in the PDM would become "INT8".  Where can this conversion or mapping be modified so that we so not have to manually update the column specifications in the LDM?   See example below.   We are using the PostgreSQL 9 DBMS properties file.

 

change RDBMS on delta script

$
0
0

I know just the basics of PowerDesigner and I have the following issue. We are developing an applicatrion which may run on SQL Server or Sybase ASE. In case of making any changeson the  db schema we create a script containng all the changes before applying it to the database. We can do it for each RDBS but it would be very convenient if we could "translate" this delta script from SQL Server to ASE or from ASE to SQL server.

 

Maybe if use mapping? I am afraid I have never used it before

 

Best regards,

 

Kimon Moschandreou


[PowerDesigner Portal] Java error: cannot test database connection

$
0
0

Greetings

 

I want to start using the PowerDesigner Portal 16.1, but I’m having trouble setting up this feature of PowerDesigner.

   

   

1-  I select the Portal option.

 

1.jpg

   

2-      I select the PowerDesigner Portal Server option

 

2.jpg

 

3-      I select the Install new Tomcat 6.0 option, and use the default ports.

 

3.jpg

 

4-      I choose to install a new JRE (default option).

 

    4.jpg

 

5-      I set the parameters of my connection to the repository, but an error occurs while testing (Java error: cannot test database connection)

  

5.jpg

 

I have used the Microsoft SQL Server JDBC Driver 3.0 and 4.0 for the installation, but the results were the same as in the previous screenshot.

   

Instead of using the default JRE that comes with the installation, I have used the JRE 6.0 and 7.0, but the results were the same as in the previous screenshot.

  

I can connect to the database with PowerDesigner without a problem (using the ODBC), so I know that the user and password are correct.

   

In order to check the log file, I have finished the installation of the portal. While trying to log-in, a “not able to connect to server…” message obviously showed up.

   

6.jpg

   

As expected, the log has mostly “Failed to initialize database connection” error messages. I could not gather much insight from this file. I am sending it in attachment, as it could help more expert users to decipher what can be the reason for this issue.

  

Have any of you had the same problem while installing the Portal? What could be the problem with my setup? This is bringing a lot of problems for my project, as I need the PowerDesigner Portal up and running, in order to allow non-PowerDesigner users to access the contents of the repository.

   

Looking forward to hear from you.

  

Best regards,

 

Mario Silva

PowerDesigner in Chinese?

$
0
0

some prospects asked me for a chinese version. are there any plans?

Anyone using PD for EA repository?

$
0
0

Any suggestion how to structure the PD repository (i.e. TOGAF)?

Why there is a big delay in posting

$
0
0

Why it takes so long to post a question/answer? Any thing you post takes couple of days with the moderators to release. Why there is a big delay in postings? There are people waiting for response and this forum takes forever to get a posting out for couple of days.

Very disappointed with the way this forum performs.

I am sorry but I am not very happy the way the forum is performing.

 

Circular reference between a shortcut and the entitie in one and the same model

$
0
0

I did some moving of diagrams and entities recently between CDM’s in Sybase Powerdesigner 15.3

And I discovered I ended up with some double entities (one base and a shortcut one referencing to that base entity in the same model).

Anyhow: I like to know if there is a way to merge the entity and its shortcut into one again (without breaking shortcut references to other models).

 

Thanks a lot in advance,

 

Wim de Groot
wim.de.groot.wia@ingbank.com

Make a copy of a model in repository

$
0
0

I'm trying to make a copy of a conceptual model (*.cdm) that resides in the repository, but there doesn't seem to be any way to do this.  The model currently resides within one folder in the repository.  My goal is to create a separate copy of this model in a different folder in that repository.

 

I have tried checking out and checking back in, but PD won't allow me to specify a different folder, name, or version during check-in.  Can anyone help?

UK PowerDesigner Special Interest Group - meeting in London on July 3rd

$
0
0

It's taken a while to organise, and now it's here! Registrations are now being taken for the inaugural PowerDesigner Special Interest Group (SIG) meeting. Please extend this invitation to any colleagues you think may be interested.

 

Event: PowerDesigner SIG

Date: Wednesday 3 July

Time: 09H00 - 14H00

Venue: Morgan Stanley, 25 Cabot Square, Canary Wharf, London E14 4QA

 

The agenda comprises of demos, user experiences, product information and networking time. We hope that users of this niche product will find the morning gives them an opportunity to exchange ideas, address issues, learn from each other and get inspired.

 

On this occasion, the meeting will be open to anyone who would like to attend and will not be restricted to UKSUG members. You must register in advance (see link below).

 

AGENDA - http://www.uksug.com/sites/default/files/uploads/powerdesigner_sig.pdf

 

register here - http://www.uksug.com/event-registration-form


What do you regard as essential knowledge for PowerDesigner users?

$
0
0

In 2011 I co-authored "Data Modeling Made Simple with PowerDesigner" with Steve Hoberman. From the title it's obvious that data modellers were the primary audience, though I did my best to structure the book so that other users of PowerDesigner could make use of it. The book also contains Steve Hoberman's work on 'how to do' data modelling, so I inevitably had to make some compromises in the PD content. I'm sure nobody would have bought a 1,000 page book that weighs 3 Kg and costs over $120.

 

I'm currently planning the second edition of the book, and I intend to address the compromises, to ensure that we create material of interest to the whole PD market. A number of readers have been kind enough to point out the compromises that they've noticed, and to suggest topics to be included later on.

 

Here's my challenge to you

What would you regard as essential knowledge for PowerDesigner users, and just has to be included in the future book (or books - there will probably be more than one)?

  • for any PD user
  • for portal users
  • for PD 'super-users', those people who like to push the tool to the limit
  • for PD administrators
  • for a given type of user
    • data modeller
    • enterprise architect
    • business architect
    • DBA
    • application developer
    • solutions architect
    • etc

 

Please address suggestions via the form on my personal blog page, at http://metadatajunkie.wordpress.com/2013/07/17/pd_topics

 

Thanks, George

SAP Sybase PowerDesigner 16.5 Live Expert Session (LES) Recordings

$
0
0
Full Ramp-Up Knowledge Transfer Online Knowledge Products for the entire Information Management Product Suite can be found here.
S-User Id required.
Past LES TopicsDescriptionDates
SAP Sybase PowerDesigner 16.5 Support Pack 2 Overview

*Demonstrate upgrade procedure from Windows
32-bit to Windows 64-bit versions of SAP Sybase  PowerDesigner. 

*Demonstrate SAP ERP Reverse Engineering to Physical Data Model feature added with this release.

July 2013
SAP Sybase PowerDesigner 16.5 Overview

*PowerDesigner Overview

*Enterprise Modeling

*PowerDesigner Link and Sync Overview

*Customizing and Reporting

March 2013
What's New in SAP Sybase PowerDesigner 16.5 Release

*Workflow Management

*Metadata Management

*SAP Ecosystem

*XML Modeling enhancements

*New report interface

*Other information, for example, new database support, Branch filtering, Change Lists in Portal

March 2013

Creating (extended) Objects using VBS

$
0
0

Hello,

using PD 16.1,

in a XEM i have the following structure of Extended Objects:

screen1.PNG

 

The following code is reading a part of this structur :

Dim m As ExtendedObject
Dim n As ExtendedComposition
Dim so As ExtendedSubObject
Dim prio
Dim col
 Set col = InputModel.GetCollectionByStereotype("InformaticaMapping")
 For Each m In col    If m.Code = "M_xyxyxyxyxyxxyxy_Nachladen" Then        Output ">" & m.Code        Dim ec  As ExtendedCollection        Dim ecc 'As ExtendedCollection        For Each ec In m.ExtendedCollections            Output "ec-->" & ec.Name & "  -  " & ec.ClassName & "  -  no Stereotype"            For Each ecc In ec.Content                Output "ecc---->" & ecc.Name & "  -  " & ecc.ClassName & "  -  " & ecc.Stereotype                Dim eccec As ExtendedCollection                For Each eccec In ecc.ExtendedCollections                    Output "eccec------>" & eccec.Name & "  -  " & eccec.ClassName & "  -  no stereotype"                    Output "------>" & eccec.UOL                                          If ec.Name = "Source/Target2PDM" Then                        Dim x                        For Each x In eccec.Content                             Output "--- ------>" & x                             Output "--- ------>" & x.Code & " - " & x.Stereotype & " - " & x.GetExtendedAttribute("PDM Name")                             If x.Stereotype = "PDM" Then                                Dim y                                y = getPDMbyName(x.Code)                                If x = y Then Output "------- PDM object found !!! -----"                             End If                        Next x                                            End If                                                       Next eccec            Next ecc        Next ec  End If
 Next m

 

which creates the output:

? select_objects()

>M_xyxyxyxyxyxxyxy_Nachladen

ec-->SourceTarget  -  Extended Collection  -  no Stereotype

ecc---->target_0000_******************-  Sourcetarget  -  Sourcetarget

eccec------>VerwendetesDocument  -  Extended Collection  -  no stereotype

------>ExtendedObjects::Sourcetarget XXXXXXXXXXXXXXXXXXXXXXXX::ExtendedCollections::Extended Collection XXXXXXXXXXXXXXXXX.VerwendetesDocument'

 

ec-->Source/Target2PDM  -  Extended Collection  -  no Stereotype

ecc---->Source/TargetPDM_1875  -  Source/TargetPDM  -  Source/TargetPDM

eccec------>ModelName  -  Extended Collection  -  no stereotype

------>ExtendedObjects::Source/TargetPDM 'Source/TargetPDM_1875'::ExtendedCollections::Extended Collection 'Source/TargetPDM_1875.ModelName'

--- ------>PDM XYXXYXYXYXXYXXYXX--- ------>xyxyxyxyxyxyxyxyxyxyxyxyxxy - PDM - DM_ODP_TBDI0259KONTRAHT_COUNTER_PARTY

------- PDM object found !!! -----

eccec------>SourceTarget  -  Extended Collection  -  no stereotype

------>ExtendedObjects::Source/TargetPDM 'Source/TargetPDM_1875'::ExtendedCollections::Extended Collection 'Source/TargetPDM_1875.SourceTarget'

--- ------>Sourcetarget xyxyxyxyxyxyxyxyxyxyxyxyxy--- ------>lookup_0000_************** - Sourcetarget -

 

 

So far so good, but: every thing is working fine because i created all my objects using the PD forms:

screen2.PNG

 

but now i need to create the objects via VBS automaticly.

 

I figured out as the point to insert the subobjects into the content object of ec-->Source/Target2PDM  -  Extended Collection

 

    

   For Each ec In m.ExtendedCollections            If ec.Name = "Source/Target2PDM" Then                    Dim ecc            For Each mst In MSTL                Set ecc = ec.Content.CreateNew(PdCommon.cls_ExtendedCollection)

 

but when i try i always get the following error:

screen2.PNG

all ways trying to use createobject and then adding the object also failed

 

Any suggestions???

 

Thanks in advance

DJ

Switching from VBS to VBA

$
0
0

I found the following in the PD Documantation and it is so essential that i need to share it !

 

 

Differences between scripting and OLE automation

VBScript programs and OLE Automation programs are very similar. You can easily create VB or VBA programs, if you know how to use VBScript. However, some differences remain. The following example program highlights what differentiates OLE Automation from VBScript.

VBScript program

The following VBScript program allows you to count the number of classes defined in an OOM and display that number in PowerDesigner Output window, then create a new OOM and display its name in the same Output window.

To do so, the following steps are necessary:

  • Get the current active model using the ActiveModel global function

  • Check the existence of an active model and if the active model is an OOM

 

  • Count the number of classes in the active OOM and display a message in the Output window

  • Create a new OOM and display its name in the Output window

 

'* Purpose:  This script displays the number of classes defined in an OOM in the output window.  Option Explicit  ' Main function  ' Get the current active model  Dim model  Set model = ActiveModel  If model Is Nothing Then  MsgBox "There is no current model."  ElsIf Not Model.IsKindOf(PdOOM.cls_Model) Then  MsgBox "The current model is not an OOM model."  Else  ' Display the number of classes  Dim nbClass  nbClass = model.Classes.Count  Output "The model '" + model.Name + "' contains " + CStr(nbClass) + " classes."  ' Create a new OOM  Dim model2  set model2 = CreateModel(PdOOM.cls_Model)  If Not model2 Is Nothing Then  ' Copy the author name  model2.author = model.author  ' Display a message in the output window  Output "Successfully created the model '" + model2.Name + "'."  Else  MsgBox "Cannot create an OOM."  End If  End If

OLE Automation program

To do the same with OLE Automation program, you should modify it as follows:

  • Add the definition of the PowerDesigner application

  • Call the CreateObject function to create an instance of the PowerDesigner Application object

 

  • Prefix all the global functions (ActiveModel, Output, CreateModel) by the PowerDesigner Application object
   

  • Release the PowerDesigner Application object

 

     

  • Use specific types for the variables "model" and "model2"

 

 

Downloadin PD 16.5 SP2

$
0
0

I'm looking forward to downloading PD 16.5 SP2, which includes the 64-bit version of PD, but why-oh-why have they combined the 32-bit and 64-bit versions into one huge (2,925,384,014 bytes) ZIP file? I'm now on my third attempt to download it. My first two attempts were (only!)  1,829,605 KB and 1,843,062 KB.  We don't all have access to super-fast broadband.

 

Am I the only one having problems downloading it?

Viewing all 638 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>