• raju123
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 18
    Questions
  • 18
    Replies
Hi,

Can any body tell me the answer for the following question.

Universal Containers is setting up a field service dispach contact center.
Which functionality should be considered when designing the contact center? Choose 2 answers.
A. Chatter groups for customers
B. Mobile access to case information
C. Visibility into service entitlements
D. Predictive dialer for outbound calls


Thanks in advance

Hi All,

Please give me solution for my Requirement.

Requirement:

In our project....Picklist values in objects are changing frequently. Might be weekly once. More than 800 picklist values are there in our objects. But Updating them manually  and update the related records is difficult process for every week.


So is there any solution for this and Is there any way to do with any middleware .


Please give me solution. Thanks in advance

  • September 04, 2013
  • Like
  • 0

Hi,

 

      Can any body help me in the following Requirement.Urgent Requiremnt

 

I have an Object with pick list Status field values(Active,Inacive,closed,Open,etc------).Now i need to design a

dashboard with Guage Chart and Guage chart pointer points to till Closed Status records only. Guage pointer taking just static values. Is there any possibility of dynamically passing Status value as Closed.

 

Please help me .

 

Thanks and Regards,

Raju

Hi,

 

Can any body tell me is there any possibility of using radio buttons in Standard Page(on Object).Please can any body give me response because this is an urgent task

 

Thanks,

Raju

Hi,

 

        I am trying to do Saleforce 401 Certification .someone  told  pattern was changed. Can anybody help me where can i take new dumps. Can anybody Suggest me how to prepare for exam .

 

Thanks in advance,

Raju

  • September 03, 2012
  • Like
  • 0

Hi,

 

         Can any body tell me how to add Email related list in Cases Object. Please give me reply

 

 

Thanks,

raju

Hi,

 

     Let us suppose i have two objects(A,B) with look up relationship. A is parent and B is child.  

 

 

Now i want to write a validation that if A doesn't have childrens give an error message.

 

I am trying the following in "A" Object but its not working

 

 A's  Id<> $ObjectType.B.Fields.A__c  

 

 

Can any body help me Please please........................ How Can i Know Childrens exist or not through validation.

 

 

If above is not correct what is the significance of $ObjectType. please help me

 

 

please help me out

Hi,

 

     Let us suppose i have two objects(A,B) with look up relationship. A is parent and B is child.  

 

 

Now i want to write a validation that if A doesn't have childrens give an error message.

 

I am trying the following in "A" Object but its not working

 

 A's  Id<> $ObjectType.B.Fields.A__c  

 

 

Can any body help me Please please........................ How Can i Know Childrens exist or not through validation.

 

 

If above is not correct what is the significance of $ObjectType. please help me

Hi,

 

       Can any body help on this.

 

 I want to create replica of case and case comment objects. i.e when i have entered record in case copied to  Custom case object and any record created on case comment object then copy record to custom Case comment object.

 

Every thing is working fine. 

 

 

But i can't able to access Internal comments field in Case Can any body help me on this

Hi,

 

       

          I am trying to import data through CSV from visualforce page. Its working well. But when CSV file contains Iine breaks in one Field then  i can't able to handle it. Getting error as System.ListException: List index out of bounds: 6 

 

 

 

Even Iam getting Problem with comma in any of the field

 

 

Please can one help me on this

 

 

Thanks

Hi,

 

      Can any Body Help me on this Please,

 

                           I have a req, I need to submit approval process with out clicking submit for approval button when Status changed to some value and The person who need to approve must be approve from mail itself with out going to salesforce

 

 

Thanks in Advance. please do the needful

 

hi,

Please check bellow code in which 2 pageblock sections are there. initially only 1st block we can see. if we click on yes second bolck will apear.

but

My Problem when we click on yes second needs to appear and first block needs to Hide.
Please Can any one help me out
public class Wizard_3a_Controller
{

Boolean testval = false;
public pagereference showSection1() {
setHideshow(true);
return null; }

public pagereference ShowSection2()
{
setHideshow(false);
return null;
}

public Boolean getHideshow()
{
return this.testval;
}
public void setHideshow(boolean s)
{
this.testval = s;
}
}

