Creating public access pages, forms, subforms, outlines, views, agents, and style sheets
About this task
The database ACL controls access to specific design elements, such as pages, documents, forms, outlines, views, folders, and style sheets. Users with No Access or Depositor access in the ACL cannot access the design elements of a database. There are times, however, when you might want to make design elements accessible to all users, regardless of access level. To do so, you make the design elements available for Public Access.
For example, public documents are necessary for calendar applications where one user lets another user read or create appointments on his or her behalf. To create the public documents for this application, you must first create a public access form containing a public access field. Then you create a public folder or view to display the document.
Note that you can also make manually run agents available for public access.
To designate a page, form, or subform for public access
Procedure
- Open the page, form, or subform.
- Choose Design - <design element> Properties.
- Click the Security tab.
- Select "Available to Public Access Users."
- On a form or subform, create a field.
- In the Name field, enter $PublicAccess.
- In the Type field, select Text and Computed when composed.
- In the Programmer's pane at the end of the form, enter "1" as the default value for the field.
- To hide this field from users, select the Field Hide When tab and specify hide-when conditions.
To designate a view for public access
Procedure
- Open the view.
- Choose Design - View Properties.
- Click the Security tab.
- Check "Available to public access users" if you want to make documents in this view or folder available to users with public access read or write privileges in the access control list for this database.
To designate an outline for public access
Procedure
- Open the outline
- Choose Design - Outline Properties.
- Check "Available to public access users."
To create a style sheet for public access
Procedure
- Click Resources - Style Sheets in the Design pane.
- Highlight a style sheet and choose Resource - Resource Properties. The Style Sheet Resource Properties box appears.
- Select the Security tab and check "Available to public access users."
To create an agent for public access
Procedure
- Open the agent in Designer.
- Click Options.
- Select "Available to Public Access Users."