Ideas for Arc XP

Pass entire composer object to powerup view not just embed config

At times there may be data that's part of the additional_properties object which is part of the composer embed object that is needed to flesh out things in a powerup's views within composer. However Composer only passes the object's embed config to the powerup. Example:


Entire composer content_element object for a powerup item:



{

"_id": "KYSG4BAPBJDETHWMETQ6DHHMV4",

"additional_properties": {

"_id": "7FYQ5WN35JHKJL64EPUGKCDXXY",

"comments": [],

"livestory_author": "Bob Geldof",

"livestory_child_story": "FIIMZKPRKRGKNHXUOFUA6W2IGE"

},

"embed": {

"config": {

"dateTimeField": 1631117776129

},

"id": "timestamp-24691",

"url": "/"

},

"subtype": "timestamp_powerup",

"type": "custom_embed"

}


At present Composer only passes to the powerup views the embed.config object. In order to process the Live Article roll up data which is part of the additional_properties object we'd need access to it, but it's not passed over.

  • Phil Pastorek
  • Sep 15 2021
  • Future consideration
  • Attach files
  • Jenny Czaja commented
    September 29, 2021 22:28

    Thank you for submitting this idea and bringing this to our attention. I've added this for future consideration.