• somes
  • NEWBIE
  • 25 Points
  • Member since 2012

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 8
    Questions
  • 5
    Replies

How can I check  different versions of page or class in IDE?

I have completed the Live Agent Setup and successfully completed the Deployment,Buttons,skills and pre-chat page creation and everything required... working as expected.
Agnet is able to accept the chat from cusomer and salesforce Contact search is helping to find the customer.

Now my business team is looking for custom search when agent is accept chat, I have developed a custom search using visualforce and apex.
I am able to open Visualforce page when the Agent accept chat and I am not able to populate the data in custom search from pre-chat.

any idea how to pouplate the values in visualforce page from Pre-Chat page?

Thanks
  • September 21, 2017
  • Like
  • 0
I am trying to automate some testing with Selenium.  what are the pre requisites to start the testing with Selenium? and how to build connection with salesforce instace?
  • March 22, 2017
  • Like
  • 0

i am having few sites which are running on salesforce.com instance. would it be possible to trigger some thing when the user changes his password in sfdc...???

 

  • September 03, 2013
  • Like
  • 0

Hi Everybody,

 

i am new to SFDC  and i need to start the Siebel to SFDC migration, if anybody is experienced this, please share your experiences and let me know the critical issues to address and let me know the tools if anything is available in market.

 

Thanks In Advance

Somes

  • August 29, 2012
  • Like
  • 0

Hi,

I am using developer edition and i am able to see "salesforce for Outlook" but i am not able to see anything for Lotus notes.

If anybody have idea about lotus notes connector, Please share and why it is not displaying in my DE?

 

Thanks

somes

  • July 23, 2012
  • Like
  • 0

Hi,

 

I am new to SFDC, I am trying with Meta Data API and i tried a example which is given as QuickStart, but i am getting the below error. Can someone help me out to solve this Exception.

 

