function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vivek singh08481200707119766vivek singh08481200707119766 

Please tell me what is hover in salesforce

Best Answer chosen by vivek singh08481200707119766
Michael DsozaMichael Dsoza
Hi Vivek,

Hover means displaying information through pop up window when cursor comes over a component.
In salesforce, you can see detail page of a record as mini page layout while moving your cursor on Id of that record.

The main purpose of hovering is to provide help, info etc...

Hope it will help you...

Thanks & Regards,
Michael

All Answers

Ashish_SFDCAshish_SFDC
Hi Vivek, 


Hover is another term for MOUSE OVER in HTML / Web Pages, a screen tip pops up when me hOVER our mouse pointer on a particular web component like a button or link or an image. 

Even in this community if you hover on your name it will show the community stats. 

See the detailed documentation below, 

http://www.techterms.com/definition/hover

http://www.webopedia.com/TERM/M/mouse_hover.html

With respect to salesforce it is used as Javascript function on Visualforce pages. 

See the below links, 

http://blog.internetcreations.com/2012/05/using-hover-help-text-in-visualforce/

http://salesforceworld.blogspot.in/2011/08/displaying-pop-up-summaries-on-hover-in.html


Regards,
Ashish
Michael DsozaMichael Dsoza
Hi Vivek,

Hover means displaying information through pop up window when cursor comes over a component.
In salesforce, you can see detail page of a record as mini page layout while moving your cursor on Id of that record.

The main purpose of hovering is to provide help, info etc...

Hope it will help you...

Thanks & Regards,
Michael
This was selected as the best answer
vivek singh08481200707119766vivek singh08481200707119766
This is trigger how we make its test class please reply  and plese make its test class lot of time i will make but no result this time code coverage is 0
______________________________________________________________
trigger makeInvoice on Opportunity (after insert, after update) {
   
    for(Opportunity op :trigger.new){
        if(op.StageName == 'Closed Won - Signed'){
           List<OpportunityLineItem> opli = new List<OpportunityLineItem>();
            opli = [select id,Gross__c, Product2id, OpportunityId from OpportunityLineItem where OpportunityId =: op.id order by Product2id];
            if(opli.size() > 0){
                String tmpId = '';
                List<Invoices__c> lstInvoice = new List<Invoices__c>();
                Invoices__c objInvoice = new Invoices__c();
                Integer lm = opli.size();
                Integer i = 1;
                for(OpportunityLineItem ob: opli){
                    if(tmpId == ''){
                        tmpId = ob.Product2id;
                        objInvoice = new Invoices__c();   
                        objInvoice.Opportunity_invoices__c = ob.OpportunityId;
                        objInvoice.Amount__c = ob.Gross__c;                                      
                    }else{
                        if(tmpId == ob.Product2id){
                            objInvoice.Amount__c = objInvoice.Amount__c + ob.Gross__c;
                        }else{
                            lstInvoice.add(objInvoice);
                            tmpId = ob.Product2id;
                            objInvoice = new Invoices__c();   
                            objInvoice.Opportunity_invoices__c = ob.OpportunityId;
                            objInvoice.Amount__c = ob.Gross__c;                           
                        }     
                    }
                    if(i == lm){
                        lstInvoice.add(objInvoice);
                    }
                    i++;
                }
                if(lstInvoice.size() > 0){
                    try{
                        insert lstInvoice;
                        system.debug('!Lst '+lstInvoice);
                    }catch(Exception e){
                        system.debug('!Bingo '+e);
                    }
                }
            }
        }
    }
}
KUMAR D 45KUMAR D 45
Are there any limiations(size of the Hover over) and character limit?