and
Code:
<apex:page controller="Wizard_3a_Controller">
<apex:form>
<apex:pageBlock>
<apex:pageBlockSection title='Rate Information'>
Are there proposed non-standard electronic rates—<br/>
<apex:commandButton action="{!showSection1}" value='Yes' styleClass='btn' rerender='details'></apex:commandButton>
<apex:commandButton action="{!showSection2}" value='No' styleClass='btn'></apex:commandButton>
</apex:pageBlockSection>
<apex:outputPanel id='details'>
<apex:pageBlockSection id ='newData' title='Discount Rates' rendered='{!hideshow}'>
Enter Proposal range
</apex:pageBlockSection>

</apex:outputPanel>

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

Hi,

 

          We have one vfpage with many Fields. I need to show only few fields at a time. we have next button same page. by clicking on that i need Few more Fields.

 

Hi,

 

      Can any body help me. I have Some Fields in vfpage with Custom Controller. i need help text for that.Please Help me Out

 

Thank you

 

 

Hi,

 

   Can any body give me one Example on Nested Queries. I am getting error while writing Nested Queries.See Following query i am getting error while typing.

 

public class nestedqueryexample
{
public List<Account> getaccsandtmember()
{
List<Account> accounts = [Select Id,(Select TeamMemberRole, User.Name From Account.AccountTeamMembers), Name, BillingCountry from Account];
return accounts;
}
}

 

Hi,

  

 I Want to know How to get Formula Fields in Visualforce page in Outputtext or outputField  .

I have tried to retrive Formula fields in noraml way  like

 

                <apex:outputtext   value="{!objname.formulafieldname}"/>

 

All other Fields are getting Values but I Cant able to display Formula fields on Visualforce.

 

 

Please Can any body Help me .

Hi,

 

       Can anybody help me on this Simple Requirement.Please provide me Code

 

I have 2 Visual force pages.

one page contains A,B Fields

in Second page i want sum of a+b and display it in c field.

Plese Help me in this Requirement. 

 

 i want to know how project development will start in salesforce companies. where to start and where to end. what is the procedure on developer point of view.Could you please help me.what are the roles of developer. how the requirements will com.Totally i want to know about project in salesforce

Hi,

Can any body tell me the answer for the following question.

Universal Containers is setting up a field service dispach contact center.
Which functionality should be considered when designing the contact center? Choose 2 answers.
A. Chatter groups for customers
B. Mobile access to case information
C. Visibility into service entitlements
D. Predictive dialer for outbound calls


Thanks in advance

Hi All,

Please give me solution for my Requirement.

Requirement:

In our project....Picklist values in objects are changing frequently. Might be weekly once. More than 800 picklist values are there in our objects. But Updating them manually  and update the related records is difficult process for every week.


So is there any solution for this and Is there any way to do with any middleware .


Please give me solution. Thanks in advance

  • September 04, 2013
  • Like
  • 0

Hi,

 

      Can any body help me in the following Requirement.Urgent Requiremnt

 

I have an Object with pick list Status field values(Active,Inacive,closed,Open,etc------).Now i need to design a

dashboard with Guage Chart and Guage chart pointer points to till Closed Status records only. Guage pointer taking just static values. Is there any possibility of dynamically passing Status value as Closed.

 

Please help me .

 

Thanks and Regards,

Raju

Hi,

 

Can any body tell me is there any possibility of using radio buttons in Standard Page(on Object).Please can any body give me response because this is an urgent task

 

Thanks,

Raju

Hi,

 

     Let us suppose i have two objects(A,B) with look up relationship. A is parent and B is child.  

 

 

Now i want to write a validation that if A doesn't have childrens give an error message.

 

I am trying the following in "A" Object but its not working

 

 A's  Id<> $ObjectType.B.Fields.A__c  

 

 

Can any body help me Please please........................ How Can i Know Childrens exist or not through validation.

 

 

