正解:A
When thepreview button is greyed outin a Flex prompt template, it is often because the records related to the prompt have not been selected. Flex prompt templates pull data dynamically from Salesforce records, and if there are no records specified for the prompt, it can't be previewed since there is no content to generate based on the template.
* Option B, not saving or activating the prompt, would not necessarily cause the preview button to be greyed out, but it could prevent proper functionality.
* Option C, missing a merge field, would cause issues with the output but would not directly grey out the preview button.
Ensuring that the related records are correctly linked is crucial for testing and previewing how the prompt will function in real use cases.
Salesforce AI Specialist References:Refer to the documentation on troubleshooting Flex templates here:
https://help.salesforce.com/s/articleView?id=sf.flex_prompt_builder_troubleshoot.htm