1. Ken Mcswain
  2. InfoMaker
  3. Friday, 30 November 2018

Hi 

I work with a largish commercial system which uses Infomaker as its user reporting engine.

Our site contains about 800 IM reports, some out of the box, a lot custom.

I would like to be able to produce a dataset of reports crosslinked to their subreports and source procedures (most of them are based on stored procs, not queries) in such a way that I can then link that dataset to the report setups in the app itself, and maintain a documentation database to use for reference.

 I have previously used PBDoc to generate output that I can manipulate into a db, and then used that, which is ok, but:

  • I don't think PBDoc is being maintained, so it will probably stop working now that Appeon is starting to make serious improvements
  • It would be much easier to be able to simply export the relevant bits of the PBLs directly into a db structure.

I suppose I could learn enough about the source file format to be able to parse out the information i'm interested in myself, but does anyone know if a tool like that exists already?

(I'm going to have a look at Visual Expert, but it looks like overkill for what I need, and would still require parsing out of html to get to what i want, i think.)

 

Any ideas?

 Ken

Chris Pollach Accepted Answer Pending Moderation
0
Votes
Undo

Hi Ken;

  AFAIK there are no plans (or need) to change the PBL structure. Its the related object source syntax that keeps changing due to new PB features. That is independent of the PBL structure though.

Regards ... Chris

Comment
There are no comments made yet.
  1. Friday, 30 November 2018
  2. InfoMaker
  3. # 1
Ken Mcswain Accepted Answer Pending Moderation
0
Votes
Undo

Hi Roland

Thx for that. Good to know.

But my understanding is that Appeon is powering ahead with long-overdue improvements, and i'm sure that at some point that's going to involve changes to the PBL structure that will break PBDoc, unless someone picks it up and maintains it. So I'd like to have another option, if it exists. And I'd love to have one that could automate - I have another client that will probably want to have this kind of reference built as well.

Do you know if the PBL structure is reliably documented anywhere, in case I have a rush of blood to the head and try to do it myself?

Ken

Comment
Thx

Looks like I can do what I want to do by using S�bastien Kirche's PBDumper tool to output the source code objects into files, then parsing the relevant lines and text bits out of those, and automating the process, with vbScript or something. Not pretty, but probably fairly simple, and worth doing, I think. So long as they're not about to suddenly decide to redo the whole thing in XML. :-)

Ken
  1. Ken Mcswain
  2. Friday, 30 November 2018
You can also use PBNative source control to extract the source code files if for some reason PBDumper doesn't work well.
  1. Roland Smith
  2. Friday, 30 November 2018
Hi Roland;



Good idea! I use native SCC all the time for code refactoring too! ;-)



Ken: You would need to attach the IM PBL's to the PB IDE in order to perform Roland's suggestion. However, I have successfully done this before many times.



Regards ... Chris

  1. Chris Pollach
  2. Friday, 30 November 2018
There are no comments made yet.
  1. Friday, 30 November 2018
  2. InfoMaker
  3. # 2
Roland Smith Accepted Answer Pending Moderation
0
Votes
Undo

InfoMaker uses the same PBL structure that PowerBuilder does and it has not changed since PB10 introduced Unicode.

I don't see any announced new features that would involve changes to the PBL structure or object internals.

Comment
There are no comments made yet.
  1. Friday, 30 November 2018
  2. InfoMaker
  3. # 3
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.