• forceapp
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 14
    Questions
  • 13
    Replies
When user is not assign to case then what will be happened to that Case?

Is Force.com - OneApp a Edition or a User License or both. I need  a clear clarity for this. Can any one help me out.

 

    Thanks in advance.

 

  --Regards,

     SF Admin.

I had a requirement, to have a Asset fields on a Vf page, when save button is clicked, Those records must be saved into Assests. If possible how. As Asset is a Related list on Products.

 

        Please me. Thanks in Advance

 

--Regards,

   forceapp.

 

 

 

I have a requirement to send a feeds to a Group members based on category wise, not by using #topic .

 

i.e on a Chatter page there should be a label Category & it should have a picklist of diff categories. Please help how can it be achieved, if u have code please share me r  if not suggest me how can i acheve it.

 

                    -- Thanks in Advance--

 

--Regards'

   forceapp.

My requirement is to capture a Docusign(esignature) from a mobile device like iphone,Anroid & blackberry by using SF.

 

 

 

                                          Thanks in Advance.

--Regards,

   forceapp.

My requirement is to capture a Docusign(esignature) from a mobile device like iphone,Anroid & blackberry by using SF.

 

 

 

                                          Thanks in Advance.

--Regards,

   forceapp.

 

 For sending attachments from one org to another.

 

 

I have use used the column names in CSV file are


Parent Id,Name,Body, Is Private ,Owner Id.

The error is  1.  Error on converting value to correct data type]

                        2.Not processed due to batch error. Invalid batch, Failed to parse CSV header.

can you please help me to import attachments from one org to another.

--Regards,

 

 Ramana Reddy.

trigger emailquotetrig on Opportunity (after insert, after update) {
	List<quote> quotelist=new List<quote>();
	for(opportunity opp:trigger.new){
		quote q=new quote();
		if(opp.StageName=='Closed Won'){
			try{
			q=[select status,name,id,opportunityid from quote where Status__c=true and opportunityid=:opp.id];
			Messaging.reserveSingleEmailCapacity(1);
			Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();
			String[] toAddresses=new String[]{'arvind.kot@gmail.com'};
			mail.setToAddresses(toAddresses);
			mail.setReplyTo('arvind_kot@rediffmail.com');
			mail.setSenderDisplayName('Salesforce Support');
			mail.setSubject('Plz click on the link to view the quote record');
			mail.setBccSender(false);
			mail.setUseSignature(false);
			mail.setPlainTextBody('https://ap1.salesforce.com/'+ q.id);
			Messaging.sendEmail(new Messaging.SingleEmailMessage[] { mail });
			}catch(system.QueryException e){
				opp.adderror('Need to select a primary quote among the related quotes'); 
			
			}
			
		}

	}
}


 Test class covered only 42 %:


@isTest
private class Test_emailquotetrig {

    static testMethod void myUnitTest() {
        // TO DO: implement unit test
         	opportunity opp=new opportunity(name='Monitors',closedate=system.today(),StageName='closed won');
        	insert opp;
        	Quote obj=new Quote(name='keyboard',primary__c=true,opportunityid=opp.id);
        	insert obj;
      
    	

    }
}
 

 

trigger emailquotetrig on Opportunity (after insert, after update) {
	List<quote> quotelist=new List<quote>();
	for(opportunity opp:trigger.new){
		quote q=new quote();
		if(opp.StageName=='Closed Won'){
			try{
			q=[select primary__c,name,id,opportunityid from quote where primary__c=true and opportunityid=:opp.id];
			//string strurl='https://ap1.salesforce.com/q.id';
	Messaging.reserveSingleEmailCapacity(1);
	// Now create a new single email message object 
	Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();
	// Strings to hold the email addresses to which you are sending the email
	String[] toAddresses=new String[]{'patlammagari@gmail.com'};
	// Assign the addresses for the To  lists to the mail object.  
	mail.setToAddresses(toAddresses);
	// Specify the address used when the recipients reply to the email.
	mail.setReplyTo('ramanareddy477@gmail.com');
	// Specify the name used as the display name.
	mail.setSenderDisplayName('Salesforce Support');
	// Specify the subject line for your email address.
	mail.setSubject('Please click on the link to view the quote record');
	// Set to True if you want to BCC yourself on the email.  
	mail.setBccSender(false);
	// Optionally append the salesforce.com email signature to the email.  
    // The email address of the user executing the Apex Code will be used.
	mail.setUseSignature(false);
	// Specify the text content of the email. 
	mail.setPlainTextBody('https://ap1.salesforce.com/'+ q.id);
	// Send the email you have created. 
	Messaging.sendEmail(new Messaging.SingleEmailMessage[] { mail });
			}catch(system.QueryException e){
				opp.adderror('Need to select a primary quote among the related quotes'); 
			
			}
			
		}

	}
}
      Thanks in advance.
