pfeifera
New Creator

Encode URL

Hi!

we want tot transfer a page URL to our SAP Commerce and tried to encode the URL in a script which is calculating the label.

context.logInfo("seturl for " + uid + " : " + path);
//context.logInfo("end calculateLabel");

return path;

Has anyone an idea how to encode the path in the CaaS channel? We couldn't find anything in the documentation.

Thanks.

Antje

0 Kudos