I have a list of notifications displayed on a page of my application and I would like that by clicking on one of them, to have access to the page that I would indicate, a bit like with Trigger Notifications where you can indicate a page to access by clicking on it. However, I can only manage to add a link when clicking on an item. One item in the list would take me to the activity page, another to the user page etc… Is there a solution?
Yeah, sure, then please follow these steps, and it will be solved :
Create a true/false property inside the (Notifications) collection and call it “Activity Page Redirection”.
add two linking actions to the list which one of them should link to the activity page and the second one links to the user page.
Make the action of linking to activity page, sometimes available if (Current Notification => “Activity Page Redirection” is true.
-Make the action of linking to user page, sometimes available if (Current Notification => “Activity Page Redirection” is false.
This way if you click on a notification, it will redirect you to the specific page of each Notification which is either “Activity page” or “User page”.
You’re welcome! If you would like to have three actions, you need only to add 2 more true/false properties in the (Notification) collection and then add three actions to list, in which each action occurs if the true/false property related to it is true.