I have custom object (My_Custom__c) in sales force store which I insert and update using rest API from android, now there is another custom object (Child__c) which has Master-detail relationship with My_Custom__c. What is the best way to add data to
I am not able to get access token from salesforce instance, Can anyone help me out from this. I have tried many different ways, but not able to actually get it done :(. HttpClient httpclient2 = new DefaultHttpClient(); HttpPost post = new HttpPost("h
This question isn't about a specific external service, but about using the same object throughout an application to prevent re-authentication at every call. I'm building a ruby on rails application that connects to the Salesforce REST API via restfor
I use Bamboo CI to manage my git repos for Salesforce development. It runs my tests after each commit and if successful, then deploys to an org. This all works wonderfully except for when I've deleted files, because Salesforce needs a special xml bui
If I were to explain to a lay-person, who is somewhat familiar to Salesforce, the difference between Salesforce.com and Salesforce1, without delving much into the technical aspects, what would be the best way to do so ?Both Salesforce.com and Salesfo
I'm trying to connect my asp.net REST api to salesforce. I'm succesfully going through authentification, but when I start to send POST requests, I'm getting an error {"errorCode":"INVALID_SESSION_ID","message":"Session e
I recently upgraded to Windows 8.1, and am now having issues with the Force.com IDE. When I select Force.com->Add/remove metadata components, I'm not able to see any custom field child component in the Objects-Custom component. Does anyone have any i
I would like to know if there is a way to find out in APEX when an particular user is logged in directly or via the "Login As" feature from the organization's user list. The UserInfo class doesn't seem to provide any methods for this purpose and
I'm using django-salesforce to get a list of Contacts (child) and the Accounts (parent) associated with them. In my models.py, what is the syntax for defining a field in the Contact class to hold the Account name? Here's my models.py: from django.db
I have a simple SOQL query: select Count(ID), CampaignId, Campaign.Name from CampaignMember where CampaignId in ('701U0000000MVoQ', '701U0000000MLFR', '701U0000000MVoL') group by CampaignId, Campaign.Name The result of the query brings back 2 records
The code looks fine to me which is why I'm confused with the G_SResult variable losing scope. It's declared globally above the ready function but that isn't visible in the screenshot. In the screenshot you will see 4 highlighted alert expressions. Th
I am using jQuery on a standard salesforce page. I can only place my jQuery script in the main page. When I click on an inline edit element, a dialog box opens up and this dialog box has a few input fields. I want to know how to access the input fiel
I have: <apex:commandButton action="{!whatever}" value="myButton" reRender="sectionX" /> And public String whatever(){ return 'ok'; } It doesn't work (returns 401 Unauthorized), but if I write: public void whatever(){ /
Here is the set up. I have a standard page layout with custom buttons. When the user clicks a button, i want to check a value in the extension class. If the value is null or 0- i want a pages message to appear, otherwise i want to redirect them to an
Am not able to assign the id value dynamically for an image...am referring this image javascript to display the up/down arrows accordingly...here is the code snippet... <apex:variable var="count" value="{!1}"/> <apex:image id=
I have an object with a lookup field, and want to use InlineEditSupport on that field within a VisualForce page. However the apex:outputField tag renders the lookup field as a hyperlink, which overrides the inlineEditSupport logic. For example <apex:
I'm looking for the best practice here. I need to store 10 variables of information, in a certain format: lname: [John] fname: [Doe] etc... using Javascript. I was thinking about using cookies. My scenario is as follows: The user would be in Salesfor
We use the DBAmp for integrating Salesforce.com with SQL Server (which basically adds a linked server), and are running queries against our SF data using OPENQUERY. I'm trying to do some reporting against opportunities and want to return the created
On the Profile page in Salesforce, there's an permission checkbox for Mass Email. How can I query this value using Apex?The Profile object has a bunch of fields named like PermissionXXX that indicate whether a profile has a certain permission. I just
Is there any way in Salesforce to group apex classes under a package or namespace? Can we use managed package for internal organization purpose?This is a limitation in the force.com stack that makes medium-large size projects painful, if not impracti
Is there a library or package which we can use with python to connect to salesforce and get data?I use beatbox Example to query for a lead by email address import beatbox sf_username = "Username" sf_password = "password" sf_api_token =
I am trying to expose self generated XML (or JSON) from VisualForce. However I cannot find the way to override the parent pages on an apex:page component so I am getting the whole menu, bars and all he extra html around. But I only want to serve the
Are there any TFS plugins available for the Force.com IDE? We are trying to centralise our CRM, and we would like to have TFS integration in Force.com IDE. Which plugins are available? Which have you found most useful. Does anyone know about this, wh
I will be building a system where a particular object will originate from a web service (SOAP based). It will then be displayed on a web page (via PHP). Under certain circumstances we'll store a copy with some additional information in a local MySQL
This question is equal parts C# and Salesforce, there are probably solutions possible from either side. Suggestions welcome! I'm writing a generic class to read Salesforce data. The signature looks like this: public abstract class SalesforceReader<Sa
I see scheduler like feature in salesforce but it is somewhat tied with existing features that salesforce provide and no sample source code is provided as far as my research goes. What I want to do is to create my own scheduler that sends simple emai
I installed visualforce plugin to Eclipse 3.6 and is working fine except that system.debug does not output anything. code static testMethod void testMonth() { Month m = new Month(system.today()); system.debug('foobar'); system.debug(m.firstDate); } s
I am using Adobe Air to get data from SalesForce, and present it in a datagrid. I am using a query to get the data, and then put it into an arraycollection that is bound to the datagrid, this works correctly and the data is displayed. I have made the
I am developing a Java application which will query tables which may hold over 1,000,000 records. I have tried everything I could to be as efficient as possible but I am only able to achieve on avg. about 5,000 records a minute and a maximum of 10,00
I need to authenticate users and get info about them from an ASP.Net application. Since I have 2 sites (sandbox, production) and 2 org IDs - I needed to generate 2 SalesForce WSDL files. I diffed the 2 files (each about 600kb in size) and while they