When adding a notification, you can make a direct link to a file or a folder located in the app.
1/ Get the ID of the content or folder
On the folder or the content, right click on the edit button > Edit link in new window/tab:
The ID is visible in the address bar of your browser:
2/ Go to Studio > App > Notifications
Add a new notification
3/ In the content box, click Source, then copy and paste the code below.
Please note you'll have to edit:
- the part in red which corresponds to the ID of the content or the folder.
- In blue the text of your link that you can customize
<a href="#" onclick="TouchSell.getNodeById(1779014).then(function(node){ node.open() }).catch(function(e){ alert('Make sure you synchronise your device first!') })">Go to the content</a>
Note:
You can insert as many links as you want. Just copy and paste the above code block that starts and ends with the "<p>" and "</p>" tag.
Commentaires
0 commentaire
Vous devez vous connecter pour laisser un commentaire.