One good technique for this kind of functionality
Alan J White 24.Nov.05 11:17 AM a Web browser
Domino Designer 6.5 Windows XP
is an "embedded single category view"
In your case, 5 steps to this
1. Create a view
That selects the documents you want to show.
Make sure you get all those seen by ALL potential users
add suitable columns .. including any sorting or categorisation
You can easily test this
2. add an extra column to make this view categorised by the department
This should be the left most colum
sort and categorise
again testing is easy
3. Create a new form
Form name whatever you like
(make sure does not appear in any menu)
add to this form two fields
a) name : SaveOptions ; Text ; Computed when Compose; value "0"
b) name say MyDept: text: Computed:
value - well however you get the current users department
Note: this must calculate to a SINGLE value.
again you can test this easily
4. Embed the view you created on the form below the "MyDept" field
(menu: Create\Embedded Element\View )
On the propertiies of the Embedded view,
Select Display Single category" :select by formula : formula : MyDept
Adjust View size as shown to be suitable
enable scroll bars etc if needed
5. Now, in the action button or outline entry that selects "Show My Dept"
make it Compose your form (in the correct frame)
user will be shown one category of the total view
i.e. the one they are in.
Note: the "SaveOptions" field means the "new document" on screen can't accidentally be be saved to clutter up your database.
View selection and roles (Landy Cheng 24.Nov.05)
. . One good technique for this kind of... (Alan J White 24.Nov.05)
. . . . RE: One good technique for this kin... (Landy Cheng 2.Dec.05)
. . . . . . Handling Multi values is harder (Alan J White 2.Dec.05)
. . . . RE: One good technique for this kin... (V. Thorslev 16.Mar.06)
. . . . . . RE: One good technique for this kin... (Terry Dawsey 18.May.06)
Search this forum