I think you need to encode your url so it handles the special characters, like a #. This thread may help:
I am trying to create a Clone button that redirects to a URL and I am passing the following parameters, see below . All parameters are separated by the & symbol (ampersand special character). My problem is that one of the values I am passing contains a & symbol. Is there a way to tell Skuid to automatically URL Encode the values before passing to the URL string? PumpType={{Pump_Type__c}}&CareArea={{Care_Area__c}}&OtherPumpType={{Other_Pump_Type__c}}&DateOfGoLive={{Date_of_Go_Live__c}}
This was exactly what I was looking for, thanks for the suggestion! Didnt know where to start with this one but it completely makes sense now.
The updated query string is below
AccountId={{$Model.Account.data.0.Id}}&MailingStreet={{#urlEncode}}{{$Model.Account.data.0.BillingStreet}}{{/urlEncode}}&MailingCity={{$Model.Account.data.0.BillingCity}}&MailingState={{$Model.Account.data.0.BillingState}}&MailingPostalCode={{#urlEncode}}{{$Model.Account.data.0.BillingPostalCode}}{{/urlEncode}}&Phone={{$Model.Account.data.0.Phone}}&MailingCountry={{$Model.Account.data.0.BillingCountry}}
Hi Good day!
I am also facing the same issue, When we are passing the data because of some special characters the is not passing.
Original Query String:
accountSTId={{$Model.dsm_UI_Opportunitydrawer.data.0.TemporarySTID}}&userId={{$Model.dsm_UI_Opportunitydrawer.data.0.userID}}&ruleId={{ruleId}}&ruleName={{ruleName}}&recommendationFlag={{recommendationFlag}}&recommendation={{recommendation}}&evaluationMessage={{evaluationMessage}}&recommendationId={{recommendationId}}&recommendationType={{recommendationType}}&isLightning={{$Model.dsm_UI_Ltng_Ctl_Program.data.0.isLightning}}
Tried Query String:
accountSTId={{$Model.dsm_UI_Opportunitydrawer.data.0.TemporarySTID}}&userId={{$Model.dsm_UI_Opportunitydrawer.data.0.userID}}&ruleId={{ruleId}}&ruleName={{ruleName}}&recommendationFlag={{recommendationFlag}}&recommendation={{recommendation}}&evaluationMessage={{&urlEncode}}{{evaluationMessage}}{{/urlEncode}}&recommendationId={{recommendationId}}&recommendationType={{recommendationType}}&isLightning={{$Model.dsm_UI_Ltng_Ctl_Program.data.0.isLightning}}
example passing data:
I am playing cricket & you can able to play it?
Can anyone please help me with this issue?
Hey @Hareeshkommineni and Welcome!
I fixed the link in the older thread that may help(see above), but I will report it here:
I am trying to create a Clone button that redirects to a URL and I am passing the following parameters, see below . All parameters are separated by the & symbol (ampersand special character). My problem is that one of the values I am passing contains a & symbol. Is there a way to tell Skuid to automatically URL Encode the values before passing to the URL string? PumpType={{Pump_Type__c}}&CareArea={{Care_Area__c}}&OtherPumpType={{Other_Pump_Type__c}}&DateOfGoLive={{Date_of_Go_Live__c}}
Where the input (or a datasource field) needs to be merged into a url, it is recommended to use the merge function like so: {{#urlEncode}}{{address}}{{/urlEncode}}
.
The doc for this can be found here.
I hope this helps!
Hi @QuinnRyan,
I have tried with this query string:
recommendation={{recommendation}}&evaluationMessage={{#encodeUrl}}{{evaluationMessage}}{{/#encodeUrl}}&recommendationId={{recommendationId}}
After passing this query string the data is not passing to the next page.
Could you please help me with this?
Hey @Hareeshkommineni, it looks like you just need to remove the # sign from your second encode URL parameter, and make sure you use {{#urlEncode}} rather than {{#encodeURL}}:
recommendation={{recommendation}}&evaluationMessage={{#urlEncode}}{{evaluationMessage}}{{/urlEncodel}}&recommendationId={{recommendationId}}
Cheers!
Hey @Hareeshkommineni just wanted to follow up. Did Anna’s solution resolve your issue?
Hello @QuinnRyan @Anna_Wiersema,
Thank you so much for your help!
I made small mistake in code just changed and its working now.
Regards,
Hareesh
@Hareeshkommineni That’s awesome.
If you can please make the post as solved, it will help other users find the answer that helped you easier.
Thanks!