Switch views based on a user in SharePoint group by using Info path 2010

Posted on 2013-01-20
Last Modified: 2013-02-13

Based on the SharePoint group i need to switch views in Infopath 2010 Forms. how can i do it?

I can change view based on the current logged username but i need to do the same if the user is exist in a SharePoint group.

Your support please.

Question by:mshaji
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 32

Expert Comment

by:Jamie McAllister MVP
ID: 38800105
To check the group membership you do this;

Author Comment

ID: 38800122
I tried already this and its not working with me.
Do you have any other easy way steps
LVL 32

Expert Comment

by:Jamie McAllister MVP
ID: 38800125
Perhaps you could offer more detail. In what way doesn't it work? Are web service calls available to you? Is there some sort of error? What happens?
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.


Author Comment

ID: 38800129
I created the UserProfileService web service but its not available in the dataFields group

I reached until the step

Expand the dataFields group as shown in the screenshot and select Value
Stuck here

LVL 32

Expert Comment

by:Jamie McAllister MVP
ID: 38800164
Difficult for me to say. I cant see exactly what you're doing to add the Web Service.

You're deffo clicking on the secondary  datasource?
LVL 32

Accepted Solution

Jamie McAllister MVP earned 500 total points
ID: 38800661

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question