• RaviKumar
  • NEWBIE
  • 50 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 15
    Questions
  • 7
    Replies
Below Scenario:
Step1. I have created a case and assigned it to a Queue(For Ex:Q1)
Step2. One of the users(Usr1) belongs to that Queue (Q1) accepted the case
Step3. Usr1 becomes the owner of that Case
Step4. Now User(Usr1) want to send back case to the same Queue-Q1

How to find the Queue Name/Id where the users picks the Case?
How can we find it?
Any direct solution or Alternate?

Howwww?
  1. I insert comment on CaseFeed logged in as a System admin Profile.
  2. I have Chatter Free License User.
  3. I want those comments can alse visible to Chatter free license user and can able to Comment on those feed.

Plz any Suggestions and Approaches for above Scenario.
PKB not installing in my Developer edition.
Every time i'm getting below error message..
May i know what is preventing to install.

User-added image

Thanks in Advance.
What is Knowledge article, Case Article, Case, Data Categories?
How these related to each other? What type of relation between them?

Are they Objects or what?
Can i use apex to get records of each?

 
What is External Data Source? How to Configure while creation?
What is "URL" field?, what type of URL we have to give. (Where & How) to get that URL?

Thanks in Advance
I have a VF page to display Account records.

In that page records should display in the Sorting order based on AccountName.
For ex:
Account records:
Before Sort
{Dormat, Bake, Neil, Alkem}
After Sort
{Alkem, Bake,, Dormat,  Neil, }

How to achieve this in VF page...?


 
Can't we delete Records by using Map Collection Type....?

Map<Id, Account> m = new Map<Id,Account>([Select id from Account Limit 3]);
delete m;

How to achieve by using Map?

 
Wrapper class is for displaying the 2 different objects records in One tableor Objects with Checkbox.Till here It's clear.
My Question is
For example: I am using 2 objects say Account, Opportunity
While displaying all the Account and Opportunity records, i got a doubt that If Account have 100 records and Opportunity have 40 records.
Then How to write the Loop for that requirement
?
<apex:page controller="VF10ActionRegion_Control" >
    <apex:form >
    <apex:pageMessage id="MyMess" severity="info"></apex:pageMessage>

        <apex:outputText >Account Name:</apex:outputText>
        <apex:actionRegion >

        <apex:InputText value="{!recAccNo}"/>
        <apex:commandButton action="{!recordFill}" value="Search"/>
        
        <apex:pageBlock >
        <apex:pageBlockSection >
        <apex:pageBlockTable value="{!accObj}" var="a">
 <table>
 <tr>
<td> <apex:outputLabel value="Account Type"> </apex:outputLabel> </td>
<td> <apex:inputField value="{!a.name}"/> </td>
</tr>
</table>
        
            <apex:outputField value="{!a.name}"/>
        
          <apex:outputText value="{!a.name}"/>
          </apex:pageBlockTable>
        </apex:pageBlockSection>

         </apex:pageBlock>
        </apex:actionRegion>

    </apex:form>
</apex:page>

***********************************
public class VF10ActionRegion_Control {

  Public String recAccNo{set; get;}
  Public List<Account> accObj{ get; set;}

    public void recordFill() {
       If(recAccNo != null && recAccNo != ''){
           accObj = [Select name from Account where name =: recAccNo];
           system.debug(accObj);
           
        }else{
         accObj = null;
        }
    }

}
For account there is related list of contacts. I want to know that how many contacts are there for that account.
Query should be Parent To Child like  
" SELECT Name, ( SELECT LastName FROM Contacts ) FROM Account"
Use Case: because I want to write trigger on Account and limits that for every account should not more than 3 contacts.

Thanks in advance.
Q)Consider we have overall 90% code coverage however there is one class which have 0% code coverage. Can we still able to deploy that class on production?
A)Some one giving answer that, Yes. Minimum 1% required for every trigger and there is no such restriction for Apex class.

I have found the above question & Answer in one Blog.My doubt is
------>
Is this answer Correct? If yes, In SFDC Documentation they provided that : "
1.At least 75% of your Apex code must be covered by unit tests, and all of those tests must complete successfully.
2.All classes and triggers must compile successfully.
"
What's exactly does it mean...............................................................?

Will Any One Suggest that could take me out with clarity in this issue..
Thanks in Advance..

 
In Salesforce we have different domain names like
ap1.Salesforce.com
cs1.salesforce.com
na1.salesforce
Why they need to provide different URL ? Any special purpose for each domain or Is there any Security reasons?

Thanks in advance my Friends

 
I am new to Salesforce development.

I have read a lot about batch apex & schedule apex, but those information getting only theory knowledge for me.

COULD SOME ONE HELP ME TO LEARN ""batch apex schedule apex"" WITH PRACTICAL(Programatic) KNOWLEDGE.


Thanks in advance.
When an Insert/Update of a field in Contact Object that value needto be update in all remaining Contact records

Below is the Trigger I've written.But when we update a record it throwsan ERROR :Duplicate Id's in List

trigger AccountFieldUpdate on Contact (after Update) {

    List<Contact> C3_l = new List<Contact>();


    for(Contact c1 : Trigger.new){

        Account acc = [select id from Account where id =: c1.AccountId ];
        List<Contact> c2_l = [Select name, AccountId, Department from
         Contact where AccountId =: acc.id ];
       
        for(Contact c2 : c2_l){
        if(c1.id == c2.id){
        }else{
            c2.Department = c1.Department;
            c3_l.add(c2);
           }
        }
    }
    update c3_l;
}
I have VF page.In that page having one button called "Insert".
My requiement is
"when that "insert" button clicked it should redirect to Custom Object's edit page"
How can i acheive it.
I have a VF page to display Account records.

In that page records should display in the Sorting order based on AccountName.
For ex:
Account records:
Before Sort
{Dormat, Bake, Neil, Alkem}
After Sort
{Alkem, Bake,, Dormat,  Neil, }

How to achieve this in VF page...?


 
Wrapper class is for displaying the 2 different objects records in One tableor Objects with Checkbox.Till here It's clear.
My Question is
For example: I am using 2 objects say Account, Opportunity
While displaying all the Account and Opportunity records, i got a doubt that If Account have 100 records and Opportunity have 40 records.
Then How to write the Loop for that requirement
?
For account there is related list of contacts. I want to know that how many contacts are there for that account.
Query should be Parent To Child like  
" SELECT Name, ( SELECT LastName FROM Contacts ) FROM Account"
Use Case: because I want to write trigger on Account and limits that for every account should not more than 3 contacts.

Thanks in advance.
Q)Consider we have overall 90% code coverage however there is one class which have 0% code coverage. Can we still able to deploy that class on production?
A)Some one giving answer that, Yes. Minimum 1% required for every trigger and there is no such restriction for Apex class.

I have found the above question & Answer in one Blog.My doubt is
------>
Is this answer Correct? If yes, In SFDC Documentation they provided that : "
1.At least 75% of your Apex code must be covered by unit tests, and all of those tests must complete successfully.
2.All classes and triggers must compile successfully.
"
What's exactly does it mean...............................................................?

Will Any One Suggest that could take me out with clarity in this issue..
Thanks in Advance..

 
I have VF page.In that page having one button called "Insert".
My requiement is
"when that "insert" button clicked it should redirect to Custom Object's edit page"
How can i acheive it.