If above is not correct what is the significance of $ObjectType. please help me

Hi,

 

       Can any body help on this.

 

 I want to create replica of case and case comment objects. i.e when i have entered record in case copied to  Custom case object and any record created on case comment object then copy record to custom Case comment object.

 

Every thing is working fine. 

 

 

But i can't able to access Internal comments field in Case Can any body help me on this

Hi,

 

      Can any body help me. I have Some Fields in vfpage with Custom Controller. i need help text for that.Please Help me Out

 

Thank you

 

 

Hi,

  

 I Want to know How to get Formula Fields in Visualforce page in Outputtext or outputField  .

I have tried to retrive Formula fields in noraml way  like

 

                <apex:outputtext   value="{!objname.formulafieldname}"/>

 

All other Fields are getting Values but I Cant able to display Formula fields on Visualforce.

 

 

Please Can any body Help me .

Hi,

 

       Can anybody help me on this Simple Requirement.Please provide me Code

 

I have 2 Visual force pages.

one page contains A,B Fields

in Second page i want sum of a+b and display it in c field.

Plese Help me in this Requirement. 

 

I am working on an application where the user will create a custom object (mps) record from the opportunity and a trigger will update certain fields on the mps from the opportunity.When there is an MPS record attached to the opportunity, the opportunity will update the mps, and when the mps is updated, the opportunity is updated. This has created an error that says "...cannot recursively update itself..." I am trying to find a way to prevent this. The problem is I cannot the find a way to break this recursion.

 

I wannt both records to be updated when one record is updated. Below are my triggers:

 

 

trigger OppUpdateMPS on Opportunity (before update) {
       Map<Id, Id> mapOpportunitytoMPS = new Map<Id, Id>();

    for(Opportunity o : trigger.new){
        // Populate map of Opportunity.Id to MPS.Id
        if (o.MPS__c != null) {
            mapOpportunitytoMPS.put(o.Id, o.mps__c);
        }
    }

    if (!mapOpportunitytoMPS.isEmpty()) {
        // Query all relevant opportunities to a map with key of Opportunity.Id
        Map<Id, MPS__c> mps = new Map<Id,MPS__c>([select id, MPS_BV__c, MPS_Comment__c, 
                         MPS_Scheduled_Ship_Date__c, MPS_Status__c, Close_Date__c, LastModifiedDate,
                         Projected_Ship_Date__c, Projected_On_Site_Delivery_Date__c,
                         Forecast_Category__c, Combined_Probability__c, Recursive_Update__c
                         from MPS__c where id in:mapOpportunitytoMPS.values()]);

        List<MPS__c> mpsToUpdate = new List<MPS__c>();
        Id mpsId;
        MPS__c m;

        for (Opportunity s : trigger.new) {
            if (mapOpportunitytoMPS.containsKey(s.Id)) {
                // Get the MPS__c ID from the map
                mpsId = mapOpportunitytoMPS.get(s.Id);
                // Get the opportunity based on the opportunity ID
                m = mps.get(mpsId);
                // Set fields on MPS based on Opportunity
                m.Forecast_Category__c = s.ForecastCategoryName;
                m.Combined_Probability__c = s.Combined_Probability__c;
                m.Close_Date__c = s.CloseDate;
                m.Projected_Ship_Date__c = s.Projected_Ship_Date__c;
                m.Projected_On_Site_Delivery_Date__c = s.Projected_On_Site_Delivery_Date__c ;
                m.MPS_Scheduled_Ship_Date__c = s.MPS_Scheduled_Ship_Date__c;
                MPSToUpdate.add(m);
            }
        }

        // Update all MPS__c in one call
        update MPSToUpdate;
        
    }
}

 

