cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Export objects from a target (multiple libraries)

Former Member
0 Likes
703

Hi i need to export the data windows from multiple libraries that belong to a single target.

I know I can open each library, select the datawindows (all start with d_ as customary)  and then export them.

That will od except we have 100s of libraries and "forgetting" one is not an option.

Key points:

-- I need to get the source code files.

-- Don't worry about filtering by object  type. I can do it myself after the export if it's needed.

--  I do have access to the application, a solution involving a Power builder script or manipulations on the library painter will work.

-- using perl and Orca it's basically not an option,  If you have a solution with it please show it (It will help to fight management) but it's unlikely that I will be able to have Perl installed.

Sorry about grammar etc,  English is not my native tongue, any help will be appreciated.

J. Duncan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Try PBL Peeper. It has an Export function that will dump everything except OLE binaries. You could have an entire subtree or a whole disk of PBLs exported with a few mouse clicks.

Former Member
0 Likes

Hi Terry,

Thanks for  your help. I Have my target open on PBL Peeper but the manual don't  seem to help, neither the website.

In particular for exports it says:

"Exports Page

The first subpage represents what was the original function of what became PBL Peeper. The opportunity provided by the mass export and import is the power to use standard text oriented tools to make mass changes to objects. The Object Filter will be respected if defined."

What export page are they talking about? can it really export the objects as individual files?

Best regards,

J. Duncan

Former Member
0 Likes

Hi,

It seems that I found the way playing around with the interface.

Thanks

Answers (1)

Answers (1)

Former Member
0 Likes

Hi James;

  Suggestion:

1) Use the PowerBuilder Library functions to write a small utility that automates all that for you.

    LibraryDirectory ( )  &  LibraryExport ( )

2) Use PB's Native Source feature.

   - Check in all objects

   - scan through the Source Code repository directory and pick-up all .SRD (DataWindow) files.

HTH

Regards ... Chris