Rachit Rakesh
IndividualForum Replies Created
-
Rachit
MemberAugust 11, 2016 at 8:21 am in reply to: How to track a field history of a custom object via Api?Hi,
We can query custom object history in apex and if we use a web service method where we are querying the field history then we can use this in our logic to implement some apex code.Hope this makes sense.
Thanks
-
Rachit
MemberAugust 11, 2016 at 7:37 am in reply to: Can we use any other language for client side controller rather than javascript?Hi ,
If you want to add advantages of other languages to visual force page then, yes we can use other languages as well, like angular. This will help in increasing the performance of the page as with angular you can use the data on page to perform many operations.
Thanks
-
Rachit
MemberApril 30, 2016 at 6:11 pm in reply to: How to get list of all workflow rules using Salesforce Apex?Hi Ravi,
I think http://salesforce.stackexchange.com/questions/1077/how-can-i-get-list-of-all-workflow-rules-using-apex will help you.
Thanks
-
Rachit
MemberApril 30, 2016 at 5:54 pm in reply to: How do I set the startpoint for an autonumber after field creation?Hi Ravi,
If you are thinking of using trigger to auto populate the value then we can use a custom setting and increment its value by trigger . Use this value every time a record is created.There can be other ways to accomplish this but one was this.
Thanks
-
Rachit
MemberApril 29, 2016 at 7:06 am in reply to: How to auto-Populate value of checkbox by click on another Page?Hi Prakhar
I am assuming that you have same controller and two pages and the checkbox is in combination with a wrapper.If this is the case then we can easily use getter/setters to pull value from wrappers and take to next page.If the controller are not same then please use URL to take value from one page to another page.
Thanks
-
Hi Abhinav,
I think the issue over here is the use of for loop.You may be getting bulk data in for for loop and the logic may be taking long to execute.If provided the code then can get a more clear picture.
Thanks
-
Rachit
MemberApril 14, 2016 at 8:36 am in reply to: How can we get the day value from a date value in Salesforce?Hi Ajit,
I think this will work for you
DateTime dt1=DateTime.newInstance(date.today(), Time.newInstance(0, 0, 0, 0));
String day=dt1.format('EEEE');Thanks
-
Rachit
MemberApril 14, 2016 at 8:16 am in reply to: Splitting label values on '\n' is not getting same values on comparingHi Utsav
I think you need to to use equalIgnoreCase method of string class to be more precise.Let me know if this works!
-
Rachit
MemberApril 14, 2016 at 7:51 am in reply to: Insufficient Privileges Error - Partially Rendering Visualforce pageI think this is an issue pertaining to field level security.
GO to the object and select the field and click on field level security , some times it also creates an error insufficient privileges.Thanks