Usted estĆ” aquĆ:
Función getSurveyFlowJson
Busca una encuesta y la devuelve en formato JSON. A continuación, el HTML de presentación puede analizar la encuesta y mostrarla en el reproductor de presentación.

Utilice términos de búsqueda mÔs generales.
Seleccione menos filtros para ampliar su bĆŗsqueda.
Usted estĆ” aquĆ:
Busca una encuesta y la devuelve en formato JSON. A continuación, el HTML de presentación puede analizar la encuesta y mostrarla en el reproductor de presentación.
| Disponible en: Lightning Experience |
| Disponible en: Ediciones Enterprise y Unlimited con licencia complementaria Life Sciences Cloud, Life Sciences Cloud para Customer Engagement y el paquete gestionado Life Sciences Customer Engagement. |
Cuando se llama, esta función:
"surveyflowjsonloaded" después de que se carguen los datos JSON de la encuesta.PresentationPlayer.getSurveyFlowJson(Object)| Argumento | Descripción |
|---|---|
Object |
Una cadena JSON en este formato. |
Cuando se cargan datos de encuestas, esta función desencadena el evento "surveyflowjsonloaded" automÔticamente. Para gestionar la respuesta, registre un oyente de eventos.
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.