Infopath 2013 Pulling User's Manager Emails from people/picker
Hello,
I'm having an issue with pulling others user from different department manager's email through people picker.
People/picker >String> Button( this button auto populate the selected user's profiles plus manager account)
I managed to do it with Data Connection "GETCOMMONMANAGER" , but it'd only work if the current user shares the same common manager or same department. For an example:
Current user = Myself
Select anyone within my department through people picker, it'll auto populate our's manager name & Emails
IF I select anyone else out side of our department the data connection will not work.
SO What I stuck with is that, my department is specifically filling out the form for others department.
I've also tried using GetUserProfilebyName, by pulling the selected user's profile through people picker plus their manager account name.
Rules:
Set a field's value:AccountName (GetUserProfileByName(GetManager)) = Manager's AccountName Field
Query using a data connection: GetManager
Set's a field value Manager's Name = value(Name = "PreferredName")
Set a field value Manager Email = value(Name = "WorkEmail")
These rules successfully pull myself and team members manager's profile
BUT, if i input other users from different department this came up
A user with the account name blahblah\ssong could not be found. ---> An error was encountered while retrieving the user profile.
<detail><ErrorCode xmlns="http://microsoft.com/webservices/SharePointPortalServer/UserProfileService">UserCannotBeFound</ErrorCode><ErrorMessage xmlns="http://microsoft.com/webservices/SharePointPortalServer/UserProfileService">An
error was encountered while retrieving the user profile.</ErrorMessage></detail>
Please help ! :(
check this one, may solve the issue.
http://shaunpitt.wordpress.com/2012/07/18/infopath-get-the-managers-details-of-the-user-selected-from-the-person-picker/
http://mysharepointadventures.wordpress.com/2011/05/13/infopath-looking-employees-manager-in-ad-using-people-picker/
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog
Similar Messages
-
I am receiving emails from people who erroneously claim that I have sent emails to them. What is the reason for this, and how do I stop it?
Hi,
Change the passwords on any account you have such as Google or Yahoo.
10:12 pm Thursday; December 19, 2013
iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
Couple of iPhones and an iPad -
Can a user Import/Export Email from IMS?
VER: IMS 5.2
OS: NT4
Q: Is there any way to import/export email from a user's account?What do you want to import/export from?
I think you can do a dump of someone's mailbox using the imsbackup utility, but am not sure what format this gives you. Probably you can only import this into another iMS server.
Apart from that, you could look at what tools your mail clients have for saving and importing messages. I think Outlook express has an archive utility that you could use. To import from Outlook to the server, you could use the iPlanet sync tool. This will synchronise in both directions between the iMS mail server and various clients. These include Outlook, Windows CE handhelds, palms, etc. Basically, if you set this up to synchronise with Outlook, then you can import/export using anything that will interface with Outlook.
Of course you don't have to use Microshaft products. You could use any mail client to do this. Not sure about synching with other clients cos we've not done it.
I'm not sure how you can get hold of this synching tool. There were various beta versions floating around about a year or so ago and I would have expected that they would have released a supported version by now. Then again..... -
How do i pull photos sent to email from iphone
When I get photos sent to my email from an Iphone or Ipad, I cannot download them, how can I get these photos (especially for the work I do I need lots of photos to advise)
Press and hold the photo until you get a list of options such as save to camera roll.
-
Add Users from people picker field to sharepoint group
Hi,
I have created infopath form and added people picker control and then created data connection to add users to sharepoint group.
Used UserGroup webservice and "AddUserToGroup" operation. If I select single user in people picker and click submit button, web service data connection adding user to sharepoint group without any issue but it's not working for multiple users.If
I select multiple users in people picker, web service adding only first user to sharepoint groups. In our company we do not prefer custom coding.
Can anybody help me out to resolve this issue?
Any help or suggestions would be appreciated.
Thank you,
AA.You ll be able to achieve this by placing people picker in repeating table control in the form, below url may help you.
http://infopath.wordpress.com/2013/04/02/people-picker-email-addresses-repeating-tables-infopath-2010/
Sivabalan -
Cannot remove deleted user from people picker - SharePoint Foundation 2010
So I think I've read all the people picker articles here and I can't find a solution so I thought I'd start a new thread. Here is the issue:
A user was deleted from Active Directory and removed from SharePoint Foundation 2010. The user was still showing in the People Picker within the site collection, so we have performed a few things to try and get rid of this user.
User is deleted from AD
User is deleted from SharePoint Site Collection
Have tried stsadm -o deleteuser
Have removed all mention of this user from UserInfo table
User does NOT show in
https://<SiteCollectionURL/_layouts/people.aspx?MembershipGroupId=0
Cannot find any mention of this user anywhere.
Ran a full crawl as we read on a forum somewhere that it might help.
If I try and add the user back to SharePoint I get "The user does not exist or is not unique"
If I try "stsadm -o deleteuser -userlogin DOMAIN\USER -url https://<sitecollectionurl>" I get "The user does not exist or is not unique"
I am not sure what else I can try now. Can anyone help?
Thanks,
Vinny
VinnyNo other domain trusts that this user could be in.
Just so everyone can stop with the warnings, we do NOT regularly delete users from the UserInfo table and fully are aware of the problems behind it, which is why it is so rarely done. But at times, you have to do what you have to do to help a customer, you
know? This one user is the only one that was removed from the UserInfo table, but there are a few other users that are also deleted (from SharePoint, not manually from UserInfo) that are still showing as well. This one user included.
There MUST be another place that the people picker gets it's information from. ALL of the user's old information still shows in the people picker (username, email address, display name), and yet none of that information exists anywhere other than in the
People Picker. Mailbox is gone from Exchange, User deleted from SharePoint, User deleted from Active Directory. Is there no cache someone could point me towards that People Picker might store information in.
Vinny -
I can't receive emails from people using a RoadRunner domain
I have recently stopped receiving emails from friends who use RoadRunner domains. They tell me they are having the same problem with other emails sent to .mac or .me addresses; the emails are returned as undeliverable.
Is this a known issue? If so, what can be done to correct the problem?https://discussions.apple.com/thread/4388008
https://discussions.apple.com/thread/4742210?tstart=0 -
How to save users added to list using people picker to sharepoint Group
Hi
I have created List with some people picker columns and now when I save a list,the data is saved to list as well as the users in particular column will be added to particular sharepoint
group. Is there any sharepoint out of box solution for this or I need to do it programmatically. Kindly provide me any procedures or solutions as you know.
1) how to bind the particular sharepoint group to the particular column
2) How to add users to the particular sharepoint group
Thanks
Razvi444Hi Razvi444,
There is no out of the box way to achieve this.You need to write a custom event receiver ,inside event receiver
event, you
can check column (people picker value) and add it to desired group if that user not exist already.
Thanks -
Returning Name and Username from People Picker Field in Visual Web Part
Dear All
I am creating a visual web part that displays a list that I have created in SharePoint. One of the fields in the list is a People & Groups column type (People Picker) called 'Presented by'. In my web part, I would like to display the username and
the name of the person who has been 'picked' in this field. However, my using <%# Eval("Presented by") %> only displays their name. How do I get this field to also return their username?
Many thanks for your help
DanielYou ca use this code:- change it according to your need
int requestForUserID = 0;
string requestForUserLoginName = string.Empty;
string requestForUserName = string.Empty;
string userAccount = peoplePickerEmployee.CommaSeparatedAccounts;
string[] UsersSeperated = peEmployeeOnBehalf.CommaSeparatedAccounts.Split(',');
foreach (string user in UsersSeperated)
SPContext.Current.Web.EnsureUser(user);
SPUser spUser = SPContext.Current.Web.SiteUsers[user];
requestForUserID = spUser.ID;
requestForUserLoginName = spUser.LoginName;
requestForUserName = spUser.Name;
Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
INSQLSERVER.COM
Mohammad Nizamuddin -
I'm trying to make an interactive task board based on the task list app in SharePoint 2013. The task lisk includes fields like "Title","Description","Status","% Complete","Due Date","Assigned To",
etc. I used knockout.js to bind "Title","Description", and "Status" to my HTML controls. Here is some of the code:
var ViewModal = function(items, listname){
var self = this;
self.sortBy = ko.observableArray(sortBy);
self.tasks = ko.observableArray(items);
self.listname = ko.observable(listname);
self.auto = ko.observable(false);
self.getTasks = function() {
clearTimeout(self.getTasks);
// server relative url to REST service endpoint
var ajaxurl = _spPageContextInfo.webServerRelativeUrl + "/_vti_bin/listdata.svc/" + self.listname() + "?$orderby=PriorityValue";
$.ajax({
type: "GET",
url: ajaxurl,
contentType: "application/json; charset=utf-8",
dataType: "json",
cache: false,
processData: true,
success: function (data, status, xhr) {
if (status == "success" && data) {
ko.mapping.fromJS(data.d.results, mapping, self.tasks)
$(".task-item").draggable();
error: alert
if (self.auto()) {
setTimeout(self.getTasks, 10000);
<div class="tasks-column">
<div class="column-header">Not Started</div>
<!-- ko foreach: tasksNotStarted -->
<div class="task-item">
<div class="view" data-bind="visible: !IsEditing()">
<button class="edit" data-bind="click: $root.editTask">edit</button>
<h2><span data-bind="text: Title"></span></h2>
<div data-bind="html: Description"></div>
<span data-bind="text: PriorityValue"></span>
</div>
<div class="edit" data-bind="visible: IsEditing">
<button class="save" data-bind="click: $root.saveTask">save</button>
<input type="text" data-bind="value: Title"></input>
</div>
</div>
I'm having trouble displaying the data from the "Assigned To" user/group field. I tried:
<span data-bind="text: AssignedTo"></span>
But it displays the field as [object Object]
I tried using $select/$expand
?$select=Title,AssignedTo/Id,Assignedto/Title&$expand=AssignedTo/Id,AssignedTo/Title";
But it still returns the [object Object]Hi,
Please use the REST URI below:
/_api/lists/getbytitle('ListName')/items?$select=Title,AssignedTo/ID,AssignedTo/Title&$expand=AssignedTo/ID,AssignedTo/Title
More information for your reference:
How to get User Details and User Group Details in SharePoint 2013 REST API with Knockout for SharePoint Js (KoSpJs)
http://www.ashokraja.me/post/How-to-get-User-Details-and-User-Group-Details-in-SharePoint-2013-REST-API-with-Knockout-for-SharePoint-Js-(KoSpJs).aspx
How to Get Login Name and Display Name using SharePoint 2013 REST API
https://www.nothingbutsharepoint.com/sites/devwiki/articles/pages/how-to-get-login-name-and-display-name-using-sharepoint-2013-rest-api.aspx
Best Regards
Dennis Guo
TechNet Community Support -
ICloud 3.1 crashes outlook 2013. Can't recieve email from iCloud.
I've seen alot of people talk about this problem, but no resolution.
iCloud Control Panel 3.1 and Outlook 2013 (office 365).
When adding iCloud Outlook Plugin/Add In it crashes Outlook 2013. Upon restart Outlook disables this plugin. Starting back up with disabled.
No new email is recieved within the iCloud.com account. I can send without any problem, Investigating i see 2 errors in Windows Event Viewer that are DLL related. All other accounts work fine, sending and recieving (3 others).
ProgID: Apple.DAV.Addin
GUID: {D9BB00EA-0FB5-4032-AD67-65C6E0CDEDC0}
Name: iCloud Outlook Add-in
Description: iCloud Outlook Addin
Load Behavior: 0
HKLM: 1
Location: c:\program files (x86)\common files\apple\internet services\aplzod32.dll
Threshold Time (Milliseconds): 0
Time Taken (Milliseconds): 0
Disable Reason: This add-in caused Outlook to crash.
Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: OUTLOOK.EXE
P2: 15.0.4551.1011
P3: 52914ce2
P4: APLZOD32.dll
P5: 4.6.18.0
P6: 528ff03c
P7: c0000005
P8: 0005840c
P9:
P10:
Other devices send and recieve from iCloud without problems (Outlook 2011), iPhone, iPad.Same issue here and no solutions?
-
Environment:
Office 2013 Suite
Windows 7
Few of our employees setup a calendar event on their calendar and invited about 6-10 attendees. When few attendees have replied with an acceptance of the event and the others have yet to reply. 5 of the group that have replied is somehow sending
the same acceptance reply repeatedly. This has been going on for several days now and the timing is seemingly random. Obviously the person that sent the acceptance reply is not manually doing it repeatedly. That would be too easy of a solution:)
Can someone please help me troubleshoot this problem.
Thanks.Hi,
Does this issue happen to all calendar events? If so, we may try to create a new event using OWA and then check if you can reproduce the issue.
Do you have any delegates set for these affected users?
Do the employees have their calendars sync with any mobile devices? If so, we may disable the sync to see if the issue will be fixed.
In addition, we may try to enable Outlook troubleshooting logging on the calendar owner's computer and delegate computer, then we can check the logging data to see if we can find if the responses are sent by a delegate or third-party software. To enable
Outlook troubleshooting logging, go to File > Options > Advanced, scroll to the bottom of the dialog and select the "Enable troubleshooting logging" option. You'll need to restart your Outlook to trigger the logging. For more information about
Outlook troubleshooting logging, please refer:
https://support.microsoft.com/kb/2862843
If you have trouble reading the log file, you can share it to us via sending it to
GBSD TN Office Information Collection [email protected] The subject of the message should be the thread link.
Regards,
Steve Fan
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Hi,
Please help.
Thanks
srabonBy default, you can't. This involves making a modification to a file in the 15 hive on all SharePoint WFEs (but this kind of change is not supported/recommended as it can be overridden by any update to SharePoint).
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Protecting email from people viewing your inbox with out locking the phone
Keeping people from viewing email with out locking the phone.
Is there a app or other way to keep people from looking at your inbox?
ThanksIn a word, no.
If you notice someone that you are allowing to use your iPhone perusing through your email account mailboxes without your knowledge or permission, that should be the last time they are allowed to do so.
There is no app that provides for this and there won't be one. 3rd party apps do not have access to Apple private APIs for the iPhone. -
Sp user not resolving in the people picker SharePoint 2010
Hi All,
i have an account domain/bimoffice, this account resolves in all the site collections but only in one site collection is does not so not able to give permission to him
for example
http://acm/sites/gis works !
http://acm/sites/ww - works!
http://acm/sites/op - not works!
how to fix this?so do you have problem only with single account in http://acm/sites/op, or other users are also not resolved?
One more idea: is user domain/bimoffice still active in AD? May be it was active before and used on other site collection, but after that it was disabled and can't be resolved on new site http://acm/sites/op anymore.
Blog - http://sadomovalex.blogspot.com
Dynamic CAML queries via C# - http://camlex.codeplex.com
Maybe you are looking for
-
We auto generate PDF reports from our Oracle Fusion Report Server running on Windows. The PDFs look fine on our Windows machines but they lose their formatting on iPhones, iPads and even some Windows Chrome browsers. I checked the Properties of th
-
The router has a usb port and when I install the usb plug into it I get no where, it won't work , any sugestions?
-
Help with spry tabbed menu bar
Hi. I need help with the spry tabbed menu panel (horizontal) It works fine in dreamweaver ( pressing f12 ) but when i goto my website www.so-nouveau.com it puts it all over and not in boxes either just the writing. I ahve double checked all uploading
-
I need help to "clear" only the history and "not clear" the cookies and website data. my wells fargo bank website will not recognize my mac without "its' cookies". thanks for being there for us..
-
Problem in Transaction variant SHD0 and SE93
Hi All, I have created a transaction variant for T-code MIGO Then I have assigned this transaction variant to a T Code ZMIGO using SE93 I tested this in development. (Testing was done like this. T code SE93 then clicked on display then clicked on tes