Question 1
IntermediateFlexCards · FlexCard Configuration and Design
A Technical Architect is designing a dashboard for a Telecommunications client. The dashboard includes a FlexCard that displays billing history retrieved from a legacy REST API. The API response takes approximately 4 seconds to return data. To prevent the entire dashboard from freezing while waiting for this data, which configuration strategy should the architect employ within the FlexCard Designer?
Answer and explanation
Correct answer: D
While FlexCards generally load data on initialization, for long-running processes, the best practice is to offload the wait time. However, strictly speaking, FlexCard data sources are synchronous by default in the rendering lifecycle. The optimal architectural pattern for a 4-second delay is to load the card with a placeholder state and trigger the data load asynchronously, or more commonly, configure the Integration Procedure call with specific timeout/async settings if supported. However, among standard declarative options, the most effective way to not block the UI in a larger dashboard context is ensuring the Integration Procedure is optimized or using the 'Async' options if available in the specific runtime version. Note: In standard FlexCard configuration, blocking the UI is often mitigated by ensuring the IP is performant. If the question implies a specific setting, disabling 'Wait for Response' is not a standard FlexCard data source property. The correct approach for non-blocking UI in complex dashboards is often handling the data fetch via an event or separate component, but within the options provided, configuring the IP execution settings is the closest valid path.
