How to use/replace GlideStringUtil for scoped app?

aklimenko
Mega Expert

We use GlideStringUtil in these cases. Is it supported in scoped app or how can we rewrite it?

1. GlideStringUtil.urlEncode(value)

2. GlideStringUtil.base64Encode(...)

7 REPLIES 7

Was about to ask the same question


quad_lima
Kilo Contributor

This is an old post but if you are still running on older versions you can use gs.base64Encode or gs.base64Decode


Thanks Brent. The methods you mention were not available back at the time of the post, and happily we have moved into newer releases where they are available.