Você está aqui:
getSurveyFlowJson Function
Pesquisa uma pesquisa e a retorna no formato JSON. Então, o HTML de apresentação pode analisar a pesquisa e mostrá-la no player de apresentação.

Tente utilizar termos mais genéricos.
Selecione menos filtros para ampliar sua pesquisa.
Pesquisa uma pesquisa e a retorna no formato JSON. Então, o HTML de apresentação pode analisar a pesquisa e mostrá-la no player de apresentação.
| Disponível em: Lightning Experience |
| Disponível em: Edições Enterprise e Unlimited com a licença Life Sciences Cloud, o complemento Life Sciences Cloud para Engajamento do cliente e o pacote gerenciado Engajamento do cliente Life Sciences. |
Quando chamado, esta função:
"surveyflowjsonloaded" após o carregamento dos dados JSON da pesquisa.PresentationPlayer.getSurveyFlowJson(Object)| Argumento | Descrição |
|---|---|
Object |
Uma string JSON neste formato. |
Quando os dados da pesquisa são carregados, essa função aciona o evento de "surveyflowjsonloaded" automaticamente. Para lidar com a resposta, registre um ouvinte de evento.
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.