Quantcast
Channel: SCN : Popular Discussions - SAP PowerDesigner
Viewing all 1779 articles
Browse latest View live

PD 16.1 Selection isn't recognized

$
0
0

Hello,

 

I'm using the PowerDesigner 16.1 for a while and today the dialog "Database"=>"Apply Model Changes to Database" doesn't recognize my selection.

The Result is a change scupt for the complete model.

Can you give me any advice for solving this problem?

 

thanks in advance.


Unspecified error in VB Script regarding identifier

$
0
0

I have a VB script that attempts to get an attribute of an identifier in a PdLDM model.  The code is similar to the following:

 

dim identifier

set identifier = entity.FindChildByName(identifier_name, PdLDM.cls_Identifier)

dim attribute

set attribute = identifier.GetAttribute(attribute_name)

 

The method GetAttribute() keeps resulting "Unspecified error (0x80004005) At line ##, character #.  Does anyone have experience with this?  Thanks.

PD 16.1 reverse engineers SQL Server datetime2 incorrectly

$
0
0

I am reverse engineering SQL Server 2008 R2 tables that contain columns defined as DateTime2(3).  PowerDesigner creates these columns with a data type DateTime23.  Is there a fix for this?  I can manually correct the columns.

Resources for PowerDesigner custom development

$
0
0

I have been using PowerDesigner for over a year now and have just begun looking into extending PowerDesigner.  I am starting off with baby steps by adding a custom check to the check model option. What I have noticed is that there is not really a lot of resources out in the SAP web site. The metamodel is widely available and published but there are not many concrete examples of developing code for the different extensions.  Does anyone know of a resource that is available to help with custom development? Google has not been very helpful finding one.

 

Also, if anyone has an example of how to do a check on a Logical Data Model.Entity to see if it inherits from another Entity (specifically one named CODE) I would be grateful for the help.

columns projection from database inputs in DataJoin in script

$
0
0

Hi all,

 

I have a problem generating a data mouvement model using script (no problem manually). 

 

Here's an example (I show only the part where I have a problem):

data join sample.JPG

Here's the join:

Join.JPG

 

In this example, I have no problem to create transformation processes, control flows, data connections, database definitions, associate database inputs, associated data flows, join(s) and to link the final table but only fields from the first table (xtr_Shipping address in this case) are present in Data Structure Column list, no fields from xtr_client.

 

DataStructureColumn.JPG

 

Steps followed are:

- create a datatransformaiontask and all steps (joins, transformation, ...)

- associate db output and dataflow

- associate all db input and all data flows

- create join

 

I'm searching why I don't have projection of fields from xtr_client.  Have you an idea ?

 

Kr,

Thierry

Apply Model changes and Extended attributes.

$
0
0

Hi All,

 

I have been struggling with PowerDesigner for a couple of days and could use some help.

 

Here is the scenario:

 

I have added an extended attribute to the model profile in a dbms reference file. It is a binary field used to control control whether additional text is wrapped around the ddl statements.  I can see this in the model properties tab, and it works great when I'm generating a database from the model.

 

When I go to use the "apply model changes to database" functionality, PD see's my extended attribute but it always returns "FALSE" for certain commands.  For instance in the "drop" command PD always returns false for the extended attribute, but the "create" command works correctly.

 

Help!

 

Thanks

 

Tim

