How to switch different views as per when it opens - InfoPath Dev
in

InfoPath Dev

How to switch different views as per when it opens

Last post 03-06-2007 09:47 PM by mrudula. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-15-2007 05:30 AM

    • mrudula
    • Top 500 Contributor
    • Joined on 02-14-2007
    • India
    • Posts 31

    How to switch different views as per when it opens

    I have two views say viewA,viewB and want to show viewA to userA when it opens 1st time and viewB when it opens other than that.

    How to put this condition?
  • 02-15-2007 06:37 AM In reply to

    Re: How to switch different views as per when it opens

    Hello

    Please Go through this link
    http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=326

    Hope it helps you
    Kalyan G Reddy
    Infopath MVP 2007 and 2008
  • 02-15-2007 09:44 PM In reply to

    • Shiva
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694

    Re: How to switch different views as per when it opens

    Hi Mrudula,

    We can do this using open rule based on condition. Set the default view is viewB. Follow the below steps to set the open rule and condition.
    1. Go to Tools -> Form Options.
    2. Click on ‘Open and Save#%92 tab option.
    3. Click on ‘Rules#%92 button in ‘Open behavior#%92 column.
    4. Click on ‘Add#%92 button.
    5. Click on ‘Set Condition#%92 button and set your condition like form opened user is equal to userA.
    6. Click on ‘Add Action#%92 button, select ‘Switch views#%92 option from ‘Action#%92 dropdown and select ‘viewA#%92 option from View dropdown.
    7. Click on ‘OK#%92 four times.
  • 03-06-2007 09:47 PM In reply to

    • mrudula
    • Top 500 Contributor
    • Joined on 02-14-2007
    • India
    • Posts 31

    Re: How to switch different views as per when it opens

    Hi,

    Thanks a lot for your help. It solved my problem :)

    Regards,
    Mrudula
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.