Important
The goal of this tech preview is to gather feedback to further refine the existing capabilities and to identify areas for future development. This tech preview product may contain usability limitations and possibly some bugs. Do not use this tool to create or update properties enabled on the Akamai production network.
onConfig
can be used to setup user defined variables. When using the Property Manager User Interface, variables are required to be defined in the Property Variables
section. When using the config
object, variables can be defined implicitly using the setVariable
function.
Using setSetVariable
will defined the specific variable name for you, and allow its value to be set without needing to define it separately.
The onConfig
function uses Metadata stage matching to change the value of the variable at various points in the processing of the property. A curl to the created property will produce a response that has 2 headers added: x-test-pcdn-sample-2
and x-test-pcdn-sample-3
.