Does anyone have any VBScript examples of how to manipulate relationships in an LDM? Specifically, I want to be able to:
- change parent identifiers from PK to AK
- select a different child attribute for a given parent attribute
Thanks!
Does anyone have any VBScript examples of how to manipulate relationships in an LDM? Specifically, I want to be able to:
Thanks!
Hi all,
i have the following exceltable:
Indexnumber | Indexname | Field | Aufsteigend |
1 | TBAW0666TESTTAB.IXAW066601TESTTAB | PK | X |
2 | TBAW0666TESTTAB.IXAW066602TESTTAB | TBAW0666TESTTAB.PK | X |
2 | TBAW0666TESTTAB.IXAW066602TESTTAB | TBAW0666TESTTAB.FELD2 | X |
2 | TBAW0666TESTTAB.IXAW066602TESTTAB | TBAW0666TESTTAB.FELD3 | X |
2 | TBAW0666TESTTAB.IXAW066602TESTTAB | TBAW0666TESTTAB.GUELTIG_AB | |
3 | TBAW0666TESTTAB.IXAW066603TESTTAB | FELD1 | X |
3 | TBAW0666TESTTAB.IXAW066603TESTTAB | GUELTIG_AB | X |
And the following importdefinition:
Table Indexdefinitionen=Table.Index.IndexColumn: Indexnumber=Comment, Indexname=<Parent>, Field=Column, Aufsteigend=Ascending
The 3 indexes are created, but not the indexcolumns, i tried both versions of fieldnames with tablename and without, i also switched on and of the option "create object if not exists", but no results, do i try to bind the field to the wrong object/collection within Table.IndexColumn?
Thanks for any advice
How can I add an attribute to an identifier in VB script? I've tried the following code:
attrib1.Identifier = identifier1
However, this replaces any other identifiers that the attribute belongs to. Ie: if originally attrib1 belonged to identifier2 and identifier3, after running the above, it will now only belong to identifier1.
Greetings,
Is it possible to deploy PowerDesigner Portal 16.1 in a Weblogic cluster server? If so, do we have to install a webdispatcher between the users and the weblogic server in order to dispatch the load between the nodes?
Looking forward to receive some feedback.
Thanks in advance,
Best regards,
MS
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.
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.
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):
Here's the join:
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.
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
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
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.
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
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 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:
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
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
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.
excessive delay in the process of reverse engineering with oracle database
Goal:
Create a OLTP and OLAP database, in SQL server 2012 ,automatically based on the database model you have created in Powerdesigner.
Problem:
Possible to do it? If yes, how do you do it?
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.
We have created a repositery on PowerAMC 16.5, connecting the database is ok.
All are in version 16.5.0.3983 (Viewer and PowerAMC).
We can'use the viewer because of the message:
"The repository does not contain all the required
definitions. It cannot be used with this version of the
Viewer."
What is wrong ?
Regards.
Christel Charabouska
GIE SV
I have a bunch of extensions defining extended objects and metadata for many existing objects in my metamodel. In my EA I have a model that includes an information base for objects that are reused all over the place - things like "networks" or 'servers", etc.
In order to make the creation of the Information Base a worthwhile exercise, I need to either include replicas or shortcuts in other models where I want to reuse these objects. Shortcuts are a bit of an issue as we are using Reports quite a bit and I am having issues getting at metadata when I use shortcuts. Replicas seem to be a better approach. Problem is that when I replicate, for objects where I have extended metadata that is an extended collection, the values do not show up in the replicate. Things that are defined as extended attributes make it over just fine it seems.
Am I missing something? Is there something I can do for this (making a copy works but that would seem to defeat the purpose of having a shareable Information Base)?
Thanks in advance for any advice.
Bruce
Hello,
I have multiple valid mappings defined in a model. Using vbscript I want to get the select statement but when I use map.selectsttement, I get an empty string.
Is there a solution to get the associated statement ?
Kr,
Thierry
Hello,
I'm currently working on an extended model for EAM model (technology diagram). My goal is to build a view of a SAP BI 4.0 CMS to provide an architecture visual map. Everything is working fine accessing all needed elements (reports, universes, ...) but I have a strange behavior using extended attributes.
Here's how it was done in PowerDesigner:
1. At the model level, few extended attributes and a form is defined to capture CMS connection parameters
2. I defined extended objects for a generic "BO Document" with specific stereotypes RichClient and Webi Document (to be extended later)
3. I defined also several extended objects for universes, connection, report instance
4. A specific script has been developped to connect and capture elements from the CMS
Problem description:
When capturing BO Document information, I use "SetExtendedAttribute" to save values but, in some cases, nothing is saved in the extended attribute.
Here's part of the script (decomposed for the demonstration):
and here's the result:
I really don't understand why I don't have the value in the extended attribute ?
Can you help ?
Kr,
Thierry
Hi,
Is it possible to make a reverse engineering of an IBM Banking Data Warehouse (BDW) with PowerDesigner v.15.3 ? How can I do it? Does someone have experience with this (type of) reverse ?
Thank you !
JDD