How to trigger a pop-up on click of dial button on IC web UI - CRM 7.0
I want to enahcne the standard button 'Dial' that is displayed on Interaction center web UI.
I am trying to show a custom popup with list of phone numbers of the BP for the sales agent to select from.
I created the custom component to display the data but I am not able to locate the event handler to trigger the pop-up from.
Can anybody help me with this?
Thanks in advance,
Nalini.
Hi Ram,
I am still facing problems in the same. I am doing the steps as below.
Please see if there is anything wrong or anything else that I need to do. In my case, the method IF_CRM_IC_EVENT_LISTENER~HANDLE_EVENT for the custom controller is not getting triggered where i am handling the event.
Do I need to call the same explicitly?
Class: ZL_CRMCMP_I_CUCOHIDDENVIE_IMPL
Attribute: G_INSTANCE Static Attribute Private Type Ref To ZL_CRMCMP_I_CUCOHIDDENVIE_IMPL
Method : GET_INSTANCE Static Method Public
parameters: RV_INSTANCE Returning Type Ref To ZL_CRMCMP_I_CUCOHIDDENVIE_IMPL
code:
if g_instance is not bound.
create object g_instance.
endif.
rv_instance = g_instance.
Method CONSTRUCTOR.
Code:
CALL METHOD SUPER->CONSTRUCTOR
constants: lc_start_event type string value 'InteractionEnded'.
data: lr_event_service type ref to cl_crm_ic_event_srv.
subsrbing for the event.
lr_event_service ?= cl_crm_ic_services=>get_event_srv_instance( ).
check whether the service is bound.
if lr_event_service is bound.
call method lr_event_service->if_crm_ic_event_srv~subscribe
exporting
event_name = lc_start_event
listener = me.
endif.
method IF_CRM_IC_EVENT_LISTENER~HANDLE_EVENT.
data: name type string.
name = event->get_name( ).
CASE name.
WHEN 'END'.
code to create pop up
WHEN OTHERS.
ENDCASE.
Enhanced class : CL_CRMCMP_I_HIDDENVIEW_IMPL
If i create the post exit for method DO_INIT, it is not triggered when the END button is clicked.
Post Exit for method IF_CRM_IC_EVENT_LISTENER~HANDLE_EVENT
code:
data:lr_inst type ref to zl_crmcmp_i_cucohiddenvie_impl.
CALL METHOD zl_crmcmp_i_cucohiddenvie_impl=>get_instance
receiving
rv_instance = lr_inst
Please help me. I need to deliver this ASAP. My exact requiremnt is to dispaly a pop up wen END button is clicked. If user selects Yes, the data shall be saved as per the standard functionality of the END button and I he selects No, then the data shall not be saved
Thanks in advance,
Alka Gangal
Similar Messages
-
How to Validate a User on the click of a button in Oracle APEX
Hi,
How to Validate a User on the click of a button in Oracle APEX.
say for e.g: I want to allow only a specific user to go beyond after clicking on a button and restrict all the other Users. Any ideas please.
Thanks in Advance,
AfWell , the actual idea was to hide the button for specific users and show the button only for some specific users... is this possible...?
@ AndyH: yeah, what you have suggested also fits well for my requirement... Could you please let me know how can i achieve it...
Regards,
Af -
How to close the detach popup on click of a button in the panel collection
Hi,
I'm using Jdeveloper 11.1.2.3.0.
I have an af table surrounded by panel collection. There is a button on panel collection to commit the changes in the table.
Clicked detach button to view the table in full browser.
On click of Commit button, the detach popup is not closed. I have set partialSubmit of that button to false. Then also detach popup is not closed.
Can anybody suggest me how to close the detach popup on click of a button in the toolbar.
Thanks,
VinodHi Frank,
Thanks for your response. Popup is not closed.
I tried this approach, when the view tree is navigated on the Detach, I see that the tree is same as if it is traversed on the page without detach.
Printed client id and UI component class in the while loop, result is as below.
r1:0:pc1:t3 class oracle.adf.view.rich.component.rich.layout.RichToolbar
r1:0:pc1 class oracle.adf.view.rich.component.rich.output.RichPanelCollection
r1:0:ph2 class oracle.adf.view.rich.component.rich.layout.RichPanelHeader
r1:0:pgl1 class oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout
r1 class oracle.adf.view.rich.component.rich.fragment.RichRegion
pgl1 class oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout
db2 class oracle.adf.view.rich.component.rich.layout.RichDecorativeBox
db1 class oracle.adf.view.rich.component.rich.layout.RichDecorativeBox
psl1 class oracle.adf.view.rich.component.rich.layout.RichPanelStretchLayout
ps1 class oracle.adf.view.rich.component.rich.layout.RichPanelSplitter
f1 class oracle.adf.view.rich.component.rich.RichForm
Tried with setting partialsubmit property to false on the command button, still the popup is not closed and my Faces Message are shown behind the detach popup.
Thanks,
Vinod -
How to cancelling email submission after user clicks "yes/no" button of message box?
could some one tell me, how can i cancelling the submission event after one user clicks "yes/no" button of message box? The scenario is the following:
After data input in a dynamic form clicks the user send mail button. Before the email submit, the user has to decide going back to the form and validate the input or continuing to submit email.
In case of going back to validate input the submission event must not solve. So, how can i implemente it in java and/or form calc script?
Thanks so much for your help in advance and i am very glad to hearing from you soon!
DjingesHello,
The most easy way to solve your problem is to add two buttons, the first should be regular button and the second is submit by e-mail one. Set the
'presence' property of the second to 'hidden' and add to it your email address. To the first button on 'click' event add the script like this
form1.#subform[0].Button1::click - (JavaScript, client)
var answer = xfa.host.messageBox("Send e-mail?","e-mail",2,1);
if(answer==1){
EmailSubmitButton1.execEvent('click');
Hope this helps. -
How to get current view name on clicking device back button?
Hi,
iam wriing a function for handling device back button(in android) press in my app.controller.js .How to get current viewname when clicking device back button.
code samples will be helpful.
my app.controller.js looks like below
sap.ui.controller("com.opensap.App", {
onInit : function() {
document.addEventListener("deviceready", onDeviceReady, false);
onBeforeShow : function(evt) {
navButtonTap : function(evt) {
function onBackKeyDown(){
//alert("hai");
//sap.ui.getCore().byId("SalesDetail").app.backToPage("ProductList");
//sap.ui.getCore().byId("ProductList").app.backToPage("Dashboard");
//sap.ui.getCore().byId("SupplierDetail").app.backToPage("Dashboard");
function onDeviceReady(){
document.addEventListener("backbutton", onBackKeyDown, false);I somehow managed to find the solution
function onBackKeyDown(){
var app = sap.ui.getCore().byId("LoginDetail").app;
app.back(); -
How to point to another tab on click of a button in another tab?
Hi all,
I am creating an application in which I am using Tabbar and then referring separate canvas for each tab using viewstack.Now I have a button in in one tab and on click of the button i need to open another tab.For reusability i have created separate mxml for each functionality of subtabs.Please help me on how to link the click of button in one tab screen to another tab.
Thanks in advance.I would suggest creating a custom event that contains the index of the tab (viewstack child) you are wanting to move too. The button would dispatch the event and the tab navigator would require an eventListener to listen for the event type. The handler for the eventListner would then take the index passed and make the change myViewStack.selectedIndex=2 (or whatever the custom event contained)
Note: you could also pass the name of the tab you were wanting to move to and set it that way.
-Joe -
How to invoke a task flow on click of a button(CommandToolbarButton)
hi All,
I'm using JDev11g, ADF BC.
Case Background: I'm designing a screen which has a summary and detail screen in same page. I'm displaying a table from which the user would select a row and click on a button to invoke an action through the Task Flow. In the Task flow i have two fragments one to view the record and other to edit the record. The form to view is read-only and the other is editable.
Problem: I'm not able to invoke the task flow from click of the button, it just refreshes the page.
I would like to know how to fix this issue.
-JyothiHi,
can i include page-fragments(.jsff) in the task-flow which is invoked by the select button in the page(.jspx). I would like to know if that could be a reason for the error.
-Jyothi -
How to control what VoiceOver says when clicking a radio button in Safari?
Hello-
I am developing a web page that I want to work in Safari & VoiceOver. Does anyone know how I can:
1) control what VO says when it is hovering over a radio button (ideally some alt text or title attribute)
2) control what VO says when I click a radio button in Safari (right now, it seems to say 'Group').
I have tried to put the radio buttons in a fieldset, tried tons of attributes in the input tag (including alt, title, desc, description), but nothing seems to change.
Here is a URL where you can hear what I'm talking about: http://postcalc.usps.gov/
Turn on VoiceOver (try Cmd+F5), pull up the URL and hover over the 'letter' or 'large envelope' radio buttons, then click one of them. It says 'group'. I'd like it to say 'letter option selected' or something.
Thanks for any & all help!
Seth
PS: I do know about the <label> tag. I've tried surrounding my <input> tag with a label and using <label for="someID">, but it doesn't seem to help.Thank you for the suggestion...it does work and fires the event, but it is still not selecting the current record when I try to perform an Update or Delete.
I had to modify your code a bit in order for it work in JDev 10...used the JUCtrlValueBindingRef instead of the FacesCtrlHierNodeBinding.
Here is what my af:table tag looks like:
<af:table value="#{bindings.FeesView1.collectionModel}"
var="row" rows="#{bindings.Fees001View1.rangeSize}"
first="#{bindings.FeesView1.rangeStart}"
emptyText="#{bindings.FeesView1.viewable ? \'No rows yet.\' : \'Access Denied.\'}"
selectionListener="#{backing_viewFees.tableSelectOne1_attributeChangeListener}"
binding="#{backing_viewFees.table1}" id="table1">
If I put back my 2 original attributes, then my Delete and Updates work.
selectionState="#{bindings.FeesView1.collectionModel.selectedRow}"
selectionListener="#{bindings.FeesView1.collectionModel.makeCurrent}"
Here is my code in the backing bean:
public void tableSelectOne1_attributeChangeListener(SelectionEvent selectionEvent) {
JUCtrlValueBindingRef binding = (JUCtrlValueBindingRef)this.getTable1().getSelectedRowData();
if (binding != null) {
Row currentRow = binding.getRow();
if (currentRow != null) {
System.out.println(currentRow.getAttribute("CurrentRecordInd")); // this does print my selected value!!!!
} -
How to skip validations in ADF on click of cancel button
Hi,
I am new to this technology. i Have used ADF components required property to do Required filed validations. Whne i click on Cancel button i dont want the validations to get executed. How to skip validations in ths case?
I am using ADF 11g and JSF 2.2Set immediate property of the cancel button to true.
Check this out.
http://jobinesh.blogspot.com/2009/08/how-to-skip-validation.html
-Arun -
BDC - How to ignore skipped screens when user click on back button
Hello all,
I am working on a module pool program. From this custom transaction I am calling a standard SAP screen using BAC call transaction. I am calling this screen by skipping 2-3 screens and user can directly see the 3 screen on an event on my custom transaction.
Now my issue is whenever the user want to back, he clicks on back button then user have to back from all the screens that I skipped.
Is this any way by which if user click on back then he can directly go to my custom transaction.
Please suggest.
FYI..
I am calling IA06 - Inspection characterstics screen from my custom screen using BDC.
Thanks,
Sanket SethiHi Jovito,
I also think the same that it's not possible. Now my issue is how to get my requirement.
FYI..
To open Classification screen directly we have a function module CLFM_OBJECT_CLASSIFICATION. But if I want to open IA06
Inspection characterstics screen we don't have any FM or API to do the same.
So how will I get my requirement done. That why I use the BDC call transaction to open IA06 Insp. characterstics screen but here I am facing this Back issue.
Please advice if there is any suggestion. -
How to make a repeating section by clicking on a 'button'
Hello,
I am creating a form and there is a secion for 'Add a Dependent'. The form only show enough fields for one dependent. I have created a button that says 'Add a Dependent'. When the user clicks on this button I would like the section to show up again, asking for the information for the new dependent. Also, there will be a cancel button so that if they click on 'add a dependent' too many times, they can cancel each one individually if needed.The purpose for this is because it will take up much less space in the form. Can anyone help?
Thank you in advance,
NikHere is what I did for making the Subform repeat..
Selected the Dependants subform and went to the Binding tab, checked the cehckbox "Repeat Subform each Data Item"..
Placed the below code in the click event of the Add Dependant button.
Dependants.instanceManager.addInstance(1);
Placed the below code in the Click event of the "X" button:
if
(this.parent.index>0)
Registration.content.Dependants.instanceManager.removeInstance(this.parent.index);
Placed the below code in the Initialize event of the "X" button:
if(this.parent.index==0)
this.presence = "hidden";
Let me know if you have any issues..
Thanks
Srini -
How can we open a file by clicking on a button "open" in a pplet
Hello all,,,
I got some code to open a file in jre witout applets ....but i'm in need to open a file (for exmple to open a .txt file in text editor or notepad automatically by clicking on a button);
Help me out...
Thank you...pradeepprp wrote:
Hello all,,,
I got some code to open a file in jre witout applets ....but i'm in need to open a file.. On the server or client?
..(for exmple to open a .txt file in text editor or notepad automatically by clicking on a button);Earlier you mention 'open a file in jre', which implies maybe using a JEditorPane or similar to load the file contents into a JVM. Since the system generic 'text editor' and specifically 'notepad' are not embeddable in anything that can be put in a Java GUI, I am now confused as to whether you want to load the file within a Java based GUI or not. Which is it?
Help me out...Buy me an ice-cream. A nice, big, ice-cream.
People on forums do not generally take kindly to being told what to do, so it is better to turn commands like that into requests. The way to do that can be as easy as adding 'please' at the start of the command. -
Trigger a WD Application on click of a button
Hi,
Could anyone please tell me the steps involved in triggering a webdynpro application on click of a button ?
I have created the webdynpro application. The button is "Create Follow-on RFx" which is associated with event "FOLLOWON_RFQ"
Thank you,
Pavan Maladkar
Moderator Message: Please use meaningful subject lines for your posts.
Edited by: Suhas Saha on Jul 18, 2011 3:13 PMHi,
Could anyone please tell me the steps involved in triggering a webdynpro application on click of a button ?
I have created the webdynpro application. The button is "Create Follow-on RFx" which is associated with event "FOLLOWON_RFQ"
Thank you,
Pavan Maladkar
Moderator Message: Please use meaningful subject lines for your posts.
Edited by: Suhas Saha on Jul 18, 2011 3:13 PM -
Contacts not showing after clicking on dial button
Hi Everyone,
I am new to this forum, we are currenlty testing the new Blackberry Z10 to be used in our company.
I came across a problem that with a user with his contacts, we are using the Microsft Active Synch option with a traveler server. The contacts are all synching fine etc. Now the problem is that when clicking on the dial button I only see the standard sim card contacts. Somehow it does not show the contacts
When going to contacts they are all there. Also when I dial from those contacts the name does not come up it only shows the number in dial menu. Looks like a bug or a incorrect setting on the device.
Can someone reply to this
Thanks in advance!
HesperusTry rebooting the device by long pressing the lock button and selecting restart. That should mostly resolve the problem. The phone app at times takes time to show the contacts corresponding to the phone numbers.
Twitter: @ukmight
1. Click on the " Like " button if you find anything helpful posted.
2. If any of the replies in your post has resolved your problem, mark the reply(ies) as " Solution ", so that others can readily view the solution instead of creating another redundant post. -
How to open a new window on click of a button, for printing stuffs in adf
Hi ADF Experts,
Jdeveloper 11.1.1.7.0 version.
I am having a Print Button. On click of this I want to open a new window? how is it possible. Note it should not be a popup or panelwindow.
Please suggest.
Thanks,
RoyCheck out Frank's article http://www.oracle.com/technetwork/developer-tools/adf/learnmore/95-printable-pages-1501392.pdf which come with a sample at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/95-printable-pages-1501393.zip
Timo
Maybe you are looking for
-
From where can I download sample warehouse_inventory.xsd
From where can I download following sample files: There is no file (from the files below) on this location http://www.oracle.com/technology/products/reports/index.html Examples\XML_PDS\result\inventory_report.pdf The final PDF version of the paper re
-
Optional Components Fail to Install with Illustrator CS6 via Creative Cloud on Windows 8
Hello, I'm a paid subscriber to the creative cloud and I'm having a problem with installing Illustrator CS6 through the Adobe Application Manager on Windows 8 64-Bit. I've tried redownloading and reinstalling through the app multiple times to no avai
-
How do i erase photos in iPAD2 camera roll and photo stream?
Anyone here knows how i can delete or erase photos in iPAD2's camera roll and photo stream? Please advise asap. Thanks.
-
Just swapping from PC to lovely very lovely iMac. Am wondering if it is possible to transfer my Outlook address book and Calendar into either Mail, iCal or Entourage. I've not been able to find a way yet. Any help will be most gratefully received, I'
-
DIR creation in easyDMS through template
Hi, Is there anyway to create DIR in easyDMS through template. Thanks. Anirudh,