Questions tagged [url-encode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
163 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")
1
vote
1answer
119 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 ...
2
votes
1answer
419 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 = '...
3
votes
1answer
82 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 ...
2
votes
2answers
904 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 ...
1
vote
1answer
48 views

Encode custom JS button returns error- “expected expression, got '.'”

Here is the button text {!REQUIRESCRIPT("/soap/ajax/28.0/connection.js")} {!REQUIRESCRIPT("/soap/ajax/28.0/apex.js" )} /*CHECK IF REQUIRED FIELDS ARE PRESENT ON INQUIRY OBJECT*/ if('{!Inquiry__c....
0
votes
0answers
219 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 ...
1
vote
4answers
509 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 ...
1
vote
1answer
350 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://...
2
votes
1answer
989 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 "...
2
votes
0answers
206 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 ...
0
votes
1answer
355 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 ...
3
votes
1answer
2k 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 ...