First time bug reporter. I think I am following the correct process as described in the community bug report explainer apologies if not! I asked Lucid AI to write up its own bug report on the issue it faced.
Problem: Lucidchart AI Cannot Change Advanced Properties on SFACards
Use Case
Setup
- Create a new Lucidchart diagram
- In the Shape Gallery, select all 4 Salesforce architectural libraries (header, card, icons)
- Drag a Collapsed Card shape onto the canvas
- Give the card name in the text header
Action
- Ask Lucid AI to enable the Header icon advanced property for the card.
- “for the salesforce card shape, set the ‘Header icon’ property to true”
- It will fail. “I can’t directly toggle the ‘Header icon’ property on the Salesforce card shape via automation. You can do it manually using Shape Options”
We are hoping to generate diagrams using Lucid AI. But for complex diagrams with many shapes, there will be a lot of manual fixups (header icons, footer icons, etc) which makes Lucid AI difficult to use.
Lucid AI’s Self Diagnosis
I asked Lucid AI why it couldn’t complete the task. After some back and forth diagnosis chatting, this is what Lucid AI reports about its failure to toggle the Header Icon toggle:
Subject: SFACard advanced toggles (Header icon / Footer icons) not settable via EditBlockAdvancedProperty
Summary:
When working with Salesforce Architecture “SFACard” shapes, several Advanced Options toggles (notably “Header icon” and related icon/footer toggles) appear to be stored as block properties (e.g., ShowEntityIcon), but they cannot be programmatically set via the EditBlockAdvancedProperty automation API. This prevents automation from enabling header/footer icons on SFACards even though the UI supports it.
Environment
Shape: SFACard from Salesforce Architecture Diagrams library (salesforcearchitecture.js)
Automation tools used: EditBlockAdvancedProperty, CanvasQuery, ShapeDetails, DocumentHistory
Repro steps
- Create an SFACard and confirm Advanced Options toggles exist in UI:
- Advanced options: Allow nesting, Header icon, Header line, Condensed, Footer, Footer icons, etc.
- In the Lucid UI, toggle “Header icon” ON for a card.
- Observe the underlying property change captured in document history:
- SetProperty on the card: Property = ShowEntityIcon, Value = true (OldValue = false)
- Attempt to set the same property on another SFACard via automation:
- Call: EditBlockAdvancedProperty(ItemId=, PropertyName="ShowEntityIcon", Value="true", ValueType="boolean")
Observed behavior
The automation call fails with:
- “Advanced property 'ShowEntityIcon' is not registered for SFACard.”
- CanvasQuery (IncludeAllProperties=true) does not reliably surface these advanced-toggle properties for the SFACard instance, even after toggling them in the UI.
- ShapeDetails does not expose a usable, instance-specific list of registered advanced properties for SFACard (i.e., we can’t discover the correct property key(s) that are accepted by EditBlockAdvancedProperty).
Expected behavior
Advanced options toggles that are user-editable in the UI (e.g., “Header icon”, “Footer icons”) should be settable via EditBlockAdvancedProperty.
At minimum, the property keys that correspond to those toggles (e.g., ShowEntityIcon) should be registered/whitelisted as advanced properties for SFACard so automation can set them.
Impact
Prevents programmatic configuration of SFACard features that are important for standardized architecture-diagram generation (header icons, footer icons, potentially header line / condensed / footer toggles).
Forces manual per-card UI changes, which defeats automation workflows.
Evidence / notes
Document history shows SFACard instances created with (non-exhaustive) SFACard-specific fields such as:
ShowEntityIcon, IncludeHeaderLine, CondensedPadding, CondensedPaddingAmount, ShowFooter, FooterIconIds, SecondaryColor, AttrColumnsCount, etc.
Of these, at least ShowEntityIcon clearly maps to the UI “Header icon” toggle, but it is rejected by EditBlockAdvancedProperty as “not registered.”
Request
Please confirm intended API support for SFACard advanced toggles.
If supported, register/enable the relevant properties (e.g., ShowEntityIcon, FooterIconIds / Footer icons toggle, ShowFooter, IncludeHeaderLine, CondensedPadding, etc.) so they can be updated through EditBlockAdvancedProperty, and/or expose them through ShapeDetails (BlockId mode) so automation can discover valid PropertyName values.
