Questions tagged [url-encode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
35 views

HTML Email Template URL Base64 Encode

Based in question HTML Email Template URL Encode That it exposes the problem like: <a href="http://example.com/?region={!URLENCODE(Contact.Region__c)}">Click me</a> I am trying ...
user avatar
  • 111
2 votes
1 answer
122 views

CloudPage GET/POST Parameter with value "<[aZ]" fails with 500 error

I try to make sense out of an edge case scenario I just came across and would love to get some ideas around why this may happen. On any CloudPage, if I add a GET or POST parameter with the value of &...
user avatar
  • 466
1 vote
0 answers
107 views

URL Hack Lightning with % in URL Encode

I am attempting to utilize URL Hacking in lightning it has worked great until I faced having to pass a % in a stage name to the new record. It seems to be encoding properly but it still just renders a ...
user avatar
0 votes
1 answer
83 views

urlencoding is not working and redirecting to new record in lightning

In apex class via soql getting record id owner name but it is not redirecting in lightning to new record page and prepopulate values. urlString = '/lightning/o/AssetRegular__c/new/?...
user avatar
  • 1,298
0 votes
2 answers
462 views

Url hacking in lightning after comma text values are not capturing

On Custom button i am passing the url and In below code snippet Notes__c field is long text area field. when i click on custom button values are populating but in notes field if user mention comma ...
user avatar
  • 1,298
0 votes
1 answer
1k views

How to URLencode a URL in ampscript?

I am trying to set URL in my ampscript, but it changes the "?" in the url into "&". I tried to wrap the url between URLEncode("www.sample.com?12234")
user avatar
  • 1
1 vote
1 answer
419 views

How to pass API endpoint URL containing \ to

I'm trying to pass the given URL to the setEndpoint method, but I'm getting an error. This particular API URL contains backslash and maybe that's the problem because the code works fine with other ...
user avatar
2 votes
1 answer
1k views

URL Encoding String with just Plus Signs

I am just learning about EncodingUtil.urlEncode(targetString,'UTF-8'); and encoding schemes. targetString will print out something that looks like this: String targetString = '...
user avatar
  • 3,167
3 votes
1 answer
296 views

SOSL - URL Encode necessary with Asterisks?

My chief question: does Salesforce's SOSL/Parameterized search accept * wildcard searches? Related q: Does URL encoding a url with search string parameters including asterisk and + characters ...
user avatar
  • 543
2 votes
2 answers
2k views

how to create the url in lightning for vf page?

I have a vf page on that page i have a custom setting record page link that is working fine in salesforce classic but not in lightning..in Lightning i got this url when i tried that find with setup ...
user avatar
  • 104
0 votes
0 answers
472 views

Need Ampscript EncryptSymetric() output to match Coldfusion encrypt()

I am trying to use ampscript in marketing cloud to produce an encrypted string that matches encryption on a coldfusion page. I do not have the ability to change the coldfusion encryption, so the ...
user avatar
1 vote
4 answers
2k views

URLdecode with AMPScript?

Is there a way to URLdecode a URL Param with AMPscript? I am passing form data (with enctype="application/x-www-form-urlencoded") into landing page that should then decode the data and then write to ...
user avatar
  • 51
1 vote
1 answer
484 views

URL Rewriting in Lightning to support Classic functionality

I have an Apex logic that checks: On click of New button of Opportunity, if the logged-in user has permission to create records, reconstruct the PageReference with the default url like below: https://...
user avatar
  • 918
2 votes
2 answers
2k views

Get instance domain in Custom Button

For my custom button with Content Source = URL I use following formula text to get instance domain: LEFT($Api.Partner_Server_URL_390, FIND('/services', $Api.Partner_Server_URL_390)) that returns "...
user avatar
  • 65
2 votes
0 answers
242 views

How to deploy URL encoded picklist values in record types through ant?

In the metadata the picklist definition has the not URL encoded values of: A $100 million+ B $50 - $99 million And in the record types definition the values have been automatically URL encoded ...
user avatar
0 votes
1 answer
527 views

Apex equivalent of PHP sha1() and some more encoding methods

I got a PHP script to generate an encoded URL. I need to translate this script into Apex code to generate the same URL. However, the PHP encode functions seem to work differently from Apex. The ...
user avatar
3 votes
1 answer
3k views

Deployment fails when deploying picklist fields that contain URL encoded values

I'm trying to deploy a picklist field with long string values. The current limit is 255 characters, which isn't a problem except when the string contains characters that salesforce URL encodes, in ...
user avatar
  • 5,459