1

I have used isnumeric() method to check for the strings with only numbers.

While deploying to production i am receiving the following error 'Method not found '.

6

isNumeric() is a new String Method in the Winter '13 release.

Your Production instance has not yet been updated from Summer '12 (API-25) to Winter '13 (API-26) yet but your sandbox has which is why your code will not deploy.

You will need to wait till your Production instance is upgraded to deploy your code. You should have recived an email with the title 'Winter '13 Release Notification' That contains the date. (Our instance is on EU1 and is scheduled for Friday, October 5 - Saturday, October 6, 2012)

http://developer.force.com/releases/release/Winter13/New+String+Methods

Some more Winter '13 release info for sandboxs:

http://blogs.salesforce.com/product/2012/07/winter-13-sandbox-preview-instructions.html

| improve this answer | |
  • Production is still in summer 12,only sandbox has been updated to winter 13. – Keepcalmncode Oct 3 '12 at 10:47
  • @VipulReddy Yep, this is why you cant can't deploy unfortunately. You will need to wait to deploy your code. – Jon Hazan Oct 3 '12 at 10:52
  • thanks for the reply. I had to deploy it today so i checked the string using the REGEX and Patterns for time being. – Keepcalmncode Oct 3 '12 at 12:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.