Editing the VisibleToStudents Option

Follow

Starting with Ares 4.6, you are able to have some control of an Item's visibility with the VisibleToStudents property.

This is an optional feature that is not included in the Ares default web pages.

To control this functionality, simply set a Yes or No value for the VisibleToStudents field.

For example, say you want to always submit new reserve books as not visible to students. To do this, modify your IRFBook.html page to include:

<input type="hidden" name="VisibleToStudents" value="No">

However, in order to support this property when editing items, or to provide control over item visibility at the time of creation, use the #OPTION tag with the name VisibleToStudents, e.g:

<#OPTION name="VisibleToStudents" selectedValue="No"> 

This will create the <select> element you need for submitting a value for VisibleToStudents, and the 'No' option will be selected. If the selectedValue attribute is omitted, the selected option will be set to the current value of VisibleToStudents for items that are being edited or 'Yes' for new items that haven't been created yet. See Ares OPTION Tag for more information. 

Questions?

If this article didn’t resolve your issue, please take a moment and answer a few questions to help improve our documentation:

Feedback