[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

Password reset email sent when using LDAP configuration

$
0
0

Does anyone know how to disable the password reset email when new accounts are created in an LDAP controlled environment?  Currently, we have the "auto-create user accounts in repository" option checked in the LDAP setup screen.  It does create the account, which is good.  But my users keep asking me about the password reset email that is sent - which should not have been.  I can't find a place to modify this behavior and is doesn't apply to LDAP managed access.

 

Also, is there a way to notify the admins when a new account is created as part of this process?  I need to know this to grant the appropriate security access each time a new account is created via the Portal.


Running a Spell check crashing the PD

$
0
0

Whenever I run a spell check on my datamodel, PD crashes and if I did not save the model then I loose the model too.

Getting the attached error.

(Some reason I am not able to attach any files including .jpeg, .jpg, .png, So I am typing the accual message. Aggggggggggggh.

==========

Error#13 was generated by mscorlib

Unable to cast COM object of type

'Microsoft.Office.Interop.Word.ApplicationClass' to interface type

'Microsoft.office.interop.Word._Application'. This operation failed because the

QueryInterface call on the COM componenent for the interface with IID

'(00020970-0000-0000-C000-000000000046)' failed due to the following error;

Library not registered.(Exception from HRESULT:0x8002801D

(TYPE_E_LIBNOTREGISTED)).

==========

When I say OK then I see this debugging message

 

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Exception: Application-defined or object-defined error.
  at Microsoft.VisualBasic.ErrObject.Raise(Int32 Number, Object Source, Object Description, Object HelpFile, Object HelpContext)
  at Sybase.PowerDesigner.Spellchecker.SpellStatus.CheckSelectedObject(BaseObject& oObject)
  at Sybase.PowerDesigner.Spellchecker.SpellStatus.Timer1_Tick(Object eventSender, EventArgs eventArgs)
  at System.Windows.Forms.Timer.OnTick(EventArgs e)
  at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.296 (RTMGDR.030319-2900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
PdShell16
    Assembly Version: 16.1.0.3778
    Win32 Version: 16.1.0.3778
    CodeBase: file:///C:/Program%20Files%20(x86)/Sybase/PowerDesigner%2016/pdshell16.exe
----------------------------------------
Sybase.PowerDesigner.Shell
    Assembly Version: 16.1.0.3778
    Win32 Version: 16.1.0.3778
    CodeBase: file:///C:/Program%20Files%20(x86)/Sybase/PowerDesigner%2016/Sybase.PowerDesigner.Shell.DLL
----------------------------------------
PresentationFramework
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.298
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsBase
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.298 built by: RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1001 built by: RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
PresentationCore
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.298 built by: RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
System.Xaml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.298 built by: RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
Sybase.PowerDesigner.Shell.Plugin
    Assembly Version: 16.1.0.3778
    Win32 Version: 16.1.0.3778
    CodeBase: file:///C:/Program%20Files%20(x86)/Sybase/PowerDesigner%2016/Sybase.PowerDesigner.Shell.Plugin.DLL
----------------------------------------
Sybase.Core.Platform
    Assembly Version: 1.5.0.0
    Win32 Version: 16.1.0.3778
    CodeBase: file:///C:/Program%20Files%20(x86)/Sybase/PowerDesigner%2016/Sybase.Core.Platform.DLL
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.276 built by: RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Sybase.PowerDesigner.Core
    Assembly Version: 16.1.0.3778
    Win32 Version: 16.1.0.3778
    CodeBase: file:///C:/Program%20Files%20(x86)/Sybase/PowerDesigner%2016/Sybase.PowerDesigner.Core.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1002 built by: RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1001 built by: RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Sybase.Core.Util
    Assembly Version: 1.5.0.0
    Win32 Version: 16.1.0.3778
    CodeBase: file:///C:/Program%20Files%20(x86)/Sybase/PowerDesigner%2016/Sybase.Core.Util.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.233 built by: RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Sybase.Core.Windows
    Assembly Version: 1.5.0.0
    Win32 Version: 16.1.0.3778
    CodeBase: file:///C:/Program%20Files%20(x86)/Sybase/PowerDesigner%2016/Sybase.Core.Windows.DLL
----------------------------------------
AvalonDock
    Assembly Version: 1.3.3592.0
    Win32 Version: 16.1.0.3778
    CodeBase: file:///C:/Program%20Files%20(x86)/Sybase/PowerDesigner%2016/AvalonDock.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
WindowsFormsIntegration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll
----------------------------------------
PresentationFramework.Aero
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll
----------------------------------------
Sybase.PowerDesigner.Spellchecker
    Assembly Version: 16.1.4666.42731
    Win32 Version: 16.1.4666.42731
    CodeBase: file:///C:/Program%20Files%20(x86)/Sybase/PowerDesigner%2016/Add-ins/Spell%20Checker/Sybase.PowerDesigner.Spellchecker.DLL
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
Microsoft.Office.Interop.Word
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.6612.1000
    CodeBase: file:///C:/windows/assembly/GAC/Microsoft.Office.Interop.Word/12.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Word.dll
----------------------------------------
office
    Assembly Version: 14.0.0.0
    Win32 Version: 14.0.4760.1000
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/office/14.0.0.0__71e9bce111e9429c/office.dll
----------------------------------------
Sybase.PowerDesigner.LegacyPlugin
    Assembly Version: 16.1.0.3778
    Win32 Version: 16.1.0.3778
    CodeBase: file:///C:/Program%20Files%20(x86)/Sybase/PowerDesigner%2016/Sybase.PowerDesigner.LegacyPlugin.DLL
----------------------------------------
Interop.PdPlugout
    Assembly Version: 16.1.0.0
    Win32 Version: 16.1.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Sybase/PowerDesigner%2016/Interop.PdPlugout.DLL
----------------------------------------
1tyjx4za
    Assembly Version: 0.0.0.0
    Win32 Version: 4.0.30319.1001 built by: RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
UIAutomationProvider
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
----------------------------------------
Interop.Scripting
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Sybase/PowerDesigner%2016/Add-ins/Spell%20Checker/Interop.Scripting.DLL
----------------------------------------
Interop.PdCommon
    Assembly Version: 16.1.0.0
    Win32 Version: 16.1.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Sybase/PowerDesigner%2016/Interop.PdCommon.DLL
----------------------------------------
Sybase.PowerDesigner.Spellchecker.resources
    Assembly Version: 16.1.4368.943
    Win32 Version: 16.1.4368.943
    CodeBase: file:///C:/Program%20Files%20(x86)/Sybase/PowerDesigner%2016/Add-ins/Spell%20Checker/en-US/Sybase.PowerDesigner.Spellchecker.resources.DLL
----------------------------------------
pdlayout16
    Assembly Version: 0.0.0.0
    Win32 Version: 16.1.0.3778 Unicode
    CodeBase: file:///C:/Program%20Files%20(x86)/Sybase/PowerDesigner%2016/pdlayout16.DLL
----------------------------------------
yWorks.yFilesNET.Algorithms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Sybase/PowerDesigner%2016/yWorks.yFilesNET.Algorithms.DLL
----------------------------------------
yWorks.yFilesNET.Viewer
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Sybase/PowerDesigner%2016/yWorks.yFilesNET.Viewer.DLL
----------------------------------------
Microsoft.VisualBasic.Compatibility
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.30319.1
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic.Compatibility/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.Compatibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

=================================================

 

 

Any help?

 

Steps to reproduce the error.

1.Right click on a white space in any data model

2.Select Spell check

Source to Target Mapping Report

$
0
0

Is anyone aware of a way to generate a typical "Source to Target Mapping" report from a data movement model?

 

I am looking for something like this:

 

Source Table     Source Column     Source Datatype     Transformation     Target Table     Target Column     Target Datatype

------------------     --------------------     -----------------------     --------------------     -----------------     --------------------     ----------------------

Employee          EMP_NO               VARCHAR(10)        pass-thru              D_EMP             E_NO                    VARCHAR(10)

 

I don't see anything out of the box that comes close to this.  It seems to support listing the contents of each object, but no way to represent the logical flow of columns represented inside a DMM.

PD16 newbie, but Erwin expert

$
0
0

Hi there,

 

We are in the middle of moving from Erwin 7.x to PowerDesigner 16.1.

 

I am a long time user of Erwin and am finding it difficult to find any discussion forums on PD on the web. Stumbled upon this, but find there are no discussion items at all.

 

Got access to SAP site, but have not been able to figure out how to log support tickets. SAP support site is a confusing web of navigation. Going directly on Sybase site and clicking on the link to create support tickets throws up a login and if I use the same email id that I used for SAP login, it says email id already registered, but then does not accept the same password as on SAP site.

 

So I am hoping there are some here on this discussion forum that are in the same situation as ours (moving from Erwin), so that we can share experiences.

Impact and Lineage Analysis setup for a dwh

$
0
0

Hello,

 

My department is responsible for reporting on risk on various levels (portfolio's, industries, countries).

For this we collect on daily/weekly/monthly basis

  1. data (csv) on outstanding amounts  for all loans/facilities from all our offices,
  2. data (xml) on customer data, incl risk rating
  3. data (xml) on reference data, like countries, statusses, risk-levels, etc.
  4. market data (fx, interests, equity listing info)
  5. country risk data (csv)

 

As an info architect I'm responsible for maintaining datamodels around these data.

For a more efficient overview in case of issues we also like to achieve the Impact and Lineage possibilities.

I already made 5 conceptual models for each of these representing there initiatial loaded formats,plus one

for the datawarehouse where all is collected and cleansed, linking to the entities in the 5  loaded-file models.

So far so good.

I could continue making some new models for an extended datawarehouse and finally for the datamarts. Point is

that this collection of cdm's finally will not help me achieve the following:

  • I want to move to LDM to help my  clients (analysts) find back their FK-columns (and to enable me to
    add additional info on those relationships) and to introduce extra columns for keying and history mechanism.
  • I want to insert the processes  that glue these models together (merely as stepping stones to  documentation outside PD)
  • I want to be able to do a any  impact and Lineage Analysis

 

I stumbled upon a video demo on an airline ticket example which made it sound rather simple.But I am currently stuck with the

following questions:

  1. The data from source 1 (above) are the “real ones”, that can be cleansed, mapped into other ones and referenced to a description via the other sources (2-5) that represent master data around it. But if I draw a FK column to the  referenced entity I loose my info referencing the column back to a column in source 1 . If  I stick to the column as delivered, I can not express cases of mapping (data is changed to a internal bankwide
    code), nor that the code refers to a category of reference data ( we  probably like to drill down into in the reporting and data mart
    models). ? So in my lineage I like to be able to see e.g. A local  product code as delivered by the client in its loans-file >
    mapped to an internal product code stemming from a file mapping the clients local code to the bankwide used product code, > and
    referencing a list of products+descriptions used in yet another  file. So the lineage should forck back three ways  for the dataitem
    in this example. How should I tackle this case? Ideally I want to  solve this puzzle (for me) only using a project containing a set of
    LDM glued together by PDM. Please let me know if I have to use Data Movement Models instead to achieve this, but for what I read about these  they look too much intend for setting up ETL, which is again to much  detail.
  2. I only want to use PDM as a glue,  I rather do not want to have to put up a whole list of input items  and output items to it. Is there a way? Or does the Mapping Editor already cick in here?
  3. The lineage should help me find  out escpecially the lineage for data-items appearing in the final models (datamarts/reports). Any solution to Q1&2 that does not  fullfill this lineage requuirement, is finally not usefull I'm  afraid.

 

If people have some answers for me or
can point me in the right direction for additional info, would be
great! Thanks a lot in advance.

 

Wim de Groot

Downloading InformationArchitect 16.5 through the SAP SYBASE Portal

$
0
0

I would like to know which of these products (see below) we should download through the SAP SYBASE Support Portal - PowerDesigner 16.5 or PowerDesigner SE 16.5 - for PowerDesigner InformationArchitect 16.5.  Also what EBF maintenance level should be downloaded for PowerDesigner InformationArchitect 16.5?   The latest EBFs for 16.5 and 16.5 SE appear to reference the DataArchitect, DataArchitect Enterprise and the EnterpriseArchitect products.  Would they also address InformationArchitect? 

 

Browse the Sybase Portfolio Installations SYBASE POWERDESIGNER 

•     SYBASE POWERDESIGNER 16.5

•     SYBASE POWERDESIGNER SE 16.5

Delete button behaviour in an ER diagram

$
0
0

Is there a preference setting somewhere, where I can ask PD to default the Delete button to delete the symbol, instead of the object ?

 

I don't like the "destructive" default that Sybase choose to go with it, which is to delete the object. It should have the reverse as the normal action would be that you want to add and remove things from a diagram. Deleting the object from the entire model would be the next step that you want to take sometimes.

Partitions

$
0
0

Hi !

 

I have a question about partitions :  How to put two values in the "Ending At" for partitioning tables, every time i put tow values, when i close the window, powerD keep juste the first value !

 

Ty


Password reset email sent when using LDAP configuration

$
0
0

Does anyone know how to disable the password reset email when new accounts are created in an LDAP controlled environment?  Currently, we have the "auto-create user accounts in repository" option checked in the LDAP setup screen.  It does create the account, which is good.  But my users keep asking me about the password reset email that is sent - which should not have been.  I can't find a place to modify this behavior and is doesn't apply to LDAP managed access.

 

Also, is there a way to notify the admins when a new account is created as part of this process?  I need to know this to grant the appropriate security access each time a new account is created via the Portal.

Java class diagram - extending built-in classes

$
0
0

Hi all,

I'm a new user to PowerDesigner, and I am starting with a basic class diagram. I've created some classes that should extend the built-in class java.lang.Exception. However, when I try to select a class to inherit from, I cannot find Exception; the only classes that are listed are the ones that I have created myself.

 

Is there something special I must do to be able to use the built-in Java classes? I've read the product manual trying to figure this out, and had no luck. I'd appreciate any help figuring this out.

Problem with Alter Script generation

$
0
0

I recently upgraded from Powerdesigner 16.0 to 16.5 and since then the generation of alter scripts for the latest changes to the data model are not running correctly.  A change to a "code" table that is referenced by many other tables fails (MS SQL Server 2008) because of the existence of a Foreign Key reference.  The tool use to generate these scripts correctly, i.e. they dropped all foreign key references and then altered the table and then recreated the foreign keys.  Not sure what has happened after the upgrade.  Does anyone else know what might have changed. 

 

I hope I have the correct forum, this is my first post under SAP (use to use Sybase often enough but the tool hasn't given me any trouble in a very long time).  I'll probably open a support case Monday, as this issue has only been noticed for the first time this last week but is a serious issue.  Still hoping it might be something simple that others already know.

 

thanks,

 

James K.

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?

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

Viewing all 1779 articles
Browse latest View live


Latest Images

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