Skip to main content
Solved

Global System Variables


Forum|alt.badge.img+6

Is there a way in IFS Apps 10 to set a global variable similar to how the $INSTANCE variable works in the connect readers? 

I am looking to set up something for an external REST Api I am using in event actions so that I do not have to manually update the endpoint URL every time I import an updated app package into my test and production environments.

Best answer by NSRJMITCHELL

I have not been able to find anything after extensive searching, but I did come up with a way to achieve this.

 

Under an Event you can create ‘Custom Attributes’ which allow you to make PL/SQL function calls. I simply added a new function in our custom utility API in PL/SQL that returns the value I need for the specific instance. Implement this in each of your instances (DEV, TEST, PROD, etc...) and when it calls the PL/SQL function it will get the correct value it needs. 

 

You can use the value in the Event Action just as you would any of the normal attributes that are passed from the event.

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

3 replies

Forum|alt.badge.img+9

@NSRJMITCHELL  Do you need to use context substitution variables within an external navigation link ?

Thanks

Sandun


Forum|alt.badge.img+6
  • Author
  • Do Gooder (Customer)
  • 17 replies
  • August 2, 2021

No, it is the end point URL in an Event Action


Forum|alt.badge.img+6
  • Author
  • Do Gooder (Customer)
  • 17 replies
  • Answer
  • August 4, 2021

I have not been able to find anything after extensive searching, but I did come up with a way to achieve this.

 

Under an Event you can create ‘Custom Attributes’ which allow you to make PL/SQL function calls. I simply added a new function in our custom utility API in PL/SQL that returns the value I need for the specific instance. Implement this in each of your instances (DEV, TEST, PROD, etc...) and when it calls the PL/SQL function it will get the correct value it needs. 

 

You can use the value in the Event Action just as you would any of the normal attributes that are passed from the event.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings