How to hide/reveal fields
Last updated
Was this helpful?
Last updated
Was this helpful?
As a venue organizer, you may hide fields in a comment or a submission. Comments (decisions, reviews, official comments, public comments, etc.) and submissions are represented by in OpenReview.
If you want to restrict the visibility of a field to specific users, use the readers
property. You can use this property to hide fields that have sensitive information such as the name of the authors in a submission or a private comment to the PCs.
To apply this feature, simply add the readers property to that particular field in the . The following example defines the readers
field as a constant, where only the Program Chairs and Senior Area Chairs of a particular submission can see restricted_field
. Note the use of to point to the Senior Area Chairs. Be aware that the dollar sign notation for the submission is different than the replies to the submission forum.
This example is for an additional submission field:
The below example could be used for any forum reply, such as reviews, meta reviews, decisions, and comments.
Note: For notes that have already been posted, adding or changing the readers property in the invitation will not change the note. In that case, you will want to update each note with an Edit modifying the readers field.
The following change only allows the users in the readers
field to see restricted_field
.
If you want to reveal the value of the restricted_field
, you need to remove the readers
property from the field. You may do that by passing the { delete: true }
. The Invitation needs to allow the field to be deleted with the property { deletable: true }
as shown above.
Please see the section to know the different options you have when defining the readers
field.
In case the does not allow a field to include a readers field and modifying it is not possible, there are two options around it. You can create a new whose sole purpose is to allow the readers property to be included in the field or use the . Below is an example of what an Edit would look like that hides a field.
In case an does not allow a field to be deleted, there are two options around it. You can create a new whose sole purpose is to delete the readers property or use the . The syntax to remove the readers
field is the same as the one shown above when using the .