Skip to main content
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:38 AM UTC

Uniface 9: Anyway to use Session Panels to trigger startupshell triggers?

Anyway to use Session Panels to trigger startupshell triggers?

Author: bartonm@westinghouse.com (radarhead)

As the title asks, is it possible to use a custom function in a panel, at session level to trigger triggers in the startup shell? As far as I can tell Panels only let you trigger custom operations, Unfortunately the startup shell does not cater for operations.  I need it to trigger something (an include proc) at session level as I really don't want to have to add the operation trigger to the hundreds of forms we have in our application. I could use a menu but the visual impact of menus is just lacking compared to panels. Thanks in advance.

22 replies

Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:38 AM UTC

Anyway to use Session Panels to trigger startupshell triggers?

Author: bartonm@westinghouse.com (radarhead)

As the title asks, is it possible to use a custom function in a panel, at session level to trigger triggers in the startup shell? As far as I can tell Panels only let you trigger custom operations, Unfortunately the startup shell does not cater for operations.  I need it to trigger something (an include proc) at session level as I really don't want to have to add the operation trigger to the hundreds of forms we have in our application. I could use a menu but the visual impact of menus is just lacking compared to panels. Thanks in advance.

adkinsl said This was also my recollection of the conversation discussing access to the DICT in the future -- that the API would be the preferred method, but access would still be open to developers as it always had been. Unfortunately, that discussion happened at the last conference which was prior to my first Uniface 10 migration (hoping not to be my last). I've had several conversations with Uniface folks since then and while I still hate that I don't have access to the DICT currently in 10.2, I'm willing to wait on the promise that it will be restored in 10.3....along with other important functions already discussed at length with a "passenger". I'm hoping to possibly see these positive changes in New Orleans in February.....or at least hear about them if those last 1.5 sprints end up in a light job instead Laugh  

Don't think there was ever going to be any point in documenting DICT or providing UMETA to import with Uniface 10.2. We always knew, and were public with the fact that it was not the final thing, and was definitely going to change. 


Author: Adrian Gosbell (adrian.gosbell@synapse-i.jp)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:38 AM UTC

Anyway to use Session Panels to trigger startupshell triggers?

Author: bartonm@westinghouse.com (radarhead)

As the title asks, is it possible to use a custom function in a panel, at session level to trigger triggers in the startup shell? As far as I can tell Panels only let you trigger custom operations, Unfortunately the startup shell does not cater for operations.  I need it to trigger something (an include proc) at session level as I really don't want to have to add the operation trigger to the hundreds of forms we have in our application. I could use a menu but the visual impact of menus is just lacking compared to panels. Thanks in advance.

This was also my recollection of the conversation discussing access to the DICT in the future -- that the API would be the preferred method, but access would still be open to developers as it always had been. Unfortunately, that discussion happened at the last conference which was prior to my first Uniface 10 migration (hoping not to be my last). I've had several conversations with Uniface folks since then and while I still hate that I don't have access to the DICT currently in 10.2, I'm willing to wait on the promise that it will be restored in 10.3....along with other important functions already discussed at length with a "passenger". I'm hoping to possibly see these positive changes in New Orleans in February.....or at least hear about them if those last 1.5 sprints end up in a light job instead Laugh


