Applies to Product – Microsoft Copilot Studio
What’s happening?
Customers are unable to provide an ID for an adaptive card to target specific styling. Any styling applied to an adaptive card's width affects all adaptive cards, leading to a lack of individual customization.
Reason:
The adaptive card framework does not support individual ID assignment for styling purposes.
It is challenging to target a specific adaptive card with a unique ID because the adaptive card ID remains the same within the same topic. Additionally, fetching the adaptive card ID in Copilot Studio requires external tools, and customizing adaptive card formats in different nodes of a Copilot Studio topic is not feasible, which is considered a by-design feature of the integration from Adaptive card to Copilot Studio.
Resolution:
- The adaptive card framework does not support individual ID assignment for styling purposes.
- Confirm if the correct syntax and properties are being followed to assign IDs to adaptive cards as per the documentation.
- Explore the possibility of using unique class names or inline styles specific to each adaptive card to overcome the styling issue.
- Check if there is a specific library or framework being used to render the adaptive cards that might be affecting the styling.
- Investigate any recent updates or changes in the adaptive card framework that might have impacted the styling behavior.
- Review for any errors or warnings in the console when attempting to apply styles to the adaptive cards.
- Consider using CSS specificity to target and style individual adaptive cards differently.
- If necessary, consult the official documentation for further guidance on using adaptive cards in Copilot Studio.
