[Openroad-users] Included applications at runtime
Kim Ginnerup
kgi at bording.dk
Tue Nov 7 01:26:03 EST 2006
Hi Peter,
I misunderstood your problem.
I thought you knew what app you where after, but would like to know if it was installed.
There is an undocumented way to auto include applications. A little like core.plb.
I do not know the flags, but I experimented with the plb extension instead of img.
When I did that the application got automatically included. I had big problems getting it out again ;-)
Kim
________________________________
Fra: openroad-users-bounces at peerlessit.com [mailto:openroad-users-bounces at peerlessit.com] På vegne af Peter van Bennekom
Sendt: 6. november 2006 15:06
Til: International OpenROAD Users
Emne: Re: [Openroad-users] Included applications at runtime
Kim,
That gives you a list of all applications not necessarily the included ones - a certain app may or may not include the app the procedure is in. This information is known in the image (do a view of the image and it is listed there). And the document app can create this list so it must be readily available for core code but not exposed...
Peter
Peter van Bennekom | Senior Technical Architect | Infor | office: +1 (610) 407-8113 | fax: +1 (610) 407-8027
________________________________
From: openroad-users-bounces at peerlessit.com [mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Kim Ginnerup
Sent: Saturday, November 04, 2006 3:48 AM
To: International OpenROAD Users
Subject: Re: [Openroad-users] Included applications at runtime
Hi peter,
I have looked for that too. Without any luck.
The only way that I could come up with, was to search the directories: Current dir, II_W4GLAPPS_DIR, II_W4GLSYS_DIR, II_SYSTEM/ingres/w4glapps
Kim
________________________________
Fra: openroad-users-bounces at peerlessit.com [mailto:openroad-users-bounces at peerlessit.com] På vegne af Peter van Bennekom
Sendt: 31. oktober 2006 17:06
Til: OpenROAD Users
Emne: [Openroad-users] Included applications at runtime
Folks,
How do I get the list of included applications at runtime for a given application? I want to check if a certain app exist - our customers can customize our product as they see fit and at runtime I want to see if an app exist - if it does I want to call a predefined procedure.
I have tried to see if ParentApplication has an attribute but I cannot find any thing - I tried .inclApps (you never know) but that did not return anything. Source code database is not available in runtime environment. And I prefer not to write output to disk and then read / parse it (may run into all sorts of rights issues...).
Any help greatly appreciated.
Peter
Peter van Bennekom | Senior Technical Architect | Infor | office: +1 (610) 407-8113 | fax: +1 (610) 407-8027
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://peerlessit.com/pipermail/openroad-users/attachments/20061106/570710b0/attachment-0001.html
More information about the Openroad-users
mailing list