Última actualización:

Crear enlaces profundos a SafetyCulture

Aprenda a crear enlaces profundos (deeplinks) a la aplicación web y móvil de SafetyCulture (anteriormente iAuditor).

¿Qué son los enlaces profundos?

Crear enlaces profundos es la práctica de dirigir a los usuarios más profundamente hacia una página web o aplicación móvil mediante el uso de identificadores de recursos uniformes (URI). En el contexto de SafetyCulture, puede crear enlaces profundos que lleven a los miembros de su equipo a plantillas, inspecciones e incluso páginas de inspección o preguntas específicas. Esta es una excelente manera de dirigir con precisión a las personas a donde deben ir, ya sea para comenzar una nueva inspección o editar una existente.

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.

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>

Please note that this deep link does not support questions within repeat sections.

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/trainings/course/<course_id>

You can use the following example as a reference to create your own:

https://app.safetyculture.com/trainings/course/66737966f7397b3bc9e0a377

Start a course from a lesson

Create the following deep link to direct a user to start a course starting from a specific lesson via the web app by providing the course ID and the lesson ID:

https://app.safetyculture.com/trainings/lesson/<lesson_id>/play

You can use the following example as a reference to create your own:

https://app.safetyculture.com/trainings/lesson/66737966f7397b3bc9e0a378/play

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/profile

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.

You can pre-fill multiple questions by using "&" in the deep link. For example:

iauditor://template/new_audit/template_fcbc86fd41a74180921347e4be53bdf2?f3245d44-ea77-11e1-aff1-0800200c9a66=72%20Foveaux%20Street%2C%20Surry%20Hills&f324123ra-ea21-11e2-aff4-0800200c9a68=SafetyCulture

However, be mindful of the length, as deep links that are too long may not work consistently. For long links, you can use URL shortening as long as the service you're using can return the full link.

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>

Please note that this deep link does not support questions within repeat sections.

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://trainings/course/<course_id>

You can use the following example as a reference to create your own:

iauditor://trainings/course/66737966f7397b3bc9e0a377

Start a course from a lesson

Create the following deep link to direct a user to start a course starting from a specific lesson via the mobile app by providing the course ID and the lesson ID:

iauditor://trainings/lesson/<lesson_id>/play

You can use the following example as a reference to create your own:

iauditor://trainings/lesson/66737966f7397b3bc9e0a378/play

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/profile

¿Necesita más ayuda?
En este artículo