• zubair shareef mohammad
  • NEWBIE
  • 40 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 12
    Questions
  • 5
    Replies
Hi this is ZUBER,
              I am getting this error while i am executing my code please any one help me to overcome this error
"This page has an error. You might just need to refresh it. Error during init [This application contains a reference to the force:record component, which is not supported by this application.]"
Thanks
Hi to every one
this is Zuber
Can anyone please give me a breif explanation on "Duplicate Managment", How to avoid on creation of duplicate records by using Duplicate managment 
Hi this is Zuber
I am written a code on navigating a page, but I cant execute 
Please help me anyone
------------------------------------------
VF Page Code:
-------------
<apex:page sidebar="false" setup="false" showHeader="true" tabStyle="Customer__c" controller="SourcePageController" >
<apex:sectionHeader title="Source Page" subtitle="Page Navigation"/>
<apex:form >
    <apex:pageblock title="Source Page Block">
        <apex:pageblockSection title="Source Page Section" collapsible="false" columns="1">
            <apex:inputtext label="Enter Customer Id : " value="{!customerId}"/>
            <apex:inputtext label="Enter Customer Name: " value="{!customerName}"/>
            <apex:commandButton value="Goto Target Page" action="{!GotoTargetPage}"/>
        </apex:pageblockSection>
    </apex:pageblock>
</apex:form>
</apex:page>
--------------------------------------------------------------------------------------

Controller Class:
-----------------
public class SourcePageController 
{
    Public string customerId{get;set;}
    Public string customerName {get;set;}
    Public PageReference GotoTargetPage()
    {
        //Pagereference pgRef = new PageReference('/apex/TargetPage?custId='+customerId +'&custName='+customerName);
      PageReference pgRef = Page.TargetPage;
        pgRef.getParameters().Put('custID',customerId);
        pgRef.getParameters().Put('custName',CustomerNAme);
        pgRef.SetRedirect(true);
        return pgRef;
    }
}
 
hi this is zuber
this is the visual page code and controller class return by me
and i am not getting associated contacts what mistake i did here please help to get my mistake
=======================================================================
<apex:page sidebar="false" controller="getrelatedcontacts" action="{!getaccounts}">
<apex:sectionHeader title="contacts of accounts"/>
<apex:form >
<apex:pageBlock >
<apex:actionRegion >
<apex:selectList size="1" multiselect="false" label="Account" value="{!selectedid}">
<apex:selectOptions value="{!listoptions}">
<apex:actionSupport event="onchange" action="{!getcontacts}" reRender="aj"/>
</apex:selectOptions>
</apex:selectList>
</apex:actionRegion>
<apex:pageBlockTable value="{!listcontact}" var="a" id="aj">
<apex:column headerValue="first name" value="{!a.firstname}"/>
<apex:column headerValue="second name" value="{!a.lastname}"/>
<apex:column headerValue="phone" value="{!a.phone}"/>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:form>
</apex:page>
------------------------------------------------------
public class getrelatedcontacts 
{
Public list<selectoption> listoptions{get;set;}
Public list<contact> listcontact{get;set;}
Public string selectedid{get;set;}

Public void getaccounts()
{
list<account> listaccounts = [select id, name from account order by name];
if(!listaccounts.isempty())
{
listoptions = new list<selectoption>();
for(account acc: listaccounts)
{
listoptions.add(new selectoption(acc.id, acc.name));
}
}
}
Public void getcontacts()
{
listcontact = new list<contact>();
listcontact = [select id, firstname, lastname, phone from contact where accountid =: selectedid];
}
}
Hi 
I am little bit confused in Flows and plugins and usage in apex 
So any one can give clear explanation in that
thank you
 
hi, 
Can any one give breif explain about Custom data and how to access the data from custom settings?
Thanks every one
can any one help me in giving brief discription on NON PROFIT in salesforce ?
and on salesforce 1 platform ?
can any one help me in giving brief description of sales cloud, service cloud and marketing cloud ? 

thank you,
Hi, this is zuber

1) Using Soql quiers can we fetch 1 lakh records ?
2) by using Soql, I am fecthing 1000 records if it takes 1 min to fetch then how can we reduce the fectching time ? Is there is any way ?
3) How to reduce the number of soqls in a transaction ?

Please give me clear description on this topics 
Thank you
Hello 
can we controll the execution of a trigger, If we create two triggers on the same object
Is there any way to control the execution order
Hello every one,
visual pages takes more time to load why?
what are the reasions 
Please give me more explanation
Thank you Ever one
If I have to fetch 1000 records through Soql but I have to reduce the execution time, how it is possible ?
Hi this is ZUBER,
              I am getting this error while i am executing my code please any one help me to overcome this error
"This page has an error. You might just need to refresh it. Error during init [This application contains a reference to the force:record component, which is not supported by this application.]"
Thanks
can any one help me in giving brief discription on NON PROFIT in salesforce ?
and on salesforce 1 platform ?
can any one help me in giving brief description of sales cloud, service cloud and marketing cloud ? 

thank you,
Hello 
can we controll the execution of a trigger, If we create two triggers on the same object
Is there any way to control the execution order