addedValuesDocs

 
 
 

Available Trigger Actions

Name Changed Applies To Enabled Description
AILA2URLgenerator 2007.12.5 Yes
AILAbugNotify 2007.10.31 Yes
AILAMemberFlags 2007.12.5 Yes
beAStory 2006.08.15 After Edit Message
After New Message
Yes This action script works for triggers that fire after a new or changed message or picture and simply makes the message a story. It allows addedValues developers to conditionally (using a trigger condition) make messages created by non editors into stories.
beNotAPicture 2006.08.15 After Edit Message
After New Message
Yes This action script works for triggers that fire after a new or changed picture and simply removes the status of "being a picture " from the message. It allows addedValues developers to conditionally (using a trigger condition) to control what messages are consired pictures and hence eligible for use wiht the pictureREf macro.
beNotAStory 2006.08.15 After Edit Message
After New Message
Yes This action script works for triggers that fire after a new or changed story and simply removes the status of "being a story" from the message. It allows addedValues developers to conditionally (using a trigger condition) to control what messages are considered stories.
changeMessageOwner 2006.02.4 After Edit Message
After New Message
No

This action script works for triggers that fire after a new or changed story and sets owner the message to a new value. It allows addedValues developers to conditionally (using a trigger condition) pass editorial rights of messages to members who are not editors.

Looks for an ungrouped message variable setMemberTo, if the value exists and is a valid member key and is the key of an existing, non blocked member, sets the message owner (member builtin) to the new value. The value for setMemberTo is deleted after a successful change.

deferredPublishing 2006.10.1 After Edit Message
After New Message
Yes Deferred Publishing allows website developers to set a message path at some future time.

Until that time, the message is held as a story in a reserved directory with a path /deferredPublish/ followed by the value of the ungrouped message variable setPathTo, followed by a date and time level derived from the value of the ungrouped message variable setPathToTimeDate. This permits messages to be "queued up" as versions of a pages visible at a url, at various times in the future. Meanwhile the pending versions can be edited, viewed or even deleted as convenient. Because all pending stories are assigned paths in the /deferredPublish/ category, you can set path attributes of the category, or of each story to control access, forbid static rendering, set templates, etc. .

Pre-existing stories at the new url may be moved into a a user specified directory, with path derived in the same way, by defined a ungrouped globals identifier valued variable deferredPublishingArchive.

The addedValues scheduler is used to perform the actual process, by calling the standard trigger setPathAndShortcut. Stories found to be deleted at publish time are not published. Deferred Publishing is activated by enabling the deferredPublishing trigger, and the schedule of publishing may be inspected on the timed task page.

kvURLgenerator 2006.06.19 Yes Enters a message into the site structure with path that depends on the storytype, but based on knowledgevenu event av_base_url; and adjusts the shortcut too
pictureDragDrop 2011.03.11 No Ensures that multiple valued unordered variable (whose name is in global variable pictureDragDrop_variable 's value) contains the maximum number vaues, and if not prefills from the values of global variable pictureDragDrop_values.
setPathAndShortcut 2006.08.15 After Edit Message
After New Message
Yes Looks for an ungrouped message variable setPathTo, and uses the value to create a path in the site structure. setPathTo may be multiple valued , in which case all paths are added. A path is a / delimited string that is the part of a page url relative to the home page such as "/products/catalog/rocketships". If the ungrouped message variable setNameTo exists and its value isn't empty, the value is used as the name attribute of each entry added to the site structure.

If the ungrouped message variable setShortcutTo exists and its value isn't empty, creates a shortcut whose url is the first in the list. Typically setPathTo and setShortcutTo would be computed variables.

You can also set the subject of a message by assigning values to an ungrouped message variable setSubjectTo.

This action script also converts the message into a story.



Create your own Manila site in minutes. Everyone's doing it!