Find your content:

Search form

You are here

Pipe seperated params in URL

 
Share

I am passing Id's as pipe seperated params in URL and want to pass the params to salesforce reports e.g String param_ID_url = '701K00000002MtxIAE|701K00000002Mz9IAE';

when I try to pass to the button using Action global variable the url gets encoded and shows up as : 701K00000002MtxIAE%7C701K00000002Mz9IAE

Is there any way to stop this and let the | be as | symbol in the URL. I tried using substitute in the button code to substitute '%7c' with '|' still no lucj :(

Please guide me on how to make the | pass as pipe than encoding to %7c

button code:

https://www.appextremes.com/apps/Conga/Composer.aspx?
SessionId={!$Api.Session_ID}
&ServerUrl={!$Api.Partner_Server_URL_210}
&id={!Campaign.Id}
&TemplateId=a25K0000000D6wF
&FP0=1
&ReportId=00OK0000000FaWF?**pv0={!substitute(String param_ID_url,'%7c','|') }**
&DS7=0
&OCNR=1

Attribution to: Rao

Possible Suggestion/Solution #1

As shown on this tutorial:

http://acertiscloud.screenstepslive.com/s/manuals/m/invoice_it/l/80749-how-to-configure-conga-composer

your Id's should be comma separated as oppose to pipe.


Attribution to: Boris Bachovski
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/4473

My Block Status

My Block Content