how pass parameters in ChangeAttributesOperation
Posted: Mon Sep 12, 2022 12:37 pm
Hi Oxygen Team,
I want to use ChangeAttributesOperation and on button click i want to add multiple attributes, could you please help me how to pass the parameters in name and value.
I want to pass multiple attribute name and attribute values.For example--
actionsManager.invokeOperation(
'ro.sync.ecss.extensions.commons.operations.ChangeAttributesOperation', {
name: '["image-key","location"]',
value: '[attImageKey,attLocation]'
}, function(e, result) {
disposeInlineViewDialog(inlineEmbededImageDialog);
})
}
Thanks,
Shikhar.
I want to use ChangeAttributesOperation and on button click i want to add multiple attributes, could you please help me how to pass the parameters in name and value.
I want to pass multiple attribute name and attribute values.For example--
actionsManager.invokeOperation(
'ro.sync.ecss.extensions.commons.operations.ChangeAttributesOperation', {
name: '["image-key","location"]',
value: '[attImageKey,attLocation]'
}, function(e, result) {
disposeInlineViewDialog(inlineEmbededImageDialog);
})
}
Thanks,
Shikhar.