save_assignment

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "save_assignment".
... in workgroup.naml
668
669
670
671
672
673
674
675
676
677
678
679
680
681
<macro name="save_assignment" requires="node_editor,servlet">
    <n.set_local_node.edited_node.topic_or_app/>
    <n.if.visitor.can_be_assigned_to.local_node>
        <then.if.assignment_field.value>
            <then.local_node.>
                <n.assign>
                    <assignee><n.get_user_from_id user_id="[n.assignment_assignee_field.value/]" /></assignee>
                    <priority><n.assignment_priority_field.value/></priority>
                </n.assign>
            </then.local_node.>
            <else.local_node.unassign/>
        </then.if.assignment_field.value>
    </n.if.visitor.can_be_assigned_to.local_node>
</macro>