Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am new to WorkFlows and learning ..I was just reading some blogs about how to create workflows and use find manager option but surprised to see that it requires "User Profile Synchronization" service configured. I just want to know is it possible to implement it without having UPS configured? or should I do it in Visual Studio 2010 through coding and using SP object?

Please guide me the possibilities.

share|improve this question

1 Answer 1

If you want to retrieve user's manager information, it must exist somewhere, right?

SharePoint cannot fetch data directly from Active Directory (obviously because not only Windows authorization is supported), it uses User Profile Service as an "adapter". If UPS is not configured, SharePoint simply doesn't know from where to retrieve the information needed to provide the manager functionality.

Thus, if you have your own custom source for such kind of information (it could be SharePoint List, Excel file, AD, etc.), and you don't want to involve User Profile Service, your best option would be to create a custom workflow activity and retrieve the needed information through the code. Assuming you're using SharePoint designer, have a look at the following article:

Also you could prefer to build sandbox-enabled activity so it could be used in Office365 (please keep in mind, that all the SharePoint Sandbox limitations are applied to this kind of activities). In this case, the following Wictor's post would give you a great start:

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.