Questions tagged [urlhacking]
To modify the url of a page to affect its navigation or behavior. Most commonly to add or change the values of parameters/attributes.
281 questions
0 votes
0 answers
26 views
The equals operator can be used in report URL parameters, but has anyone found a way to use other operators (e.g., <, >, <=, >=, etc.)?
Question: I know that the equals operator can be used in report URL parameters, but has anyone found a way to use other operators (e.g., <, >, <=, >=, starts with, contains)? Context: I’m ...
1 vote
1 answer
103 views
How do I know the exact release version/name of my Salesforce instance?
I would like to know the exact version, not just of the API and name of the release, but the version information including the patch number. Is it possible to find this in an easy way?
2 votes
1 answer
323 views
How to paste a current listview name in the URL on a custom button in Salesforce?
I have a custom button on Opportunity for creation of a record with a predefined stage. I need to get back to the listview I started with if I cancel the operation So I paste in the URL section: /...
0 votes
1 answer
208 views
How do I filter a dashboard based on a date using url parameters?
I want to dynamically filter a dashboard to see only records with a field on a specific date. The documentation doesn't explain how to write a date as a url parameter. I keep getting the same error &...
0 votes
0 answers
54 views
String in Apex class is not pulling in data from formula field to push data to external form
I have a button that was created to allow a user to schedule an appointment with a lead. The button goes to an external schedular and should pull in the details of the lead (name, email, and phone) ...
1 vote
0 answers
286 views
How do you create a List Button for Related Records with Default Values found in a related opportunity?
I am tasked with creating a list button on the Account object for the related opportunities list. The record that needs to be created needs to have other default values that are found in one of the ...
0 votes
0 answers
199 views
How to update an existing custom Link that passes info to a report to work in Lightning
I have a client that is migrating to Lightning and they have an existing custom link, created years ago when they were on a very restricted edition of SFDC and had who knows building out the ...
0 votes
1 answer
564 views
Salesforce URL hacking not working for Lookup field
On Contact I have one custom button where we want to give create opportunity functionality. It is working fine for most of the values but not able to populate the look up field. I tried below ways. /...
0 votes
0 answers
1k views
Pass the related record ID through the URL hacking
I have a two custom object Sample and Sample detail. Sample detail has a lookup relationship to the Sample record. And both the records have lookup relationship to the Case. When I create a Sample ...
1 vote
1 answer
226 views
Custom List button not working as expected
I have a two custom object Sample and Sample detail. Sample detail has a lookup relationship to the Sample record. And both the records have lookup relationship to the Case. Below is the Sample record ...
0 votes
0 answers
1k views
Background context and Save URL in URL hacking
I have a URL list button that pops up the New Account contact relationship form. Below is the URL: {!URLFOR('/lightning/o/AccountContactRelation/new?backgroundContext=/lightning/r/Account/{Account.Id}/...
0 votes
2 answers
2k views
How do I get the correct record URL when viewing between object list view and record pages?
I'm currently using a formula field with a HYPERLINK function in the Account object to show the value of Custom_Object_Field__c from a custom object which also redirects the user to the custom object ...
0 votes
1 answer
62 views
Parent Case Custom Buttom to mirror some fields
I want to create a Custom List Button on the Case Object on the Service Console that creates a new case link via the Parent case and mirrors some fields from the original case. This is what I got: /...
2 votes
2 answers
3k views
How to create a public link for library in files?
I Have a library let's say "XYZ Library" in Libraries Section of files and I need to get a public link for that library same as we create for Folders from the drop down, so that I can use it ...
0 votes
1 answer
357 views
URL hack for Add Products button in Lightning
The following button code opens the Add Products screen in Classic: /ui/opportunity/SelectSearch?relatedListId=PricebookEntry&addTo={!Opportunity.Id} Is there a Lightning equivalent? Bonus points ...