Hi Shibu,
If you don't want to go the route of creating a Display-Only form and
associated workflow, then you can prevent a search being done on the
User form with the Login name being $NULL$. Create an Active Link that
executes on Search. The Run If statement can be:
($OPERATION$ = "QUERY" ) AND ('Login Name' = $NULL$)
and the Permissions will be the Group you want this workflow to execute on.
You can present an error message as the If Action telling the user they
need to enter a value in the Login Name field before searching.
An alternative to opening the User form with the Update button, is to
create a display-only form and open that. The form will have the fields
on it that you want the user to be able to see/modify. If they are
going to be able to modify the fields then they will have to have
permission on the User form to do so.
Once you create the display-only form and add the fields you can then
add 3 buttons to the form. One will search for the login name and
return the data for the fields you added to the form if there is an
exact match. This can be accomplished using an active link and a Set
Fields action. Another button can be used to modify the record that is
returned and a Push Fields action will update the User record. The
third button closes the form without performing any save or modify actions.
This is a good way to control the access the user has.
Either option should work for you.
Hope that helps,
Rick Ponzo
Shibu Samuel wrote:
Hi Rick,
Thanks for the response.
The search is not done thorugh a Display Only form. There is an Update button that opens the User form in the Search mode. If the User belongs to a particular group then the Login Id has to be enterd to search for a record. Could yoy please advise how this could be done without having to create a new view of the User form with the Search Option disabled.
Thanks
Shibu Samuel
________________________________
From: Action Request System discussion list(ARSList) on behalf of Rick Ponzo
Sent: Mon 21/05/2007 3:47 PM
To: arslist@ARSLIST.ORG
Subject: Re: Help
It sounds like a display only form may be what you're looking for. By
using a display only form you can add a button that conducts the search
based on a value entered into a character field. You can control if you
would allow wildcards, or require an exact match.
This sounds like a better approach for what you want to do.
Rick Ponzo
IntegrITS Corporation
[EMAIL PROTECTED]
Shibu Samuel wrote:
Hi All,
My requirement is to do a search on the User form based on the Logon Id. Users
belonging to a particular group should not be able to do a blank search on the
User form. Only upon entering the Logon Id should they be able to view the
record for the Logon Id entered.
Is it possible to do this through workflow or should I be creating a new view
altogether for Users belonging to this particular group where the Search option
could be disabled. Is there a way to disable blank search for Users belonging
to a particular group to disable the option of search if the Logoin Id field is
empty.
Thanks
Shibu Samuel
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers
Are"
--
Rick Ponzo
IntegrITS Corporation
[EMAIL PROTECTED]
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers
Are"
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers
Are"
--
Rick Ponzo
IntegrITS Corporation
[EMAIL PROTECTED]
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers
Are"