- Utiliser SafetyCulture
- Conseils et astuces
- Créer des liens profonds vers SafetyCulture
Créer des liens profonds vers SafetyCulture
Découvrez comment créer des liens profonds vers l'application Web et l'application portable de SafetyCulture.
Que sont les liens profonds ?
Les liens profonds permettent aux utilisateurs de naviguer directement vers des parties spécifiques d'une page Web ou d'une application portable à l'aide d'identifiants de ressources uniformes (URI). Dans SafetyCulture, vous pouvez créer des liens profonds qui dirigent les membres de votre équipe vers des modèles spécifiques, des inspections ou même des pages ou questions d'inspection particulières. Ainsi, les utilisateurs peuvent rapidement accéder aux informations exactes dont ils ont besoin, qu'ils commencent une nouvelle inspection ou qu'ils modifient une inspection existante.
Selon les liens profonds que vous créez et partagez avec votre équipe, les utilisateurs devront avoir accès aux entités concernées pour pouvoir ouvrir les liens profonds avec succès.
Vous aurez besoin
Lors de l'ouverture d'un lien profond, l'utilisateur sera invité à sélectionner l'organisation dans laquelle il souhaite ouvrir le lien s'il fait partie de multiples organisations.
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>
Veuillez noter que ce lien profond ne prend pas en charge les questions au sein des sections répétées.
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.
Vous pouvez pré-remplir plusieurs questions en utilisant « & » dans le lien profond. Par exemple :
iauditor://template/new_audit/template_fcbc86fd41a74180921347e4be53bdf2?f3245d44-ea77-11e1-aff1-0800200c9a66=72%20Foveaux%20Street%2C%20Surry%20Hills&f324123ra-ea21-11e2-aff4-0800200c9a68=SafetyCulture
Toutefois, faites attention à la longueur, car les liens profonds trop longs risquent de ne pas fonctionner de manière cohérente. Pour les liens longs, vous pouvez utiliser le raccourcissement d'URL, à condition que le service que vous utilisez puisse renvoyer le lien complet.
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>
Veuillez noter que ce lien profond ne prend pas en charge les questions au sein des sections répétées.
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
Cette page vous a-t-elle été utile?
Merci pour votre commentaire.