--Regards,
forceapp.

 

My senario is:

 

     To send a particular quote id link to a email, i am able to send an email but but the quote id is not getting.How can my problem be solved.

 

 

--Thanks in advance,

   forceapp.

 

Hi,

 

    My scenario is like this,

 

 When an opportunity is marked as ‘closed – won’ salesforce will send an email to the installation

 

  co-ordinator(user) with a link to the quote.  This will allow them to see quote pictures, videos, instructions, etc for the job.

                     

                                                   https://na12.salesforce.com/{!relatedTo.ID}

 

I have used the above link, but that linke merge field {!relatedTo.ID} is not being reflected in the inbox mail.

 please confirm me whether the is corrcet or not.  I have also synchronized the the quote of oppurtunity. Still it is not working.

     


 

 Thanks in advance.

 

--Regards,

  forceapp.

Hi,

 

    My scenario is like this,

 

 When an opportunity is marked as ‘closed – won’ salesforce will send an email to the installation

 

  co-ordinator(user) with a link to the quote.  This will allow them to see quote pictures, videos, instructions, etc for the job.

                     

                                                   https://na12.salesforce.com/{!relatedTo.ID}

 

I have used the above link, but that linke merge field {!relatedTo.ID} is not being reflected in the inbox mail.

 please confirm me whether the is corrcet or not.  I have also synchronized the the quote of oppurtunity. Still it is not working.

     


 

 Thanks in advance.

 

--Regards,

  forceapp.

 

                  

My senario is ,I have edit link for every record, when i click the edit of a particular record then edit should be changed to save button, and field values to text boxes of that record only and that record should saved when updated.  

 

The below code works, when edit is clicked, all edit links are converted to save button and field values to text boxes . where it should not happen.  It should  function based on record...

Page:
<apex:page controller="Employ" sidebar="false" showHeader="true" id="pg">

<apex:pageBlock title="Employee List" id="pb2">
<apex:form id="f1" >
 <apex:outputPanel rendered="{!table1}">
<apex:pageBlockTable value="{!emplst}" var="e">
<apex:column headerValue="Action">
  <apex:commandLink value="edit" action="{!edit}"/>
   </apex:column>
<apex:column value="{!e.name}"/>
<apex:column value="{!e.Email__c}"/>
<apex:column value="{!e.Phone__c}"/>
</apex:pageBlockTable>
</apex:outputPanel>

 <apex:outputPanel rendered="{!table2}">
<apex:pageBlockTable value="{!emplst}" var="emp">
<apex:column headerValue="Action">
<apex:commandButton value="save" action="{!save}"/>
</apex:column>
<apex:column ><apex:inputText value="{!emp.name}"/></apex:column>
<apex:column ><apex:inputText value="{!emp.Email__c}"/></apex:column>
<apex:column ><apex:inputText value="{!emp.Phone__c}"/></apex:column>
  
</apex:pageBlockTable>
</apex:outputPanel>

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

public with sharing class Employ{
    boolean Table1=true;
    boolean Table2=false;


        public void save() {
        table2=false;
        table1=true;
        //system.debug('*************'+emplst);
        update emplst;
               
    }

    public boolean getTable2() {
        return Table2;
    }


  public boolean gettable1(){
 return table1;
 }
 

    public PageReference edit() {
        table1=false;
        table2=true;
        return null;
    }
    List<Employ__c> emplst;
    public List<Employ__c> 
    getemplst(){
    emplst=[select name,id,phone__c,Email__c from Employ__c];
        return emplst;
   }


  }

  --Regards,

    forceapp.

 

My problem is that,  

   

          I have own VF page, using controller.The obj used is department it has fieds like name,email & phone. Now in a page block table i have

 

 Action        Name        Email                    Phone

 

Edit              xxxx             x@mail.com         0000

 

 

when i click edit , it should convert to (save)  and   name,email & phone field values should convert to text boxes.   After that   when i click save it should be saved..

When user is not assign to case then what will be happened to that Case?

Is Force.com - OneApp a Edition or a User License or both. I need  a clear clarity for this. Can any one help me out.

 

    Thanks in advance.

 

  --Regards,

     SF Admin.

Hi,

I am having Enterprice Edition and now i am using Chatter plus user .

 