Author: adkinsl (adkins.larry@gmail.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:38 AM UTC

Anyway to use Session Panels to trigger startupshell triggers?

Author: bartonm@westinghouse.com (radarhead)

As the title asks, is it possible to use a custom function in a panel, at session level to trigger triggers in the startup shell? As far as I can tell Panels only let you trigger custom operations, Unfortunately the startup shell does not cater for operations.  I need it to trigger something (an include proc) at session level as I really don't want to have to add the operation trigger to the hundreds of forms we have in our application. I could use a menu but the visual impact of menus is just lacking compared to panels. Thanks in advance.

Knut said Adrian, Of course there's a lot of water under the bridge since the last NAUUG - however the sentiment back then was for the lab to build a number of api functions on top of the repository and not give us access to DICT directly. If this has changed, I'll sit corrected and rejoice. Knut  

I don't think I said that Knut, I said that our preferred way was to provide APIs because they would be future proof against any future repository changes.  But it has always been our intention that we would document the Uniface 10 dictionary when complete (with Uniface 10.3). Even if we did not, we can't stop access to those tables.  So to put an end to any more fake news..  Unless something changes in the next couple of weeks. (1 1/2 sprints) The 10.3 release will have the finalised Uniface 10 repository, and will include the umeta file to import into the IDE. 


Author: Adrian Gosbell (adrian.gosbell@synapse-i.jp)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:38 AM UTC

Anyway to use Session Panels to trigger startupshell triggers?

Author: bartonm@westinghouse.com (radarhead)

As the title asks, is it possible to use a custom function in a panel, at session level to trigger triggers in the startup shell? As far as I can tell Panels only let you trigger custom operations, Unfortunately the startup shell does not cater for operations.  I need it to trigger something (an include proc) at session level as I really don't want to have to add the operation trigger to the hundreds of forms we have in our application. I could use a menu but the visual impact of menus is just lacking compared to panels. Thanks in advance.

Adrian, Of course there's a lot of water under the bridge since the last NAUUG - however the sentiment back then was for the lab to build a number of api functions on top of the repository and not give us access to DICT directly. If this has changed, I'll sit corrected and rejoice. Knut


Author: Knut (knut.dybendahl@gmail.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:38 AM UTC

Anyway to use Session Panels to trigger startupshell triggers?

Author: bartonm@westinghouse.com (radarhead)

As the title asks, is it possible to use a custom function in a panel, at session level to trigger triggers in the startup shell? As far as I can tell Panels only let you trigger custom operations, Unfortunately the startup shell does not cater for operations.  I need it to trigger something (an include proc) at session level as I really don't want to have to add the operation trigger to the hundreds of forms we have in our application. I could use a menu but the visual impact of menus is just lacking compared to panels. Thanks in advance.

Knut said Of course not - since they're seriously contemplating not to publish the data dictionary I'd say the lab is indeed saying "thou shall not". Knut  

are they? 


Author: Adrian Gosbell (adrian.gosbell@synapse-i.jp)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:38 AM UTC

Anyway to use Session Panels to trigger startupshell triggers?

Author: bartonm@westinghouse.com (radarhead)

As the title asks, is it possible to use a custom function in a panel, at session level to trigger triggers in the startup shell? As far as I can tell Panels only let you trigger custom operations, Unfortunately the startup shell does not cater for operations.  I need it to trigger something (an include proc) at session level as I really don't want to have to add the operation trigger to the hundreds of forms we have in our application. I could use a menu but the visual impact of menus is just lacking compared to panels. Thanks in advance.

Gilles, Of course not - since they're seriously contemplating not to publish the data dictionary I'd say the lab is indeed saying "thou shall not". Then again, I also believe in the 11th Commandment - "Thou shall not be found out.".... LaughLaugh Knut


Author: Knut (knut.dybendahl@gmail.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:38 AM UTC

Anyway to use Session Panels to trigger startupshell triggers?

Author: bartonm@westinghouse.com (radarhead)

As the title asks, is it possible to use a custom function in a panel, at session level to trigger triggers in the startup shell? As far as I can tell Panels only let you trigger custom operations, Unfortunately the startup shell does not cater for operations.  I need it to trigger something (an include proc) at session level as I really don't want to have to add the operation trigger to the hundreds of forms we have in our application. I could use a menu but the visual impact of menus is just lacking compared to panels. Thanks in advance.

Knut, Uniface does not want us to modify xml export file too ?  add include proc in  <DAT name="SFUNC" xml:space='preserve'> element and reimport.Cool Gilles.


Author: Gilles (gls.tools@free.fr)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:38 AM UTC

Anyway to use Session Panels to trigger startupshell triggers?

Author: bartonm@westinghouse.com (radarhead)

As the title asks, is it possible to use a custom function in a panel, at session level to trigger triggers in the startup shell? As far as I can tell Panels only let you trigger custom operations, Unfortunately the startup shell does not cater for operations.  I need it to trigger something (an include proc) at session level as I really don't want to have to add the operation trigger to the hundreds of forms we have in our application. I could use a menu but the visual impact of menus is just lacking compared to panels. Thanks in advance.

Uli - afaik - the powers in Amsterdam in their wisdom will decide how we're supposed to work (or not) - after all, Uniface is made by developers for developers.... I guess it really boils down to staying with Uniface 9.x until (if ever) we get the same level of flexibility in Uniface 10.... WinkWink


Author: Knut (knut.dybendahl@gmail.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:38 AM UTC

Anyway to use Session Panels to trigger startupshell triggers?

Author: bartonm@westinghouse.com (radarhead)

As the title asks, is it possible to use a custom function in a panel, at session level to trigger triggers in the startup shell? As far as I can tell Panels only let you trigger custom operations, Unfortunately the startup shell does not cater for operations.  I need it to trigger something (an include proc) at session level as I really don't want to have to add the operation trigger to the hundreds of forms we have in our application. I could use a menu but the visual impact of menus is just lacking compared to panels. Thanks in advance.

Knut: So what solution has the Lab to offer in this case?


Author: ulrich-merkel (ulrichmerkel@web.de)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:38 AM UTC

Anyway to use Session Panels to trigger startupshell triggers?

Author: bartonm@westinghouse.com (radarhead)

As the title asks, is it possible to use a custom function in a panel, at session level to trigger triggers in the startup shell? As far as I can tell Panels only let you trigger custom operations, Unfortunately the startup shell does not cater for operations.  I need it to trigger something (an include proc) at session level as I really don't want to have to add the operation trigger to the hundreds of forms we have in our application. I could use a menu but the visual impact of menus is just lacking compared to panels. Thanks in advance.

Uli, This is exactly the sort of solution the lab doesn't want us to do - ie. play with / use the META to do global updates - so stop it!.... Cool Knut


Author: Knut (knut.dybendahl@gmail.com)