trigger MPSUpdate on MPS__c (Before Insert, Before Update) {
    Map<Id, Id> mapMpsToOpportunity = new Map<Id, Id>();
     
    for(MPS__c mps : trigger.new){
        // Populate map of MPS.Id to Opportunity.Id
        if (mps.OpportunityID__c != null) {
            mapMpsToOpportunity.put(mps.Id, mps.OpportunityID__c);
        }
    }
    
    if (!mapMpsToOpportunity.isEmpty()) {
        // Query all relevant opportunities to a map with key of Opportunity.Id
        Map<Id, Opportunity> opps = new Map<Id, Opportunity>([select id, MPS_BV__c, MPS_Comment__c, 
                         MPS_Scheduled_Ship_Date__c, MPS_Status__c, CloseDate,
                         Projected_Ship_Date__c, Projected_On_Site_Delivery_Date__c,
                         ForecastCategoryName, Combined_Probability__c
                         from Opportunity where id in:mapMpsToOpportunity.values()]);

        List<Opportunity> oppsToUpdate = new List<Opportunity>();
        Id oppId;
        Opportunity o;
        for (MPS__c s : trigger.new) {
            if (mapMpsToOpportunity.containsKey(s.Id)) {
                // Get the opportunity ID from the map
                oppId = mapMpsToOpportunity.get(s.Id);
                // Get the opportunity based on the opportunity ID
                o = opps.get(oppId);
                // Set fields on MPS based on Opportunity
                s.Forecast_Category__c = o.ForecastCategoryName;
                s.Combined_Probability__c = o.Combined_Probability__c;
                s.Close_Date__c = o.CloseDate;
                s.Projected_Ship_Date__c = o.Projected_Ship_Date__c;
                s.Projected_On_Site_Delivery_Date__c = o.Projected_On_Site_Delivery_Date__c;
                // Set fields on Opportunity based on MPS
                o.MPS_Status__c = s.MPS_Status__c;
                o.MPS_BV__c = s.MPS_BV__c;
                o.MPS_Comment__c = s.MPS_Comment__c;
                o.MPS_Scheduled_Ship_Date__c = s.MPS_Scheduled_Ship_Date__c;
                o.MPS__c = s.id;
                oppsToUpdate.add(o);
            }
       } 
        // Update all opportunities in one call
        update oppsToUpdate;
    }
}

 

 

 

I have thought about creating checkboxes to be checked when the a trigger updates a record, and reset the field with a time-based workflow, but I only need to stagger the time a few seconds before the field is reset. Is there any way I can achieve the same thing within the triggers?

 

Thanks,

ckellie

Hi,

I am trying to build a questionare page where on click of Yes/No will determine the second question. I will have all the question on the same page in different page blocks but I dont want them to appear together. Suppose I select 'Yes' for the first question then display the second question which is in the second pageblock, if no then show a different question.

In the code below - I having two pageblocks and on select of 'Yes' button I want to display the content in the second pageblock and if 'No' then don't show the next question. I was trying to dynamically set the value of 'rendered' in the controller depending on the button selected but it is not working. Everytime I call the Controller onclick of button, it sets the value for ' rendered ' but since the page reloads, I lose my set value and it is always the default false and the second section never appears.

Please find the code of my Controller and Page below-

<apex:page controller="Wizard_3a_Controller">
<apex:form>
<apex:pageBlock>
<apex:pageBlockSection title='Rate Information'>
Are there proposed non-standard electronic rates?<br/>
<apex:commandButton onclick='{!showSection1}' value='Yes' styleClass='btn'></apex:commandButton>

<apex:commandButton onclick='{!showSection2}' value='No' styleClass='btn'></apex:commandButton>
</apex:pageBlockSection>
<apex:outputPanel id='details'>
<apex:pageBlockSection id ='newData' title='Discount Rates' rendered='{!hideshow}'>
Enter Proposal range -
</apex:pageBlockSection>

</apex:outputPanel>

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


public class Wizard_3a_Controller
{
Boolean testval = false;
public String getShowSection1()
{
testval= true;
return null;

}
public String getShowSection2()
{
testval= false;
return null;

}

public Boolean getHideshow()
{
return testval;
}

}

The value of hideshow is not getting changed, it is always false.
Can anyone please help me soving this issue?

Thanks
Jina