- Usar SafetyCulture
- Consejos y trucos
- Crear enlaces profundos a SafetyCulture
Crear enlaces profundos a SafetyCulture
Aprenda a crear enlaces profundos a la aplicación web y la aplicación móvil de SafetyCulture.
¿Qué son los enlaces profundos?
Los enlaces profundos permiten a los usuarios navegar directamente a partes específicas de una página web o aplicación móvil utilizando identificadores uniformes de recursos (URI, por sus siglas en inglés). En SafetyCulture, puede crear enlaces profundos que dirijan a los miembros de su equipo a plantillas específicas, inspecciones o incluso a páginas o preguntas de inspecciones concretas. Esto garantiza que los usuarios puedan acceder rápidamente a la información exacta que necesitan, tanto si están iniciando una nueva inspección como editando una existente.
Dependiendo de los enlaces profundos que cree y comparta con su equipo, los usuarios necesitarán acceso a las entidades relevantes para poder abrir los enlaces profundos correctamente.
Al abrir un enlace profundo, se le pedirá al usuario que seleccione desde qué organización desea abrir el enlace si forma parte de varias organizaciones.
Create a web app deep link
Start an inspection
Create the following deep link to direct a user to start an inspection via the web app with a specified template by providing the template ID:
https://app.safetyculture.com/inspection/new?templateId=<template_id>
You can use the following example as a reference to create your own:
https://app.safetyculture.com/inspection/new?templateId=template_fcbc86fd41a74180921347e4be53bdf2
View an inspection report
Create the following deep link to direct a user to view an inspection report via the web app by providing the inspection ID:
https://app.safetyculture.com/report/audit/<inspection_id>
You can use the following example as a reference to create your own:
https://app.safetyculture.com/report/audit/audit_212a63de0cf4452586cb41204bd91eec
Edit an inspection
Create the following deep link to direct a user to edit an inspection via the web app by providing the inspection ID:
https://app.safetyculture.com/inspection/<inspection_id>
You can use the following example as a reference to create your own:
https://app.safetyculture.com/inspection/audit_212a63de0cf4452586cb41204bd91eec
Edit an inspection from a question
Create the following deep link to direct a user to edit an inspection starting from a specific question via the web app by providing the inspection ID and the question's item ID:
https://app.safetyculture.com/inspection/<inspection_id>?item=<item_id>
Por favor, tenga en cuenta que este enlace profundo no admite preguntas dentro de Secciones de repetición.
You can use the following example as a reference to create your own:
https://app.safetyculture.com/inspection/audit_dcf0930716874369a66da13ad474bfff?item=8f2f287e-be6e-470c-a2e2-a0fd8ab966ae
Edit an inspection from a page
Create the following deep link to direct a user to edit an inspection starting from a specific page via the web app by providing the inspection ID and the page number:
https://app.safetyculture.com/inspection/<inspection_id>?page=<page_number>
You can use the following example as a reference to create your own:
https://app.safetyculture.com/inspection/audit_212a63de0cf4452586cb41204bd91eec?page=3
Start a course
Create the following deep link to direct a user to start a course via the web app by providing the course ID:
https://app.safetyculture.com/training/learn/course/<course_id>
You can use the following example as a reference to create your own:
https://app.safetyculture.com/training/learn/course/66737966f7397b3bc9e0a377
Open an asset profile
Create the following deep link to direct a user to open an asset profile via the web app by providing the asset ID:
https://app.safetyculture.com/assets/<asset_id>
You can use the following example as a reference to create your own:
https://app.safetyculture.com/assets/a33d56ae-1c91-40b0-a62e-98ab47ef75a0
Create a mobile app deep link
Start an inspection
Create the following deep link to direct a user to start an inspection via the mobile app with a specified template by providing the template ID:
iauditor://template/new_audit/<template_id>
You can use the following example as a reference to create your own:
iauditor://template/new_audit/template_fcbc86fd41a74180921347e4be53bdf2
Start and pre-fill an inspection
Create the following deep link to direct a user to start an inspection via the mobile app with a specified template and pre-fill questions by providing the template ID, question item ID, as well as the responses you want to pre-fill:
iauditor://template/new_audit/<template_id>?<item_id>=<response>
Depending on the response you want to pre-fill, you may need to encode it for the deep link to work. For example, spaces should be replaced with "%20", so "Surry Hills" would be encoded as "Surry%20Hills". You can refer to the URL encoding list for guidance.
Puede completar previamente varias preguntas utilizando "&" en el enlace profundo. Por ejemplo:
iauditor://template/new_audit/template_fcbc86fd41a74180921347e4be53bdf2?f3245d44-ea77-11e1-aff1-0800200c9a66=72%20Foveaux%20Street%2C%20Surry%20Hills&f324123ra-ea21-11e2-aff4-0800200c9a68=SafetyCulture
Sin embargo, tenga cuidado con la longitud, ya que los enlaces profundos que sean demasiado largos pueden no funcionar de manera uniforme. Para enlaces largos, puede utilizar un acortador de URL siempre que el servicio que esté utilizando pueda retornar el enlace completo.
You can use the following example as a reference to create your own:
iauditor://template/new_audit/template_fcbc86fd41a74180921347e4be53bdf2?f3245d44-ea77-11e1-aff1-0800200c9a66=72%20Foveaux%20Street%2C%20Surry%20Hills
Edit an inspection
Create the following deep link to direct a user to edit an inspection via the mobile app by providing the inspection ID:
iauditor://audit/<audit_id>
You can use the following example as a reference to create your own:
iauditor://audit/audit_7d228b49406741fab40599a1ed0c87cb
Edit an inspection from a question
Create the following deep link to direct a user to edit an inspection starting from a specific question via the mobile app by providing the inspection ID and the question's item ID:
iauditor://audit/<audit_id>/item/<item_id>
Por favor, tenga en cuenta que este enlace profundo no admite preguntas dentro de Secciones de repetición.
You can use the following example as a reference to create your own:
iauditor://audit/audit_7d228b49406741fab40599a1ed0c87cb/item/65f92f7e-a88b-4388-b7d8-281445a55404
Start a course
Create the following deep link to direct a user to start a course via the mobile app by providing the course ID:
iauditor://training/learn/course/<course_id>
You can use the following example as a reference to create your own:
iauditor://training/learn/course/66737966f7397b3bc9e0a377
Open an asset profile
Create the following deep link to direct a user to open an asset profile via the mobile app by providing the asset ID:
iauditor://asset/profile/<asset_id>
You can use the following example as a reference to create your own:
iauditor://asset/profile/a33d56ae-1c91-40b0-a62e-98ab47ef75a0
¿Esta página le fue de ayuda?
Gracias por hacérnoslo saber.