Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Custom redirect based on items for user in a list

$
0
0

I have a list which records users responses, it's a basic list which contains three columns:

1.  Title of request (single line of text)

2.  User (people picker)

3.  Confirmed (Dropdown with a value of Yes and No)

Within the list, a user could have multiple items which they are assigned to as the "User".  Like so:

Request 1 | Doe, John | Yes

Request 2 | Doe, John | No

Request 3 | Doe, John | No

For this example we have three items in the list, all with the "User" of "Doe, John", two with a value of "No" for "Confirmed" and one for "Yes".

What I'm looking to do is to create a redirect page, on this page I'd like to have a query which will call this list and look for any items where the current logged in user has a value of confirmed for "No"

QUERY LIST WHERE CURRENT USER = USER AND CONFIRMED = 'NO'

Now, based on the results of this query, if the there are any records returned, I would like to redirect them to page A, else redirect to page B.

Is this possible to do?

Any help would be most appreciated.


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>