Differences

This shows you the differences between two versions of the page.

Link to this comparison view

action type - link opener [2016/09/14 18:19]
action type - link opener [2016/09/14 18:19] (current)
Line 1: Line 1:
 +~~NOTOC~~
 +====== What link opened the page? ======
 +This evaluation will pass if the selected link field opened the current page, and will fail if the page was opened by a different link.
 +===== Explanation =====
 +Evaluations have two [[Automation Trigger|automation triggers]] associated with them : Then and Else.  Actions under the "​Then"​ automation trigger execute when the evaluation passes, and actions under the "​Else"​ automation execute when the evaluations fails.
 +
 +{{ ::​action_evaluation_drop.png?​direct |}}
 +
 +Form opened by evaluations are used to execute a set of actions if the current page was opened by a certain link field, and another set of actions if a different link field opened the page.
 +
 +Example : Suppose an application has a [[Form Type - List|list]] of Contact'​s that an Administrator User can see and another list of Contact'​s that non-Administrator Users can see.  These two lists have different [[Field Type - Link|links fields]] on them that both open the same [[Form Type - Page|page]],​ Add Contact. ​ On that page, a form should be shown if an administrator is viewing the page, and it should be hidden if a non-administrator user is viewing the page.  One way to accomplish this is to create a form opened by action on the "Form Security"​ automation trigger of the form to be effected, and under the appropriate automation trigger add a [[Action Type - Hide Form|hide form]] action.
 +===== Settings =====
 +==== Choose a link to evaluate for ====
 +Choose a link field to evaluate as the opener of the current page.
 +
 +{{ ::​action_pageopenedby_link.png?​direct |}}
 +
 +==== Describe this action ====
 +Useful as a comment, this description will overwrite the automatically generated description in the [[Action Manager|Action Manager]].
  
action type - link opener.txt ยท Last modified: 2016/09/14 18:19 (external edit)
Copyright WorkXpress, 2024