Category: Salesforce
Salesforce | Get the field list recursively of related objects
If you want to fetch the Field names recursively of Related objects up in Salesforce how to do this? Solution: You have to first fetch the field names of one Object Name and scan the list to find the field
Salesforce | Fetch more than 2000 records using REST asynchronously in C#
Salesforce gives us a limit of 2000 records to fetch from it using REST calls. But sometimes we need to get all the records from Salesforce. In Salesforce, there is a limit of API calls. By default, it gives 15,000
More about Salesforce Customer Portal
How to set logout URL for customer portal: -> Go to Quick find box and write customer portal settings. -> Now, open the portal that you want to edit. -> Click on the edit button: -> Enter the URL under
Salesforce | Display PHP Page in the Salesforce Tab
Step to insert PHP Page in Salesforce: 1. Go to setup->Create->Tabs in Salesforce: 2. Under Web Tab, click on new button. Now you can select the Page layout you want to set – full page width or 2 columns with
Salesforce | Creating Customer Portal step by step
Create a new Salesforce customer portal: 1. Go to quick find box and type customer portal. 2. Click on customer portal settings. 3. Click edit and enable customer portal. 4. click save. Now after enabling customer portal feature, we can
Salesforce | Skip focus from the input box on VF page
We have a VF page containing apex:inputField which contains date value so it shows calendar whenever we focus on the inputField. The problem is it is the first inputField on the page so whenever we open the page by default,
Salesforce | Apply Workflow on existing records as well
I have created a new workflow with criteria “Evaluate the rule when a record is created, and any time it’s edited to subsequently meet criteria”. It includes all the newly created records which fulfil the criteria. But I want to
Salesforce | Select * in SOQL and dynamic queries
Execute dynamic query in salesforce. Also retrieve all fields from salesforce object without writing fields names in query. Solution: In Salesforce we can’t write as Select * from object. We have to mention the field specific field name to query
Salesforce | Upload Document in Salesforce using javascript
We can create a document/attachment object record in Salesforce using Javascript by calling Salesforce soap webservice. Note – Variable __sfdcSessionId is used to store sessionid. Script files: <script type=”text/javascript”>// <![CDATA[ __sfdcSessionId = ‘{!$Api.Session_Id}’; // ]]></script> <script src=”/soap/ajax/30.0/connection.js” type=”text/javascript”></script> <script src=”/soap/ajax/30.0/apex.js”