Ajit Kumar
IndividualForum Replies Created
-
Ajit
MemberApril 30, 2016 at 6:11 pm in reply to: How to get list of all workflow rules using Salesforce Apex?Hi,
I haven't done it myself, but I think you could call the metadata api from apex and than process the output.
http://www.salesforce.com/us/developer/docs/api_meta/Content/meta_workflow.htm
-
Ajit
MemberApril 30, 2016 at 5:38 pm in reply to: I want live agent user name on the custom chat window -
-
Ajit
MemberApril 30, 2016 at 4:37 pm in reply to: Can I create a popup/alert window/message when a SF page loads? -
Ajit
MemberApril 30, 2016 at 4:23 pm in reply to: Is it possible to directly work with MySql Database from Salesforce?Hello
Not possible directly, salesforce does not allow TCP connections which would be required to directly connect to mysql. It only allows HTTP(S) callouts, so an intermediate webservice of some sort if required to proxy the HTTP(S) traffic to the mysql protocol. -
Ajit
MemberApril 30, 2016 at 4:06 pm in reply to: Testing assignment rule when inserting test casesTry Using (seeAllData=true) it will help you.
-
Ajit
MemberApril 30, 2016 at 3:54 pm in reply to: How can I use country state picklist enabled for org in my apex class?Go to Setup --> Data Management --> State and Country Picklists
Follow the steps :
But make sure it will change your organization data,In order to enable this option you must to do the following three options to enable.
1. Configure states and countries. --> You need to configure which country you want.
2. Scan now. --> This will scan all your existing data in contact.
3. Convert your data. --> Then convert all your existing data.
Once you finish those steps you will able to enable this feat
-
Hey Piyush
I think you have not noticed but salesforce has removed this debug level due to some issues
issue : http://salesforce.stackexchange.com/questions/97011/what-is-the-internal-debug-level
list of available debug levels : https://help.salesforce.com/apex/HTViewHelpDoc?id=code_setting_debug_log_levels.htm&language=en
-
Ajit
MemberApril 30, 2016 at 2:58 pm in reply to: What is the best way to deploy profiles in Salesforce?Hi Himanshu
We can send the profiles as we send the other components but one thing must be notes that while sending a profile to production one should always keep the backup for the profiles, so if any thing changed can be reverted back
-
Ajit
MemberApril 30, 2016 at 11:15 am in reply to: How much time Salesforce takes to clear the security review of the App?The review process takes about 6-8 weeks from when we have everything provided:
Your documentation is complete and accurate.
The test environment is complete, fully configured, and includes all necessary information.
You have met the requirements.
You are within the agreement guidelines. -
Ajit
MemberApril 30, 2016 at 11:01 am in reply to: What is the cost of releasing the paid App on Salesforce AppExchange any idea? -
Using the upsert operation, you can either insert or update an existing record in one call. To determine whether a record already exists, the upsert statement or Database method uses the record’s ID as the key to match records, a custom external ID field, or a standard field with the id Lookup attribute set to true.
1. If the key is not matched, then a new object record is created.
2.If the key is matched once, then the existing object record is updated.
3. If the key is matched multiple times, then an error is generated and the object record is neither inserted or updated. -
Ajit
MemberApril 30, 2016 at 9:35 am in reply to: Created a class for process builder but couldn't find the class when selecting the apex in add action section?Hi Nitish
Your class must use the anotation @invocable
-
Ajit
MemberApril 30, 2016 at 9:28 am in reply to: EXCEPTION_THROWN|[EXTERNAL]|System.SerializationException: Not Serializable: System.XmlStreamWriterHi
I think this will solve your problem by declaring the XMLStreamWriter wrapper class variable as transient.
-
Ajit
MemberApril 30, 2016 at 9:19 am in reply to: How can I override the standard Account view with a Visualforce page?Hi Shubam
Go to setup > Click on button and links for any standard object for which you have created the custom visualforce page > click on view button > override with your page
Note : It will work only with those pages which are using the standard controller
-
Ajit
MemberApril 30, 2016 at 9:15 am in reply to: How can I show a Visualforce page in the sidebar?Hi Shubham ,
- Create a custom home page component
- Add the componeent to the home page layout and make sure developer mode is disabled for the current user else the side bar will show simply the code of the page rather then showing the page content.
-
Ajit
MemberApril 30, 2016 at 9:10 am in reply to: Is it possible to initiate Approval Process through Process Builder?Hey Shubham,
You can follow the below link might be helpful for you.
-
Ajit
MemberApril 29, 2016 at 8:43 am in reply to: What dependent things will deploy with my custom object without adding them in change set?Hi Amit
If you are sending only the custom object then the change set will send only the object and nothing else, event the fields and pagelayouts will not go with that object.
-
Ajit
MemberApril 29, 2016 at 6:47 am in reply to: Can I use ORDER BY and GROUP BY clause in the same query?SELECT Name,MAX(Test__c) FROM Account GROUP BY name ORDER BY name LIMIT 2
Field that are aggregated cannot be used in GROUP BY or ORDER BY.
In the above example, Test__c cannot be used in GROUP BY or ORDER BY because Test__c is aggregated.
-
Ajit
MemberApril 28, 2016 at 12:00 pm in reply to: Is it good to do airthmetic calculations on VF page?In my opinion doing airthmetic calculation on the page is good rather than doing it in controller because by using apex variable the page works fast, and it will decrease the line of codes of you controller and best thing is that if you are creating a large controller and a page and you have lot's of getters and setters variables in the controller due to which there can be a view state error on the page can arise so this can also be avoided using apex variables on the page.
-
Ajit
MemberApril 28, 2016 at 11:52 am in reply to: How to query records from sObject for 50000+ records?You can go through this link hopw it would be helpul :
https://force746.wordpress.com/2014/08/28/count-large-number-of-records-more-than-50000/
-
Hey Amit
Rather than using this {!Product2.anyField} try this {!Product2.Lookupfield.Id}
-
Ajit
MemberApril 27, 2016 at 8:20 am in reply to: How do I create ant task to copy required package.xml filesto another directory to deploy?Hey Danna
You can change the package.xml as per your requirement , so remove the the components which you doesn,t want to copy, also the components which you will be removing must be removed from all of the retrieved package component in the retriveUnpackaged folder.
-
Ajit
MemberApril 27, 2016 at 8:15 am in reply to: Back up Salesforce data and generate reports from itHI Jeetesh
Follow the below link I think i would help you in your case :
https://help.salesforce.com/apex/HTViewSolution?id=000004037&language=en_US
-
Hi Gourav
Same thing happened with me but in my case when I was opening the email in other mailing sites than the image was visible, So I think you must have to contact Outlook for further help.