Re: Firing One Active Link on Multiple Controls
Hi, I would suggest calling an ACTL Guide. This, to my thinking, is a prettier solution than PERFORM-ACTION-ACTIVE-LINK 1 BtnID. Best Regards - Misi, RRR AB, http://rrr.se I have one form that captures user inputs and I am trying to provide some sort of a help mechanism right next to each field. I created 10 different controls on the same form. One right next to each field. The idea is when a user clicks on the help button right next to any field, there should be a tooltip that displays a description about the field and what's expected as a valid entry. I created one active link that does a set field based on a keyword and returns the field ID, then another set field that does a lookup on the AR System Message Catalog and return a specific message based on the field ID. After that a message action displays the message into a tooltip. Everything works fine, except that I am not really sure how to attach the same active link to all the controls that I created. I need to reuse this active line instead of creating one single active link per help control. I was just wondering if is there any way to attach one active link multiple controls. Any ideas or thoughts would be highly appreciated. Attached a screenshot for my form Thanks In Advance. Moe. ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are
Re: EXTERNAL: Re: Firing One Active Link on Multiple Controls
Moe, You still need one active link per control. You could use the Active Link on each button to just call a Guide like Misi suggested. Each AL would set the ID of the button to a display only field and call the guide. Then you only need the one AL that finds and displays your help messages. --- John J. Reiser Remedy Developer/Administrator Senior Software Development Analyst Lockheed Martin - MS2 The star that burns twice as bright burns half as long. Pay close attention and be illuminated by its brilliance. - paraphrased by me -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Misi Mladoniczky Sent: Friday, December 23, 2011 8:33 AM To: arslist@ARSLIST.ORG Subject: EXTERNAL: Re: Firing One Active Link on Multiple Controls Hi, I would suggest calling an ACTL Guide. This, to my thinking, is a prettier solution than PERFORM-ACTION-ACTIVE-LINK 1 BtnID. Best Regards - Misi, RRR AB, http://rrr.se I have one form that captures user inputs and I am trying to provide some sort of a help mechanism right next to each field. I created 10 different controls on the same form. One right next to each field. The idea is when a user clicks on the help button right next to any field, there should be a tooltip that displays a description about the field and what's expected as a valid entry. I created one active link that does a set field based on a keyword and returns the field ID, then another set field that does a lookup on the AR System Message Catalog and return a specific message based on the field ID. After that a message action displays the message into a tooltip. Everything works fine, except that I am not really sure how to attach the same active link to all the controls that I created. I need to reuse this active line instead of creating one single active link per help control. I was just wondering if is there any way to attach one active link multiple controls. Any ideas or thoughts would be highly appreciated. Attached a screenshot for my form Thanks In Advance. Moe. __ _ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are smime.p7s Description: S/MIME cryptographic signature
Re: Firing One Active Link on Multiple Controls
Yes Misi, I agree with you on this one. I like being able to use the show relationships feature to cross reference code and the run process commands for re-using active links are immune to this. Apart from that they are pretty much unreadable anyway. Create a guide and then call it from each event. It ends up being about the same amount of code and it is much easier to follow for both developer and the code cross referencing systems. Rod Harris On 24 December 2011 00:32, Misi Mladoniczky m...@rrr.se wrote: Hi, I would suggest calling an ACTL Guide. This, to my thinking, is a prettier solution than PERFORM-ACTION-ACTIVE-LINK 1 BtnID. Best Regards - Misi, RRR AB, http://rrr.se I have one form that captures user inputs and I am trying to provide some sort of a help mechanism right next to each field. I created 10 different controls on the same form. One right next to each field. The idea is when a user clicks on the help button right next to any field, there should be a tooltip that displays a description about the field and what's expected as a valid entry. I created one active link that does a set field based on a keyword and returns the field ID, then another set field that does a lookup on the AR System Message Catalog and return a specific message based on the field ID. After that a message action displays the message into a tooltip. Everything works fine, except that I am not really sure how to attach the same active link to all the controls that I created. I need to reuse this active line instead of creating one single active link per help control. I was just wondering if is there any way to attach one active link multiple controls. Any ideas or thoughts would be highly appreciated. Attached a screenshot for my form Thanks In Advance. Moe. ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are
Firing One Active Link on Multiple Controls
I have one form that captures user inputs and I am trying to provide some sort of a help mechanism right next to each field. I created 10 different controls on the same form. One right next to each field. The idea is when a user clicks on the help button right next to any field, there should be a tooltip that displays a description about the field and what's expected as a valid entry. I created one active link that does a set field based on a keyword and returns the field ID, then another set field that does a lookup on the AR System Message Catalog and return a specific message based on the field ID. After that a message action displays the message into a tooltip. Everything works fine, except that I am not really sure how to attach the same active link to all the controls that I created. I need to reuse this active line instead of creating one single active link per help control. I was just wondering if is there any way to attach one active link multiple controls. Any ideas or thoughts would be highly appreciated. Attached a screenshot for my form Thanks In Advance. Moe. ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are attachment: HelpButtons.jpg
Re: Firing One Active Link on Multiple Controls
** This should help: Command: PERFORM-ACTION-ACTIVE-LINK Executes all active links associated with the specified Execute On condition (and field ID, as appropriate). The active links fire as if the Execute On condition indicated occurred. For example, PERFORM-ACTION-ACTIVE-LINK 8 specifies to run all On Modify active links as if a modify operation was performed. The active links fire, but no modify is actually performed. The options for this command are as follows: Button: PERFORM-ACTION-ACTIVE-LINK 1 field_ID Return/Table Dbl-Clk: PERFORM-ACTION-ACTIVE-LINK 2 field_ID Submit: PERFORM-ACTION-ACTIVE-LINK 4 Modify: PERFORM-ACTION-ACTIVE-LINK 8 Display: PERFORM-ACTION-ACTIVE-LINK 16 Menu Choice: PERFORM-ACTION-ACTIVE-LINK 128 field_ID Lose Focus: PERFORM-ACTION-ACTIVE-LINK 256 field_ID Set Default: PERFORM-ACTION-ACTIVE-LINK 512 Search: PERFORM-ACTION-ACTIVE-LINK 1024 After Modify: PERFORM-ACTION-ACTIVE-LINK 2048 After Submit: PERFORM-ACTION-ACTIVE-LINK 4096 Gain Focus: PERFORM-ACTION-ACTIVE-LINK 8192 field_ID Window Open: PERFORM-ACTION-ACTIVE-LINK 16384 Un-Display: PERFORM-ACTION-ACTIVE-LINK 65536 Window Close: PERFORM-ACTION-ACTIVE-LINK 32768 Copy To New: PERFORM-ACTION-ACTIVE-LINK 131072 Window Loaded: PERFORM-ACTION-ACTIVE-LINK 262144 Interval: PERFORM-ACTION-ACTIVE-LINK 524288 interval Event: PERFORM-ACTION-ACTIVE-LINK 1048576 Table Refresh: PERFORM-ACTION-ACTIVE-LINK 2097152 field_ID Hover On Label: PERFORM-ACTION-ACTIVE-LINK 4194304 field_ID Hover On Data: PERFORM-ACTION-ACTIVE-LINK 8388608 field_ID Hover On Field: PERFORM-ACTION-ACTIVE-LINK 16777216 field_ID Expand: PERFORM-ACTION-ACTIVE-LINK 33554432 field_ID Collapse: PERFORM-ACTION-ACTIVE-LINK 67108864 field_ID Brien On 12/22/2011 2:32 PM, Gmail wrote: ** I have one form that captures user inputs and I am trying to provide some sort of a help mechanism right next to each field. I created 10 different controls on the same form. One right next to each field. The idea is when a user clicks on the help button right next to any field, there should be a tooltip that displays a description about the field and whats expected as a valid entry. I created one active link that does a set field based on a keyword and returns the field ID, then another set field that does a lookup on the AR System Message Catalog and return a specific message based on the field ID. After that a message action displays the message into a tooltip. Everything works fine, except that I am not really sure how to attach the same active link to all the controls that I created. I need to reuse this active line instead of creating one single active link per help control. I was just wondering if is there any way to attach one active link multiple controls. Any ideas or thoughts would be highly appreciated. Attached a screenshot for my form Thanks In Advance. Moe. _attend WWRUG12 www.wwrug.com ARSlist: "Where the Answers Are"_ _attend WWRUG12 www.wwrug.com ARSlist: "Where the Answers Are"_
Re: Firing One Active Link on Multiple Controls
To expand on Brien's suggestion, what I have done is attach the AL that you want to reuse, to a hidden button. Then call PERFORM-ACTION-ACTIVE-LINK 1 Button_Field_ID So you are telling remedy to run the active links as if you clicked that button. James ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are