• Devendra Keshari
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 7
    Questions
  • 0
    Replies
I am getting this issue when calling apex method from java script controller with passing the record id as a parameter.
Please let me know the issue.

I have a requirement to create one prechat form for live agent in form should be a custom id field on the bais of that field we will find account if account exist then we will create a case and  agent record.

Please help me how to create the form.

 

I have 2 profile 1 is System admin and another one is Custom profile.In System profile quote's syncs button is visible but under the my custom profile it is invisible.Also i have checked my layout it is assign on layout.

Please assist me ASAP
Hello all,
I am facing an issue with lightning action button on account object on pressing the button it should be redirect to report object with merge field value of account object.

Please let me know how to implements in lightning.As i am new in lightning.
Thanks in advance!!!!

Hello All,

I have one scenerios in which we have to get the current id of record on clicking "Edit"(Command Link).For this i use  a <apex:param> but its not working.Please review my code and let me know my error. I am pasting my Code as follow:-\


<apex:page controller="ContactWithAccount">
    <apex:form  id="form">
  Account <apex:inputField value="{!objContact.Accountid}"/>
 <apex:commandButton  action="{!getContact}" title="Get Contact" value="Get Contact"/> 
 
  
      <apex:pageBlock id="hiddenBlock">
          <apex:pageBlockTable value="{!lstContact}" var ="Con">
              <apex:column>
                  <apex:commandLink value="Edit" action="{!edit}" />|<apex:commandLink value="Delete" action="{!deletevalue}"/>
                      <apex:param value="{!Con.id}" assignTo="{!Selectedid}"/>
              </apex:column>
              
              
              <apex:column value="{!Con.Name}"/> 
          
          
          </apex:pageBlockTable>
          
      
      
      </apex:pageBlock>
  
  </apex:form>
</apex:page>

And My Controller is as follows:-


public class ContactWithAccount{
    public Contact objContact{get;set;}
    public List<Contact>lstContact{get;set;}
    public String Selectedid{get;set;}
    public List<Contact>lstContact1{get;set;}
    
    
    public ContactWithAccount(){
        objContact = new Contact();
        lstContact = new List<Contact>();
        lstContact1 = new List<Contact>();
    
    
    }
    public void getContact(){
       lstContact = [select Name from contact where AccountId =:objContact.AccountId];
           
     }
     public void edit(){
          lstContact1 = [select Name from contact where AccountId =:Selectedid];
          for(Contact objCon :lstContact1 ){
              if(objCon.id ==Selectedid )
              {
                  
              
              
              }
              System.debug('_______________lstContact1_____________________________________________'+lstContact1);
               System.debug('_______________Selectedid_____________________________________________'+Selectedid);
          
          }
     
     
     }
     public void deletevalue(){
         
     
     
     } 
     



}

Currently  getting value of "   System.debug('_______________Selectedid_____________________________________________'+Selectedid); "
is "null"

Awaiting for your replies!!!
Thanks in advance.

Hello Sir
 I need a Help on Showing Standard View to Visualforce page. The View which is shown on image need  to show on vf page
and my code to show List is
  <apex:pageBlockSectionItem >
                <apex:outputLabel for="listView" value="List View" />
                    <apex:selectList id="listView" value="{!filterId}" size="1">
                        <apex:selectOptions value="{!listViewOptions}" />
                    </apex:selectList>
                </apex:pageBlockSectionItem>
also its show view list on page but its not working the functionality as in standard Page