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

customize repository via vbscript

$
0
0

Hi, i search about how to change or add permissions to folders in the repository. But documentation from PD is not very helpfull.

I found code under vbs scripting folder from PD to read the structure but nothing about which properties in the classes are there to access the assigned permissions on a folder.

Could you please give me a hint if you know it ?

Thanks br


How to get rtf formatted text to Word by vbscript?

$
0
0

Hello,

 

I`m trying to export rtf formatted text from Descriptions and Annotations of PowerDesigner objects into MS Word document by vbscript. I cannot use Reports, that is not an option. The only way how to do this I`ve discovered so far, is to get the the plain text of the Description together with RTF tags (but not interpreted), write it to a new file and save it with the rtf extension. Then open this rtf file with MS Word (that will interpret rtf tags) and copy&paste this text alredy formatted text to the final MS Word document.

 

And I have to repeat this for each Description and Annotation that needs to be exported. This solution is definitely not nice, but the only one I`ve discovered so far. Any other advice how to do this more efficiently will be appreciated.

 

 

Thank you,

Ondrej Divis

change script generates code for unchanged objects

$
0
0

Hello,

 

i added some test data profiles to my columns and from this moment the tables are always included in any change script, that I generate for my database. How can I avoid this behaviour?

 

kind regards

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.

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

Reuse entity attributes by script

$
0
0

Hello,

 

I'm trying to reuse some data items by an event handler using script.

Fore example, i have a table : Table1{id,name,adress}, when i create a new table, the initilize script add all attributes of Table1 in this new table, so i have new_table{id,name,adress}.

 

Now the problem is when i drop Table2, i loose attributes of Table1.

 

Is there a function which allow us to reuse attributs ? Because i searched in the metamodel help file without any result

 

Thank you

Convert Object

$
0
0

Hi,

 

Is it possible to convert A DATAITEM to an EntityAttribute ? Or there is a way to create a EntityAttribute from a DATAITEM ?

 

I can create a new Attribute and give it the code name comment of my DATAITEM but i'm looking for another solution.

 

Thank you

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


change script generates code for unchanged objects

$
0
0

Hello,

 

i added some test data profiles to my columns and from this moment the tables are always included in any change script, that I generate for my database. How can I avoid this behaviour?

 

kind regards

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".

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.

model check doesn't validate sequences correctly

$
0
0

Hello,

 

we are using Oracle as DBMS and therefore sequences can only have names with maximum 30 characters.

But this isn't check correctly. The PD generates sequences with names which are greater than 30 characters and my script fails.

 

Any idea what is going wrong?

GTL Problem Checking existance of variables

$
0
0

Hi,

 

I'm using PD 15.3 on a win7 System.

In a pdm targeted to Oracle DBMS. Enhancing the generation of triggers I'm trying to request a variable not sure if it exists.

 

I use:

.set_value(v1,,new)

%v1?% shows: "true"

%v2?% Shows "true" while "false" is expected since v2 is not defined.

 

Trigger source will be generated from templates which are defined within an XEM model Extension. Under metaclass trigger I defined a "Generated File" which containes the same code snippet as above. The generated file shows up when previewing the trigger and there coding works as expected:

 

%v1?% shows "true"

%v2?% shows "false"

 

GTL seems to Interpret question marks different depending on use within a DBMS-Extension or use within XEM-Extension.

 

Can anybody help?

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?


Howto call a model-extension gtl-template from within trigger template?

$
0
0

Hi,

 

within a Trigger template or Trigger item template PD will find ( and execute ) templates which are located within several categories of dbms-extensions. But how can I call a template which is placed within model-Extension?

 

My template "Test" resides in xem-file "HuPExtV2" as follows: Profile\Shared\Templates\Helper\Test. Tracing will Show the exact Location as :

HupExtV2::Profile\Shared\Templates\Helper\Test.

 

Calling "Test" works from a "Generated Files" entry within Xem-Extension,  but does not work from a Trigger-Template.

 

I tried: "%HuPExtV2::Profile\Shared\Templates\Helper\Test%" but seems to be wrong Syntax.

 

Any help is appreciated

 

Regards

Wilko

How to get rtf formatted text to Word by vbscript?

$
0
0

Hello,

 

I`m trying to export rtf formatted text from Descriptions and Annotations of PowerDesigner objects into MS Word document by vbscript. I cannot use Reports, that is not an option. The only way how to do this I`ve discovered so far, is to get the the plain text of the Description together with RTF tags (but not interpreted), write it to a new file and save it with the rtf extension. Then open this rtf file with MS Word (that will interpret rtf tags) and copy&paste this text alredy formatted text to the final MS Word document.

 

And I have to repeat this for each Description and Annotation that needs to be exported. This solution is definitely not nice, but the only one I`ve discovered so far. Any other advice how to do this more efficiently will be appreciated.

 

 

Thank you,

Ondrej Divis

Checkin errors on repository after upgrade to PD 16.5

$
0
0

I'm getting the following error when checking in a document:

 

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

PowerDesigner - Error

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

The upgrade of the repository model failed.

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

OK  

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

 

And when I'm trying to do the same using the option "Create baseline version" I'm getting a different error:

 

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

Unexpected exception

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

d:\pddev\rmg\src\rmgdtb.cpp(4380): long __stdcall SRmgDbAccessManager::CreateModel(long,struct ISRepObject *,const class SString &,int,long *,const class SMap<struct ISRepObject *,long,struct SAsc<struct ISRepObject *>,struct SPair<struct ISRepObject *,long> > *,struct SRmgConsolidationProperties *,long)

   Consolidation of a new model

Caught: EXCEPTION_ACCESS_VIOLATION (Reading address 0x00000004)

Thrown from: 0x631EBD94

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

OK  

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

 

Using version 16.5.3.0 (4284)

Import from Libre Office or CSV

$
0
0

I'm working with a couple of organisations that don't have access to Excel in the same environment as PowerDesigner. Both of them want to import metadata from spreadsheets, but they can't. Has anyone (SAP?) written an import extension for CSV or Libre Ofiice, preferably one that works in the same way as the supplied Excel Import extension?

PowerDesigner for Hive/HBase

$
0
0

Wondering if anyone is using PowerDesigner for modeling tables for Hive and/or HBase? I have started a custom .xdb file for Hive but it falls short when dealing with complex data types and there are additional customizations needed that I have not figured out yet. I've heard that the next version will have some sort of support for big data, but no idea what that will look like.

Viewing all 1779 articles
Browse latest View live


Latest Images

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