Using Different Forms for users

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
denisv
Posts: 253
Joined: Thu Jan 19, 2006 4:36 pm
Location: Ireland
Contact:

Using Different Forms for users

Post by denisv »

I currently have a BusObj that I need to display differently based on the user ID. The problem is that I need to present a different input form which also creates another BusObj. How can I get it to use the Test form for the entry. (a) works fine.

a) Standard User
CREATE CallID
ENTER NEW CallRecord WITH CallRecord.CallRecID=CallID
VIEW CallRecord USING Main

b) Guest
CREATE CallID
ENTER NEW CallRecord WITH CallRecord.CallRecID=CallID
VIEW CallRecord USING Test
aware_support2
Posts: 595
Joined: Sun Apr 24, 2005 2:22 am
Contact:

Post by aware_support2 »

You can do it like this:

CREATE CallID
ENTER NEW CallRecord WITH CallRecord.CallRecID=CallID
If LoggedInUser.AccessLevel <> 'Guest' Then VIEW CallRecord USING Main
If LoggedInUser.AccessLevel = 'Guest' Then VIEW CallRecord USING Test

Each line is a separate rule in the process.
Aware IM Support Team
Post Reply