You need to sign in to do that
Don't have an account?
BPOOR
Visual Studio Code Deploy Issue
I am trying to deploy an utility class by adding a small method. The method implementation is below.
Has anyone experienced this? In my package.xml, I only have few apex classes and nothing else.
Can someone help?
public static boolean isId(String strValue) { return strValue InstanceOf Id; }When I try the option "Deploy to Source Org", I am getting the following error message.
19:53:04.627 Starting Deploy (Beta) When retrieving results with Metadata or FullName fields, the query qualifications must specify no more than one row for retrieval. Result size: 2
Has anyone experienced this? In my package.xml, I only have few apex classes and nothing else.
Can someone help?
I would try something like:
try{
Id.valueOf(strValue);
}catch{
return false;
}
return true;