ERROR: No operation available for request {http://soap.sforce.com/2006/04/metadata}retrieve

 

Code:

package com.example.samples;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStreamReader;
import java.nio.channels.Channels;
import java.nio.channels.FileChannel;
import java.nio.channels.ReadableByteChannel;
import com.sforce.soap.enterprise.EnterpriseConnection;
import com.sforce.soap.metadata.AsyncRequestState;
import com.sforce.soap.metadata.AsyncResult;
import com.sforce.soap.metadata.MetadataConnection;
import com.sforce.soap.metadata.RetrieveMessage;
import com.sforce.soap.metadata.RetrieveRequest;
import com.sforce.soap.metadata.RetrieveResult;
import com.sforce.ws.ConnectionException;
import com.sforce.ws.ConnectorConfig;

public class testSample 
{
	private EnterpriseConnection connection;
	private MetadataConnection metadataConnection;
	static BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
	private static final String ZIP_FILE = "components.zip";
	private static final double API_VERSION = 24.0;
	private static final long ONE_SECOND = 1000;
	private static final int MAX_NUM_POLL_REQUESTS = 50;
	public static void main(String[] args) 
	{
		testSample sample = new testSample();
		sample.run();
	}
	private void run() 
	{
		if (login()) 
		{
			retrieveZip();
		}
	}
	private boolean login() /* throws ServiceException */ 
	{
		boolean success = false;
		try 
		{
			ConnectorConfig config = new ConnectorConfig();
			config.setUsername("username");
			config.setPassword("password");
			config.setAuthEndpoint("https://login.salesforce.com/services/Soap/c/24.0/");
			connection = new EnterpriseConnection(config);
			metadataConnection = new MetadataConnection(config);
			success = true;
		} catch(ConnectionException ce) 
		{
			System.out.println(ce.getMessage());
			ce.printStackTrace();
		}
		return success;
	}

	private void retrieveZip() 
	{
		try {
				RetrieveRequest retrieveRequest = new RetrieveRequest();
				retrieveRequest.setApiVersion(API_VERSION);
				retrieveRequest.setUnpackaged(new com.sforce.soap.metadata.Package());
				com.sforce.soap.metadata.PackageTypeMembers m = new com.sforce.soap.metadata.PackageTypeMembers();
				m.setMembers(new String [] {"Contact"});
				m.setName("Workflow");
				retrieveRequest.getUnpackaged().setTypes(new com.sforce.soap.metadata.PackageTypeMembers[] { m });
	            retrieveRequest.setSinglePackage(true);
				AsyncResult asyncResult = metadataConnection.retrieve(retrieveRequest);
				int poll = 0;
				long waitTimeMilliSecs = ONE_SECOND;
				while (!asyncResult.isDone()) 
				{
					Thread.sleep(waitTimeMilliSecs);
					waitTimeMilliSecs *= 2;
					if (poll++ > MAX_NUM_POLL_REQUESTS) 
					{
						throw new Exception("Request timed out. If this is a large set " +"of metadata components, check that the time allowed " +"by MAX_NUM_POLL_REQUESTS is sufficient.");
					}
					asyncResult = metadataConnection.checkStatus(new String[] {asyncResult.getId()})[0];
					System.out.println("Status is: " + asyncResult.getState());
				}
				if (asyncResult.getState() != AsyncRequestState.Completed) 
				{
					throw new Exception(asyncResult.getStatusCode() +" msg: " + asyncResult.getMessage());
				}
				RetrieveResult result = metadataConnection.checkRetrieveStatus(asyncResult.getId());
				StringBuilder buf = new StringBuilder();
				if (result.getMessages() != null) 
				{
					for (RetrieveMessage rm : result.getMessages()) 
					{
						buf.append(rm.getFileName() + " - " + rm.getProblem());
					}
				}
				if (buf.length() > 0) 
				{
					System.out.println("Retrieve warnings:\n" + buf);
				}
				ByteArrayInputStream bais = new ByteArrayInputStream(result.getZipFile());
				File resultsFile = new File(ZIP_FILE);
				FileOutputStream os = new FileOutputStream(resultsFile);
				try 
				{
					ReadableByteChannel src=Channels.newChannel(bais);
					FileChannel dest = os.getChannel();
					System.out.println("Results written to " +resultsFile.getAbsolutePath() + "\n");
				} finally 
				{
					os.close();
				}
		} catch (Exception e) 
		{
			System.out.println(e.getMessage());
			e.printStackTrace();
		}
	}
}

 

  • March 02, 2012
  • Like
  • 0

Hi,

i would like to call the web services from Java script,

can you please let me know the docs which explains about web service calls from Java Script.

 

Thanks In Advance

Somes

 

  • March 02, 2012
  • Like
  • 0

Hi,

 

I am new to SFDC,

May i know how the AJAX can be used for integratin with another system..? 

if yes, could you please provide me the url for any documentation.

regards

somes.

  • February 29, 2012
  • Like
  • 0

Hi all,

 

Trying to get the Force.com Migration Tool setup.

 

Running it on Ubuntu (on a Linode).

 

Whenever I try and deploy the sample package, I get the following error:

 

BUILD FAILED
/home/tcarman/Salesforce/Files/sample/build.xml:46: Failed to login: Failed to send request to https://login.salesforce.com/services/Soap/u/24.0

 

 

Checked, double checked, and triple checked the username/password/URL in build.properties. Even tried putting the values directly into the build.xml and bypassing the build.properties alltogether....no luck. Yep - I'm using the security token.

 

Given SFDC shows nothing in login history, I don't think its an issue with the credentials. 

 

Perhaps Proxy issue? I don't know if Linode boxes require any special settings - and if so I can't find anywhere.

 

Also I'm pretty new to linux, so could be something silly I have missed.

 

Any advice, hugely appreciated :)

 

 

How can I check  different versions of page or class in IDE?

Hi All,

 

Can I use apex ?

 

Can I add it to a visualforce page ?

 

Is there any application I can use ?

 

Thanks,
Eyal

  • March 16, 2012
  • Like
  • 0

We are in the process of merging 2 salesforce orgs. It would be really helpful if there was a printable report that showed all standard objects as well as all customizations to SalesForce. (I'm not interested in the user-data, just the meta-data) Do any such reporting tools exist?

 

Thanks for any links or suggestions. 

 

Mike

  • March 15, 2012
  • Like
  • 0

Hi,

i would like to call the web services from Java script,

can you please let me know the docs which explains about web service calls from Java Script.

 

Thanks In Advance

Somes

 

  • March 02, 2012
  • Like
  • 0