For partners that build or integrate commercially available applications and service solutions with the Oracle Cloud Platform
For partners that provide implementation or managed services around Oracle Cloud Applications
I'm trying to figure out how to get at rule actions with-in a browser UI add-in.
We have a desktop add-in that does this, but those don't work on the browser UI, so I need to develop an equivalent add-in. Can somebody point me in the right direction please or can this not be done?
Comment
I am not sure if there is a more straightforward way to do this, but this may work: You add a rule action to fire a specific, unique named event and in the BUI add-in you listen for that event and if it fires, the rule was hit.
Average Rating:



1 rating
|
Sign in to rate this
Nice idea Vlad - that should work, but how do I then pass parameters?
The desktop add-in took rule actions like the following:
someAction someParameter
And on a related topic, how would I deal with the equivalent of RuleConditionInvoked?
Also, the workspace editor lets me select the control in a rule, which suggests this should be possible.
Be the first to rate this
|
Sign in to rate this
Hi Graham, I believe this is the relevant section from the documentation: http://documentation.custhelp.com/euf/assets/devdocs/unversioned/BUI_Extensibility/topicrefs/Invoking_global_actions.html
Hope this helps.
Jens Lundell
Oracle Service Cloud
Average Rating:



3 ratings
|
Sign in to rate this
Thanks Jens. That looks like its going in the right direction, but it isn't that obvious how to use it.
I am getting this error message now:
Here's what I tried:
*EDIT*
It seems that you have to log out of the AgentWeb site and back in again to pick up any changes to the browser add-in. So it does work - Thank you Jens.
Which just leaves the rule "condition" piece. How would I access that in a browser add-in?
Be the first to rate this
|
Sign in to rate this
For condition also the extension code remains the same only difference would be here you can return some value back from extension.
Be the first to rate this
|
Sign in to rate this
Thanks Naveen. It does indeed use the same code, but the return value seems to be ignored.
Whilst writing this comment, I tried again and it now works, so there seems to be more than the need to logout of the AgentWeb page and back in again - there seems to be some caching issue getting in the way, which is a bit of a pain when trying to test changes. That might be our proxy/network setup doing that, so can't say whether this is a RightNow issue or not, but it certainly hasn't helped in getting to the bottom of this.
So thanks all - no more questions.
Be the first to rate this
|
Sign in to rate this