Skip to main content
ExpertExpert

On October 21, we applied a security patch across all NiCE KM production environments to address a recently disclosed PHP vulnerability. The update was completed without service disruption, and our team continues to monitor the platform closely. No action is required on your part.

NiCE Knowledge Success Center

URI functions

Applies to:
All versions
Role required:
Draft Contributor

The following functions and variables are part the DekiScript and NiCE KM runtime environment.

uri.appendpath(uri, path) : str

Append path segments to a URI.

Name Type Description
uri uri base uri
path any (optional) path segments to append (must a string or list of strings)

uri.appendquery(uri, args) : str

Append query parameters to a URI.

Name Type Description
uri uri base uri
args map query parameters to append

uri.build(uri, path, args) : str

Build a new URI with path and query parameters.

Name Type Description
uri uri base uri
path any (optional) path segments to append (must a string or list of strings)
args map (optional) query parameters to append

uri.decode(text) : str

Decode text as a URI component.

Name Type Description
text str text to decode

uri.encode(text) : str

Encode text as a URI component.

Name Type Description
text str text to encode

uri.isvalid(value) : bool

Check if a value is a valid URI.

Name Type Description
value any (optional) uri to validate

uri.parts(uri) : map

Decompose a URI into its component parts.

Name Type Description
uri uri uri to decompose
  • Was this article helpful?