When adding a notification, you can make a direct link to a file or a folder located in the app.
1/ Retrieve the ID of the content or folder you want to link to
1- In the "Content" menu:
Edit the relevant content or folder by clicking the blue button:
then copy the "ID" on the left side:
2/Create the link in the notification
In the "Notifications" menu, write your message, then click the "Source" button at the top left of the formatting toolbar and paste the following code:
<p>
<a
href="#"
onclick="TouchSell
.getNodeById(YOUR CONTENT OR FOLDER ID)
.then(function(node){
node.open()
})">
Click here
</a>
</p>
Replace the text in parentheses: (YOUR CONTENT OR FOLDER ID) with the ID you copied.
If you want to customize the "Click here" text, simply replace it with your preferred wording.
Please note that you can insert as many links as you like by reusing the code block above for each link.
Commentaires
0 commentaire
Vous devez vous connecter pour laisser un commentaire.