Over a year ago, I read about a feature on Salesforce and haven't been able to found where I read it, or another post about it so I decided to post here.
In Salesforce, it's possible to configure the URL of a link in the application using a formula. You can also override the existing functionality of the "NEW" button. This is where this functionality is useful as it allows you to prepopulate values to be displayed on your entry form.
Each of these values would be passed into the edit page as parameters on the URL.
For instance, if you are creating a new opportunity, your URL when clicking the "New" button might look something like this:
The only parameter here is the return URL.
To set the default value, you can view the page source and identify the id of the field you want prepopulated with a value. One thing I do want to point out is that I don't know how often if ever these ids change, but I did read about this feature over a year ago somewhere in the Salesforce.com help or supporting documentation and it was supported then.
To set this up, I use the browser to view source of the page where I want data prepopulated and identify the input field used for the field I want to set a default value:
<input id="opp3" maxlength="120" name="opp3" size="20" tabindex="1" type="text" value="" />
Then, I simply added to the URL the id of the field and the value I want to set:
Now, when the page opens, the data is prepopulated in the opportunity name field and the source now has the default value.
<input id="opp3" maxlength="120" name="opp3" size="20" tabindex="1" type="text" value="test" />
This is a quick and easy way to set default values on a field in Salesforce.
Great information . Thank you .
The complementary paper includes over 12 years of research, recent survey results, and CRM turnaround success stories.
This 60-second assessment is designed to evaluate your organization's collaboration readiness.
Learn how you rank compared to organizations typically in years 1 to 5 of implementation - and which areas to focus on to improve.
This is a sandbox solution which can be activated per site collection to allow you to easily collect feedback from users into a custom Feedback list.
Whether you are upgrading to SharePoint Online, 2010, 2013 or the latest 2016, this checklist contains everything you need to know for a successful transition.