您在此处:
getSurveyFlowJson Function
搜索调查,并以 JSON 格式返回。然后,演示 HTML 可以解析调查并将其显示在演示播放器中。

使用更普遍的搜索词。
选择更少的筛选器,并扩大搜索范围。
搜索调查,并以 JSON 格式返回。然后,演示 HTML 可以解析调查并将其显示在演示播放器中。
| 适用于:Lightning Experience |
| 适用于:具有Life Sciences Cloud、Life Sciences Cloud for Customer Engagement加载项许可证和Life Sciences Customer Engagement受管软件包的Enterprise 和 Unlimited Edition。 |
在调用时,此函数:
"surveyflowjsonloaded"事件。PresentationPlayer.getSurveyFlowJson(Object)| 参数 | 说明 |
|---|---|
Object |
此格式的 JSON 字符串。 |
加载调查数据时,此函数会自动触发"surveyflowjsonloaded"事件。要处理响应,请注册事件侦听器。
PresentationPlayer.registerEventListener("surveyflowjsonloaded", function(surveyJson
){ // Handle the survey JSON data
console.log("Survey loaded:", surveyJson);
});
// Call the function
PresentationPlayer.getSurveyFlowJson({"developerName": "test_survey"});
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.