When i am login througt Chatter plus user then Save Button is becoming disable.

 For sending attachments from one org to another.

 

 

I have use used the column names in CSV file are


Parent Id,Name,Body, Is Private ,Owner Id.

The error is  1.  Error on converting value to correct data type]

                        2.Not processed due to batch error. Invalid batch, Failed to parse CSV header.

can you please help me to import attachments from one org to another.

--Regards,

 

 Ramana Reddy.

Hi,

Can any friend help me to view Login button at User detail page for another user. If I Iogin as system admin profile then I can see the login button but If I login using another profile then I am not able to see login button.

trigger emailquotetrig on Opportunity (after insert, after update) {
	List<quote> quotelist=new List<quote>();
	for(opportunity opp:trigger.new){
		quote q=new quote();
		if(opp.StageName=='Closed Won'){
			try{
			q=[select status,name,id,opportunityid from quote where Status__c=true and opportunityid=:opp.id];
			Messaging.reserveSingleEmailCapacity(1);
			Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();
			String[] toAddresses=new String[]{'arvind.kot@gmail.com'};
			mail.setToAddresses(toAddresses);
			mail.setReplyTo('arvind_kot@rediffmail.com');
			mail.setSenderDisplayName('Salesforce Support');
			mail.setSubject('Plz click on the link to view the quote record');
			mail.setBccSender(false);
			mail.setUseSignature(false);
			mail.setPlainTextBody('https://ap1.salesforce.com/'+ q.id);
			Messaging.sendEmail(new Messaging.SingleEmailMessage[] { mail });
			}catch(system.QueryException e){
				opp.adderror('Need to select a primary quote among the related quotes'); 
			
			}
			
		}

	}
}


 Test class covered only 42 %:


@isTest
private class Test_emailquotetrig {

    static testMethod void myUnitTest() {
        // TO DO: implement unit test
         	opportunity opp=new opportunity(name='Monitors',closedate=system.today(),StageName='closed won');
        	insert opp;
        	Quote obj=new Quote(name='keyboard',primary__c=true,opportunityid=opp.id);
        	insert obj;
      
    	

    }
}
 

 

My senario is ,I have edit link for every record, when i click the edit of a particular record then edit should be changed to save button, and field values to text boxes of that record only and that record should saved when updated.  

 

The below code works, when edit is clicked, all edit links are converted to save button and field values to text boxes . where it should not happen.  It should  function based on record...

Page:
<apex:page controller="Employ" sidebar="false" showHeader="true" id="pg">

<apex:pageBlock title="Employee List" id="pb2">
<apex:form id="f1" >
 <apex:outputPanel rendered="{!table1}">
<apex:pageBlockTable value="{!emplst}" var="e">
<apex:column headerValue="Action">
  <apex:commandLink value="edit" action="{!edit}"/>
   </apex:column>
<apex:column value="{!e.name}"/>
<apex:column value="{!e.Email__c}"/>
<apex:column value="{!e.Phone__c}"/>
</apex:pageBlockTable>
</apex:outputPanel>

 <apex:outputPanel rendered="{!table2}">
<apex:pageBlockTable value="{!emplst}" var="emp">
<apex:column headerValue="Action">
<apex:commandButton value="save" action="{!save}"/>
</apex:column>
<apex:column ><apex:inputText value="{!emp.name}"/></apex:column>
<apex:column ><apex:inputText value="{!emp.Email__c}"/></apex:column>
<apex:column ><apex:inputText value="{!emp.Phone__c}"/></apex:column>
  
</apex:pageBlockTable>
</apex:outputPanel>

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

public with sharing class Employ{
    boolean Table1=true;
    boolean Table2=false;


        public void save() {
        table2=false;
        table1=true;
        //system.debug('*************'+emplst);
        update emplst;
               
    }

    public boolean getTable2() {
        return Table2;
    }


  public boolean gettable1(){
 return table1;
 }
 

    public PageReference edit() {
        table1=false;
        table2=true;
        return null;
    }
    List<Employ__c> emplst;
    public List<Employ__c> 
    getemplst(){
    emplst=[select name,id,phone__c,Email__c from Employ__c];
        return emplst;
   }


  }

  --Regards,

    forceapp.

 

My problem is that,  

   

          I have own VF page, using controller.The obj used is department it has fieds like name,email & phone. Now in a page block table i have

 

 Action        Name        Email                    Phone

 

Edit              xxxx             x@mail.com         0000

 

 

when i click edit , it should convert to (save)  and   name,email & phone field values should convert to text boxes.   After that   when i click save it should be saved..