-
ChatterFeed
-
0Best Answers
-
1Likes Received
-
0Likes Given
-
17Questions
-
20Replies
Skip records through trigger while data import.
Hi I want to skip records base condition in trigger while data import. For ex: Am importing records in to accounts, now i want to skip accounts where city is Mumbai, how can i achieve this thriough trigger?
-
- csreddy7799
- October 07, 2013
- Like
- 0
- Continue reading or reply
Difference between setRedirect(true) and setRedirect(false)
Hi, what is the difference between setRedirect(true) and setRedirect(false). I want to pass values from one page another page which have different controolers without using querystring. How can i pass more than 100 values?
-
- csreddy7799
- October 07, 2013
- Like
- 0
- Continue reading or reply
How to edit Managed package release components
Hi,
I have created new release. When i clicke on Upload, new relase creation got failed because of trigger test methods. Those trigger are not related to package. How those triggers are included in new release?. Even objects which are not related to package also are included in new release. Now i want to reomove those un related components from new release. But i can't find any delete button to delete un related components.
-
- csreddy7799
- September 24, 2013
- Like
- 0
- Continue reading or reply
Subquery using parent values
Hi,
Am trying to fetch records where child name same as parent name. For ex:
Select Name , ( select Name from Child__r where Name =: Parent__c.Name ) from parent__C ; This query is not working
How can i write query like this?
-
- csreddy7799
- September 19, 2013
- Like
- 0
- Continue reading or reply
Cloning record in wrapper class
I have created one wrapper class with sObject and index for sObject and am getting and setting list of wrapper to show on VF page. On VF page im showing some fields from that sObject and provided one button to clone that record so that cloned record will be shown on next row. In the controller if i assign values directly from wrapper (i.e. new wrapper instance = wrapper instance to be clone) its getting cloned and displayed on VF but while saving its giving me error as "id" of sObject is also get clonned. If i try to get field values one by one from wrapper its giving me null values. (eg new wrapper.sObject.field = wrapperToBeCloned.sObject.field), sObject from the wrapper to be cloned is giving null values. How to solve this problem ?
Here are two possibilities as below when i clicked on clone button in vf page
1. JobSuite__job__c obj = new JobSUite__Job__c();
obj.Name = '';
obj.JobSuite__Job_Description__c = wrapJob.objJob.JobSuite__Job_Description__c;
obj.JobSuite__Dummy_Picklist_2__c = wrapJob.objJob.JobSuite__Dummy_Picklist_2__c;
jbw.objJob = obj;
wrapper.add(jbw)
If i use above code the record is assigned by blank values.
if i print wrapJob.objJob, it is displaying null in system.debug.
But when i used below code record is getting cloned and displayed in vf page
here am copying record from previous wrapper record
jbw.objJob = wrapJob.objJob;
wrapper.add(jbw)
If i use above code the record is copied but while saving it is throwing exception because of same record ID.
-
- csreddy7799
- September 11, 2013
- Like
- 0
- Continue reading or reply
Text rotation in visualforce rendered as PDF not working
I have created page with renderAs pdf. I have used style rotation in that page. It is displaying properly in normal vf page, but not working in PDF page.
Thanks in advance
-
- csreddy7799
- August 23, 2013
- Like
- 0
- Continue reading or reply
How to implemet creadit card and debit card payment in salesforce
I want to implement payment gateway in salesforce for credit card and debit card payments. I have done research and got information only to create paypal buttons. After payment submission i want to get transaction id and message from paypal. How can i achieve this?
Regards
Shashi
-
- csreddy7799
- August 19, 2013
- Like
- 0
- Continue reading or reply
Visualforce component is not getting refreshed in side visualforce page
Hi,
I have added Component inside visualforce page. The component contains page block table. In visualforce page i have implemented pagination using StandardSetController outside of component. Now, when i clicked on next button, i want to refresh component with new values. But component do not getting refreshed. i have added reRender tag in next button and added component id in rerender.
-
- csreddy7799
- August 18, 2013
- Like
- 0
- Continue reading or reply
Ceiling of Number
hi all,
How to use CEILING in apex controller.
For Ex: i want to use 1.1 as 2 in my calculation . how can i acheive this?
-
- csreddy7799
- July 27, 2013
- Like
- 0
- Continue reading or reply
Null pointer exception in packages
Hi,
In production we have installed our package, in one page am getting null pointer exception. I have created same page and controller in sand box and deployed in same production, now am not getting that exception even though it is same code. Pl help.
-
- csreddy7799
- May 02, 2013
- Like
- 0
- Continue reading or reply
Session management for customized login page
Hi,
I have crated customized login page and multiple pages for booking application. Now, i want to manage logged in user information throughout the booking process. How can i achieve this implementation?
Regards
Shashi
-
- csreddy7799
- April 01, 2013
- Like
- 0
- Continue reading or reply
Detail Page Enahncements
Hi,
i want to customize object detail page title. Is it possible, if possible then how to do.
Thanks
Shashi
-
- csreddy7799
- March 15, 2013
- Like
- 0
- Continue reading or reply
System.QueryException: List has no rows for assignment to SObject
Hi
Below is my code which is working properly in Dev org but not in Production. From production am geeting exception.
caused by: System.QueryException: List has no rows for assignment to SObject
Class.JobSuite.RetrieveTaskNewTesting.<init>: line 731, column 1
public List<Job_Task__c> lstJT{get;set;}
//Constructor
public RetrieveTaskNewTesting(ApexPages.StandardController st)
{
TaskId3=ApexPages.CurrentPage().getParameters().get('paramU');
jobId = ApexPages.currentPage().getParameters().get('id');
Job__c objJob=[Select Id,Campaign__c from Job__c where Id=: jobId LIMIT 1];
campaignId=objJob.Campaign__c;
lstJT=[Select Name, Start_Date__c,Days__c,Due_Date__c,Task_Order__c,Assigned_Users__c,Marked_Done__c,Completion_Date__c,Revised_Due_Date__c from Job_Task__c where Job__c =: jobId Order By Task_Order__c];
lstJobTeam=[Select Id, Role__c,Staff__c, Job__r.Name from Job_Team__c where Job__c =: jobId order by createddate];
Thanks in advance
..Shashi
-
- csreddy7799
- March 14, 2013
- Like
- 0
- Continue reading or reply
Salesforce sales and marketing applications guide
Hi,
Up to today i have worked on force.com development only. Now i want to go through sales and marketing applications provided by salesforce. Are there any documents or material to undestand sales and marketing applications?
Regards
Shashi
-
- csreddy7799
- February 13, 2013
- Like
- 0
- Continue reading or reply
display page message on LICENSE_LIMIT_EXCEEDED
Hi,
I am creating user record using VF page and Apex class. When an Org does not contains sufficient user licenses of Type Salesforce, then I get following message.
But I want to display these message in customized way. For example, Message as "Your Org does not have sufficient Licenses"
System.DmlException: Insert failed. First exception on row 0; first error: LICENSE_LIMIT_EXCEEDED, License Limit Exceeded: []
Now i want display page message instad of exception. is it possible?
-
- csreddy7799
- February 08, 2013
- Like
- 0
- Continue reading or reply
Transfer metadata from one salesforce dev org to another salesforce dev org
Hi,
Am trying to move my entire code from one developer org to another developer org. We have overriden some buttons on custom objects with visualforce pages in first org. Now when am trying to move the code using eclipse, because of tab overriden, it is showing error about synchronisation. Is there any another way to move entire code?
Thanks in advance
Regards
Shashi
-
- csreddy7799
- February 01, 2013
- Like
- 1
- Continue reading or reply
Problem with page redirect ifrom frame to another page
Hi, I have added visualforce page inside tab using <apex:dynamicComponent>. when i click on a button in visualforce page inside iframe, it's redirecting inside iframe only. How to redirect to another entire page out of iframe?
-
- csreddy7799
- January 02, 2013
- Like
- 0
- Continue reading or reply
Transfer metadata from one salesforce dev org to another salesforce dev org
Hi,
Am trying to move my entire code from one developer org to another developer org. We have overriden some buttons on custom objects with visualforce pages in first org. Now when am trying to move the code using eclipse, because of tab overriden, it is showing error about synchronisation. Is there any another way to move entire code?
Thanks in advance
Regards
Shashi
-
- csreddy7799
- February 01, 2013
- Like
- 1
- Continue reading or reply
Skip records through trigger while data import.
Hi I want to skip records base condition in trigger while data import. For ex: Am importing records in to accounts, now i want to skip accounts where city is Mumbai, how can i achieve this thriough trigger?
- csreddy7799
- October 07, 2013
- Like
- 0
- Continue reading or reply
Difference between setRedirect(true) and setRedirect(false)
Hi, what is the difference between setRedirect(true) and setRedirect(false). I want to pass values from one page another page which have different controolers without using querystring. How can i pass more than 100 values?
- csreddy7799
- October 07, 2013
- Like
- 0
- Continue reading or reply
How to edit Managed package release components
Hi,
I have created new release. When i clicke on Upload, new relase creation got failed because of trigger test methods. Those trigger are not related to package. How those triggers are included in new release?. Even objects which are not related to package also are included in new release. Now i want to reomove those un related components from new release. But i can't find any delete button to delete un related components.
- csreddy7799
- September 24, 2013
- Like
- 0
- Continue reading or reply
Cloning record in wrapper class
I have created one wrapper class with sObject and index for sObject and am getting and setting list of wrapper to show on VF page. On VF page im showing some fields from that sObject and provided one button to clone that record so that cloned record will be shown on next row. In the controller if i assign values directly from wrapper (i.e. new wrapper instance = wrapper instance to be clone) its getting cloned and displayed on VF but while saving its giving me error as "id" of sObject is also get clonned. If i try to get field values one by one from wrapper its giving me null values. (eg new wrapper.sObject.field = wrapperToBeCloned.sObject.field), sObject from the wrapper to be cloned is giving null values. How to solve this problem ?
Here are two possibilities as below when i clicked on clone button in vf page
1. JobSuite__job__c obj = new JobSUite__Job__c();
obj.Name = '';
obj.JobSuite__Job_Description__c = wrapJob.objJob.JobSuite__Job_Description__c;
obj.JobSuite__Dummy_Picklist_2__c = wrapJob.objJob.JobSuite__Dummy_Picklist_2__c;
jbw.objJob = obj;
wrapper.add(jbw)
If i use above code the record is assigned by blank values.
if i print wrapJob.objJob, it is displaying null in system.debug.
But when i used below code record is getting cloned and displayed in vf page
here am copying record from previous wrapper record
jbw.objJob = wrapJob.objJob;
wrapper.add(jbw)
If i use above code the record is copied but while saving it is throwing exception because of same record ID.
- csreddy7799
- September 11, 2013
- Like
- 0
- Continue reading or reply
Text rotation in visualforce rendered as PDF not working
I have created page with renderAs pdf. I have used style rotation in that page. It is displaying properly in normal vf page, but not working in PDF page.
Thanks in advance
- csreddy7799
- August 23, 2013
- Like
- 0
- Continue reading or reply
Visualforce component is not getting refreshed in side visualforce page
Hi,
I have added Component inside visualforce page. The component contains page block table. In visualforce page i have implemented pagination using StandardSetController outside of component. Now, when i clicked on next button, i want to refresh component with new values. But component do not getting refreshed. i have added reRender tag in next button and added component id in rerender.
- csreddy7799
- August 18, 2013
- Like
- 0
- Continue reading or reply
Detail Page Enahncements
Hi,
i want to customize object detail page title. Is it possible, if possible then how to do.
Thanks
Shashi
- csreddy7799
- March 15, 2013
- Like
- 0
- Continue reading or reply
System.QueryException: List has no rows for assignment to SObject
Hi
Below is my code which is working properly in Dev org but not in Production. From production am geeting exception.
caused by: System.QueryException: List has no rows for assignment to SObject
Class.JobSuite.RetrieveTaskNewTesting.<init>: line 731, column 1
public List<Job_Task__c> lstJT{get;set;}
//Constructor
public RetrieveTaskNewTesting(ApexPages.StandardController st)
{
TaskId3=ApexPages.CurrentPage().getParameters().get('paramU');
jobId = ApexPages.currentPage().getParameters().get('id');
Job__c objJob=[Select Id,Campaign__c from Job__c where Id=: jobId LIMIT 1];
campaignId=objJob.Campaign__c;
lstJT=[Select Name, Start_Date__c,Days__c,Due_Date__c,Task_Order__c,Assigned_Users__c,Marked_Done__c,Completion_Date__c,Revised_Due_Date__c from Job_Task__c where Job__c =: jobId Order By Task_Order__c];
lstJobTeam=[Select Id, Role__c,Staff__c, Job__r.Name from Job_Team__c where Job__c =: jobId order by createddate];
Thanks in advance
..Shashi
- csreddy7799
- March 14, 2013
- Like
- 0
- Continue reading or reply
Salesforce sales and marketing applications guide
Hi,
Up to today i have worked on force.com development only. Now i want to go through sales and marketing applications provided by salesforce. Are there any documents or material to undestand sales and marketing applications?
Regards
Shashi
- csreddy7799
- February 13, 2013
- Like
- 0
- Continue reading or reply
Transfer metadata from one salesforce dev org to another salesforce dev org
Hi,
Am trying to move my entire code from one developer org to another developer org. We have overriden some buttons on custom objects with visualforce pages in first org. Now when am trying to move the code using eclipse, because of tab overriden, it is showing error about synchronisation. Is there any another way to move entire code?
Thanks in advance
Regards
Shashi
- csreddy7799
- February 01, 2013
- Like
- 1
- Continue reading or reply
developer certification
I'm planning to take developer certification in couple of weeks.
Any tips and or suggestions from people who took the test?
Thanks,
any documents, questions please email to kalpanar01 @ yahoo.com
thanks,
Kalpana.
- Kalpana Reddy
- January 20, 2013
- Like
- 0
- Continue reading or reply
Problem with page redirect ifrom frame to another page
Hi, I have added visualforce page inside tab using <apex:dynamicComponent>. when i click on a button in visualforce page inside iframe, it's redirecting inside iframe only. How to redirect to another entire page out of iframe?
- csreddy7799
- January 02, 2013
- Like
- 0
- Continue reading or reply
Payment gateway please help me
I am working under payment gateway , I am new to this
is it require to encode for sending our request .
I have to send four things through this
session id , application number , amount, type of process
first one is how to get session id in salesforce
after encoding ,is it the right process add each one and attach to the endpoint at the end..
please help me
- muralikrishna.sfdc
- May 11, 2012
- Like
- 0
- Continue reading or reply
Error in reading document body - "BLOB is not a valid UTF-8 string"
I am having following error in apex class while reading a word document which is uploaded in Document object .
"BLOB is not a valid UTF-8 string".
Thanks,
Devendra Natani
- Devendra Natani
- June 24, 2011
- Like
- 0
- Continue reading or reply
Example Sample HelloWorld WebService needed
I need examples for the foll:
1) How to create Sample HelloWorld WebService using Apex?.
2) How to generate WSDL for this Sample HelloWorld WebService ?.
3) How to consume that Sample HelloWorldWebService in VisualForce page?..
Any Help would be appreciated.
- KrishnakumarJ
- September 11, 2009
- Like
- 0
- Continue reading or reply
Render PDF as landscape issue ??
Hi
I tried to make the visualforce page renderas PDF in landscape with following styles
<style >
@page {
size:landscape;
}
</style>
But it is not working now. Is anybody face the same issue? or have any idea to render the PDF as landscape??
Thanks!
- YR
- August 18, 2009
- Like
- 0
- Continue reading or reply