Questions tagged [url-encode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
24 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/?...
0
votes
1answer
93 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 ...
0
votes
1answer
620 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
239 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
937 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
142 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
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 ...
0
votes
0answers
354 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
1k 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
446 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
2answers
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 "...
2
votes
0answers
218 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
460 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 ...