Forum Discussion
Partial Updates to Metadata for GTM and LTM
- Jul 29, 2020
I presume you have a number of meta-data names and associated values inside the metadata property as shown in an example below and you want to replace/delete/modify just one of them. Unfortunately, you can perform only replace-all-with. If you need to partially replace, you need to first get the array (as shown in the square bracket), manipulate it, and send it back.
"metadata": [ { "name": "satMeta", "persist": "true", "value": "Sat" }, { "name": "toyoMeta", "persist": "false", "value": "Toyo" } ],
This limitation is also discussed in ltm internal datagroup (can't modify a subset of records and need to replace-all).
I presume you have a number of meta-data names and associated values inside the metadata property as shown in an example below and you want to replace/delete/modify just one of them. Unfortunately, you can perform only replace-all-with. If you need to partially replace, you need to first get the array (as shown in the square bracket), manipulate it, and send it back.
"metadata": [
{
"name": "satMeta",
"persist": "true",
"value": "Sat"
},
{
"name": "toyoMeta",
"persist": "false",
"value": "Toyo"
}
],
This limitation is also discussed in ltm internal datagroup (can't modify a subset of records and need to replace-all).
- syncretismJul 29, 2020Nimbostratus
This is too bad, but we'll make it work; at least I know what to do. Thank you for this, and the information you have given me in the past!
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com