What's New in the Script API

The following classes are either new or have been changed in version 21.4.

Package dw.crypto

The following classes changed in the dw.crypto Package.


Cipher
MethodSummary
encrypt(String, String, String, String, Number)

Documentation Changed.

encrypt(String, String, String, String, Number)

Documentation Changed.

encrypt(String, String, String, String, Number)

Documentation Changed.

encrypt(String, String, String, String, Number)

Documentation Changed.

encrypt(String, String, String, String, Number)

Documentation Changed.

encrypt(String, String, String, String, Number)

Documentation Changed.


Encoding
MethodSummary
fromBase64(String)

Documentation Changed.

fromHex(String)

Documentation Changed.

Package dw.customer.oauth

The following classes changed in the dw.customer.oauth Package.


OAuthAccessTokenResponse
MethodSummary
getExtraTokens()

Method is New

getIDToken()

Method is New


OAuthLoginFlowMgr
  • Class Documentation Changed
MethodSummary
finalizeOAuthLogin()

Documentation Changed.

Package dw.experience

The following classes changed in the dw.experience Package.


AspectAttributeValidationException
  • Class Documentation Changed

Component
MethodSummary
getAttribute(String)

Documentation Changed.


ComponentScriptContext
  • Class Documentation Changed
MethodSummary
getContent()

Documentation Changed.


Page
  • Class Documentation Changed
MethodSummary
getAspectTypeID()

Documentation Changed.

getAttribute(String)

Documentation Changed.

hasVisibilityRules()

Documentation Changed.

isVisible()

Documentation Changed.


PageMgr
  • Class Documentation Changed
MethodSummary
renderPage(String, Map, String)

Documentation Changed.

renderPage(String, String)

Documentation Changed.

serializePage(String, Map, String)

Method is New

serializePage(String, String)

Method is New


PageScriptContext
  • Class Documentation Changed
MethodSummary
getContent()

Documentation Changed.

getRenderParameters()

Documentation Changed.

Deprecated

getRuntimeParameters()

Method is New

Package dw.io

The following classes changed in the dw.io Package.


RandomAccessFileReader
FieldSummary
MAX_READ_BYTES

Field is New

Package dw.util

The following classes changed in the dw.util Package.


Bytes
  • Class Documentation Changed
FieldSummary
MAX_BYTES

Deprecated

ConstructorSummary
Bytes(Object)

Constructor is New

MethodSummary
asUint8Array()

Method is New

bytesAt(Number, Number)

Documentation Changed.

toString()

Documentation Changed.

toString(String)

Documentation Changed.

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.