
Announcements
I hope I'm describing this properly. See captions on screenshots.
I have a card that shows a list of information. If the information is correct, the user can Submit. If the information needs to be edited, there's an EDIT button that will Action.ShowCard. This displays an Adaptive Card with a series of Input.Text fields. Then the user can submit the updated information. This data is is going to a SPO List.
I'm not seeing these text fields in the output of the card and the action that follows is getting a "null" input when it should be getting the text from the previous action.
I'm pretty sure I have all the code correct. So I'm wondering if the text input inside an embedded Adaptive Card can't be utilized.
It's also worth noting that I'm using Get Info from the SPO List to populate the "value" for the text fields.
Card displays information. User can edit info.
Following action should use the information from the previous card.
This is the output from the card. It's not showing the card data within Action.ShowCard.
Resulting input is "null'.
It seems my hunch is true. (Or I could be doing something wrong.) I've replaced the entire card with just the code from the hidden card (screen shot below). This works nominally - fields are populated with previous entires and leaving them alone provides an output for all of the fields. So, this confirms for me that using values from Get Info to fill a text field (and SPO list) is a valid operation.
What do I need to do to grab the values from the 'hidden' card (below)? I suspect that this value needs to be changed to reflect its location within the formula. The value is currently
@{body('Post_adaptive_card_and_wait_for_a_response_3')?['data']?['client']}
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.3",
"body": [
{
"type": "ActionSet",
"actions": [
{
"type": "Action.ShowCard",
"title": "Edit Information ",
"card": {
"type": "AdaptiveCard",
"body": [
{
"type": "Input.Text",
"placeholder": "Client Name",
"id": "client",
"spacing": "Medium",
"label": "Client:",
"value": "@{outputs('Get_item')?['body/Client']}"
}
]
},
"id": "edit"
}
]
}
]
}