- SafetyCulture nutzen
- Tipps und Tricks
- Deep Links zu SafetyCulture erstellen
Deep Links zu SafetyCulture erstellen
In diesem Arikel erfahren Sie, wie Sie Deep Links zur SafetyCulture Web-App und zur Mobile-App erstellen können.
Was sind Deep Links?
Deep Links ermöglichen es Nutzern, mithilfe von einheitlichen Ressourcenbezeichnern (URIs) direkt zu bestimmten Teilen einer Webseite oder einer Mobile-App zu navigieren. In SafetyCulture können Sie Deep Links erstellen, die Ihre Teammitglieder zu bestimmten Vorlagen, Inspektionen oder sogar zu bestimmten Inspektionsseiten oder Fragen führen. Auf diese Weise wird sichergestellt, dass die Nutzer schnell Zugriff auf genau die Informationen haben, die sie benötigen, unabhängig davon, ob sie eine neue Inspektion starten oder eine bestehende Inspektion bearbeiten.
Abhängig von den Deep Links, die Sie erstellen und mit Ihrem Team teilen, benötigen die Nutzer Zugriff zu den entsprechenden Instanzen, um die Deep Links erfolgreich öffnen zu können.
Was Sie brauchen
Beim Öffnen eines Deeplinks wird ein Nutzer, der einer mehreren Organisationen angehört, aufgefordert, die Organisation auszuwählen, deren Link er öffnen möchte.
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>
Bitte beachten Sie, dass dieser Deep Link nicht für Fragen in Wiederholungsabschnitten geeignet ist.
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.
Sie können mehrere Fragen vorausfüllen, indem Sie "&" im Deep Link verwenden. Zum Beispiel:
iauditor://template/new_audit/template_fcbc86fd41a74180921347e4be53bdf2?f3245d44-ea77-11e1-aff1-0800200c9a66=72%20Foveaux%20Street%2C%20Surry%20Hills&f324123ra-ea21-11e2-aff4-0800200c9a68=SafetyCulture
Achten Sie jedoch auf die Länge, denn zu lange Deep Links funktionieren möglicherweise nicht konsistent. Für lange Links können Sie URL-Verkürzungen verwenden, solange der von Ihnen verwendete Dienst den vollständigen Link wiedergeben kann.
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>
Bitte beachten Sie, dass dieser Deep Link nicht für Fragen in Wiederholungsabschnitten geeignet ist.
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
War diese Seite hilfreich?
Vielen Dank für Ihre Anmerkungen.