User Profile Department List View filter?

Any UI Way filter by [MyDepartment]? That is current user's profiled Department?
If not, any good jQuery implementation out there?

create a column with multiple department drop down and make it required
show that list/library as web part multiple times for each department. As many department as many webpart (filter by each department.
Make share audience by department
from web part advance settings, target those audience. In this way, user can only see their own department's information. 
Don't grant page edit rights except owners.
Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

Similar Messages

  • List View Filter - I want to create List View based on a specific user

    I want to create a List View Filter based on specified user ID. I dont want to specify the [Me] for filtering the view based in current logged in User.
    I want the view to be based on specific user ID for Ex: "AD\JohnDoe"
    Thanks
    Nate

    The People/Group Picker field has several options for how the name is displayed. For example you can set it to be the friendly name or the account name. When you create your View Filter, make sure that you are using the same format as the field's display
    type.
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Firefox V33.0 can't find user profile and cant view window content

    Hello
    I have used Firefox since the old days, wayyy back. Never an issue, always worked, always performed.
    My Firefox (v32 I believe), automatically downloaded and applied the v33 browser and immediately, everything went wrong...
    First, the browser loaded but the screen was either sheet black or sheet white, then reloading (after closing the window) was informed (only via the window title as all else was block black) that Firefox couldn't see a user profile.
    I loaded FF with safe mode and disabled everything (list of addons at the bottom of this post), and the browser loads now and I can see content, but then after only a minute in "safe mode" firefox persistently returned with either a fatal crash or a sudden inability to find the user profile (causing exit).
    Reading up about possible workarounds, I eventually managed to export the Profile data (to desktop), to clear the profile data and replace data with desktop copy. Clearing the data took several attempts due to firefox display only showing black or white as stated above, but firefox then couldn't "import" profile as I can't see whats going on in the window.
    Eventually manually installed profile data (from desktop automatic copy) to firefox but FF still persisted in crashing to desktop and not displaying correctly if not in Safe mode. I eventually uninstalled firefox and reinstalled from scratch. The reinstall persisted with all the above mentioned issues, I did manually reinstate the FF user profile and crashing to desktop is now rare but does still happen, now it usually happens when Firefox is not the current active window.
    Firefox still does not display correctly unless in the "Safe Mode".
    Any clues or help or suggestion about why this would happen? Any way I can revert to version 32?
    My Addons :
    No Services.
    Appearance, default only
    PLUGINS:
    VLC plugin 2.1.3.0
    Silverlight plugin 5.1.3
    shockwave flash 15.0.0
    Quicktime plugin 7.7.5
    Java platform SE7 U67 10.
    Google Update (disabled)
    Adobe Acrobat 11.0.9
    EXTENSIONS:
    British Dictionary (not compatible with v33!!, disabled)
    Colorzilla 2.8.1
    cssUpdater 0.5.2 (disabled)
    Dust-Me Selector [for CSS] 4.1
    Firebug 2.0.3 (and associated FireDiff, FirePHP, EventBug)
    enabling / disabling all/any of these does not (so far) change the graphical fault loading Firefox outside of Safe Mode.
    Any ideas?
    cheers
    P.S>As additional info: I have tried the "reset firefox" but this caused numerous little bugs with saving the profile user data. Also reseting did not fix any of the issues.
    Everything else on my computer works fine. No virus, no malware (Eset / MWBytes) all other programs fine, and FF was fine until V33!!

    Hi for the crashes that are continuing, we're sorry to hear that Firefox is crashing. In order to assist you better, please follow the steps below to provide us crash IDs to help us learn more about your crash.
    #Enter ''about:crashes'' in the Firefox address bar and press Enter. A Submitted Crash Reports list will appear, similar to the one shown below.
    #Copy the '''5''' most recent Report IDs that start with '''bp-''' and then go back to your forum question and paste that into the "Post a Reply" box. (Please don't take a screenshot of your crashes, just copy and paste the ID's. The below image is just an example of what your Firefox screen should look like)
    [[Image:aboutcrashesFx29|width=520]]
    <br><br>
    Thank you for your help!
    More information and further troubleshooting steps can be found in the [[Firefox crashes - Troubleshoot, prevent and get help fixing crashes]] article.

  • List view - filter with parameters

    Hi,
    I need to define a list view to filter data with parameters.
    I saw how to do it with the SPD in another post
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/92271aa4-6582-4ea5-a10f-deaf02d2b62c/filtering-the-list-view-by-passing-date-parameters-using-sharepoint-desginer-2010?forum=sharepointcustomizationprevious
    But  need to do it in visual Studio (via definitins or Object Model).
    How can I do that in Visual Studio?
    Help is really appreciated.
    Many thanks,
    DD

    Hi,
    According to your description, you might want to create a list definition with the filter value from query string from URL. Then when you create a list instance with this list
    definition, you will be able to filter the list view page by appending parameters to the URL in the address bar.
    You can achieve this through modifying the Schema.xml file in the list definition project in Visual Studio like this:
    How to create custom list definition
    http://msdn.microsoft.com/en-us/library/office/gg276355(v=office.14).aspx
    http://www.codeproject.com/Articles/412429/SharePoint-Create-List-Definition-and-Instanc
    CAML Query Schema
    http://msdn.microsoft.com/en-us/library/office/ms467521(v=office.15).aspx
    Then we can filter the list with such an URL:
    http://sp/Lists/List1/AllItems.aspx?Param1=2014-08-24&Param2=2014-08-28
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Portal User Profiles Search List

    I've installed Portal successfully and everything seems to be working. One problem i do have is this.
    When you click on the search button to list all available portal user profiles it brings up the list correctly but when i click on the hyperlink to select the user nothing happens.
    The same thing is happening when selecting an extenal application in the add provider screen.
    Has anyone had a similar problem before or knows why this is happening?
    Thanks in advance
    Neil Malcolm

    Hi,
         Actually the number of users are too large. So it may take more time. Try doing the export from the machine which is very fast ,I mean in performance. That may help you save time. But if this happens because of some problem, then have a look at
    <Drive:>/usr/sap/<SID>/<INSTANCE>/j2ee/cluster/server<N>/log/defaultTrace.trc from the server. Check the latest trace file.
    http://help.sap.com/saphelp_nw04s/helpdata/en/f2/6a82270fd99844a65085bd90022fab/frameset.htm
    Regards,
    Harini S

  • User Profiles Sync - Event Viewer Errors

    While I'm not seeing any actual negative impact on the farm, I constantly get the following errors throughout the day (tied to syncs I believe) and would very much like to remedy them if possible:
    Error type: Critical
    Event ID: 5555
    Task Category: User Profiles
    Failure trying to synch web application <GUID>, ContentDB <GUID> Exception message was System.Data.SqlException: Lock request time out period exceeded.
    Login failed for user '<Domain>\<User>'.
    A severe error occurred on the current command.  The results, if any, should be discarded.
    Error type: Critical
    Event ID: 5555
    Task Category: User Profiles
    Failure trying to synch web application <GUID>, ContentDB <GUID> Exception message was System.InvalidOperationException: Operation is not valid due to the current state of the object.
    Error type: Critical
    Event ID: 6398
    Task Category: Timer
    The Execute method of job definition Microsoft.SharePoint.Administration.SPSqmTimerJobDefinition (ID <GUID>) threw an exception. More information is included below.
    Data is Null.  This method or property cannot be called on Null values.
    Error type: Critical
    Event ID: 6398
    Task Category: Timer
    The Execute method of job definition Microsoft.Office.Server.Administration.UserProfileApplication+LanguageSynchronizationJob (ID <GUID>) threw an exception. More information is included below.
    Lock request time out period exceeded.
    Login failed for user '<Domain>\<User>'
    A sever error occurred on the current command.  The results, if any, should be discarded.
    Error type: Error
    Event ID: 5586
    Task Category: Database
    Unknown SQL Exception 1222 occurred. Additional error information from SQL Server is included below.
    Lock request time out period exceeded.
    Login failed for user '<Domain>\<User>'
    A sever error occurred on the current command.  The results, if any, should be discarded.
    Additionally, the following error appear on the Database side.
    Error type: Information
    Event ID: 18456
    Task Category: Logon
    Login failed for user '<Domain>\<User>'. Reason: An exception was raised while revalidating the login on the connection. Check for previous errors. [CLIENT: <IP>]
    Error type: Error
    Event ID: 18056
    Task Category: Server
    The client was unable to reuse a session with SPID <X>, which had been reset for connection pooling.  The failure ID is 29. This error may have been caused by an earlier operation failing. Check the logs for failed operation immediately before this
    error message.
    I've tried to troubleshoot each of these errors independently hoping that it is one that is causing them all but so far nothing has worked.  The "Login failed" stood out to me the most but that account is the farm account and I've verified
    the credentials and there are no other login failed type errors.  Again, the syncs themselves appear to be successful but these errors always occur.  Any help would be most appreciated.

    And you did the last part also?
    "Finally, and I’m not sure if this is necessary, but I read that you should change timer job “Timer Service Recycle” (Central Administration –> Job Definitions) to run at 06:30 PM.  This last step can be done through Central Administration. 
    After doing this my errors went away.  I did however need to run a full user profile synchronization by going to Central Administration –> Manage Profile Service: SharedServicesSearch_UserProfile –> Start Profile Synchronization"
    Sounds like a good reason, that the timer job runs at the same time as the application pool recycles, thus causing the connection to abort. Then retrying the connection, but a different ID, causing a lock to happen.
    Besides that, it can be hard to say, as setting up the User Profile service application using the Wizard, can do some strange things :/

  • List View (filter) based on multiple fields

    Hello. I've created an infopath form where a Project Manager is able to name 12 project members in various departments using a people picker field for each project member field. Is there a way to filter the list so that it shows only
    the projects the individual project members are involved in based on whether he/she shows up in any of the 12 member fields? The members are not necessarily the ones creating the list item. I am limited to 10 filters in the view settings
    in the sharepoint list so that won't work. Any assistance would be greatly appreciated.
    Have a great weekend.
    Cory

    Hi Cory,
    I’m sorry, from that way you can filter by current user, but also can’t add more than 10 parameters. The only way to add
    more than 10 filters is to use xpath by check add xslt filtering, then click edit.
    I have a try on my server, please check the following steps.
    Create a parameter by click parameters.
    On the data view parameters dialog, click new parameter, name Param1. From parameter source, select server variable, set LOGON_USER as server available name. Then click ok.
    Go to filter, on filter criteria dialog, check add xslt filtering, then click edit.
    Add the following xslt code.
    [@people.title=$Param1 or @people1.title=$Param1 or @people2.title=$Param1 or @people3.title=$Param1 or @people4.title=$Param1
    or @people5.title=$Param1 or @people6.title=$Param1 or @people7.title=$Param1 or @people8.title=$Param1 or @people9.title=$Param1 or @people10.title=$Param1 or @people11.title=$Param1]
    Best Regards.
    Kelly Chen
    TechNet Community Support

  • Share Point 2013 List View Filter [Me] is not showing all the relevent record

    Hi
    I am using [Me] to filter in custom column "EmployeeLoginName" (is group/user type)
    But not able to get all the record of the loged in employee.
    only showing 1 record whereas there are 7 matching record.
    Any one ever faced this type of problem?
    Can any one tell the reason for this.?
    Thanks

    Hi Syn_Suresh,
    Did all 7 records have the exact current logged user's name in "EmployeeLoginName" column?
    Could you reproduce the issue on other new list, and other site?
    If it's not reproduced, the list may be corrupt.
    Thanks
    Daniel Yang
    TechNet Community Support

  • User Profile Data for One Month in ST03N

    Dear All,
    I have one question for a similar requirement.
    I want to see the User Profile data for last month (e.g.August)
    I navigate through the same path as described by you.
    ST03N- Expert Mode- Total (select period)-- User Profile (from analysis view)
    even though I have selected One month period (August) ; I could see only the data for one week (1st August to 7th August)
    Can you please advice how can I solve my purpose, if not this time but may be in future I should be able to see complete one month data.
    Thanks in advance.
    Best Regards,
    Jayesh

    Dear Shailesh,
    Thanks for the very prompt and accurate response.
    However we have this job scheduled on monthly basis in our productive system, still there is no data avaialable.
    Kindly advice.
    Best Regards,
    Jayesh

  • Customizing List View Column Location

    Can anyone help me remember how I take off certain columns in List View such as Lens, Orientation etc?
    I am looking in the Customizing Aperture Workspace section of the Help and I can't seem to find this.
    TIA

    Sorry, was getting some _very_ important work done -- have a mega-big project going out the door -- here's the top link from a search of the User Manual for "List View Column":
    Working with Images in List View

  • Custom User Attributes not visible on user profile in OIM 11g

    hi ,
    As I have created a custom attribute in OIM11g. I am not able to view the attribute after I crate a User in OIM.
    Please help me in solving my issue .
    Thanks
    srikanth

    It's a very basic thing. Just try creating an Authorization Policy and you would know how to do it. For your refernce I am also pasting the excerpt from the same Metalink Article
    After creating the UDF, please follow the below steps to make the UDF visible for modification by an admin user:
    1. Navigate to create a new 'Authorization Policy'as below:
    a. Login to UI and click on Administration
    b. On the top left you will see the Authorization Policy tab
    c. Now click on Create Authorization Policy
    2. Please use the below information to create the Authorization Policy
    a. Name: UDF policy
    b. Entity Name: User Management
    c. Permissionsc. Permissions:
    i. Modify User Profile
    ii. View User Profile
    Please make sure that the UDF is selected in the attributes for these permissions.
    d. Data Constraints: All Users
    e. Policy assignment: All Users
    3. Create a user called "useradmin' and add the below 2 roles:
    a. All Users (This is default)
    b. Identity User Administrators (This will provide the administrative tab to this user so that he can administer other users)
    4. Create another end user called 'testuser1' populations the necessary fields.
    5. Now login as 'useradmin'
    6. Search for a user called 'testuser1' and open the user.

  • Is it possible to filter list view based on current user logged in

    Hi,
    Is it possible to filter the list view results based on the current user logged in. I have a scenario wherein i want to show only those list items to the user which contains his/her name under the column Approver (a list column).
    So if i login to the page, then only those requests should show up which has my name as the Approver, and so on.
    Is it possible please ?
    Thank you.

    Hi Prajk, you could use audience targeting for this. An alternative would be to create a view and add a filter so that "Approver" is equal to [Me]
    cameron rautmann

  • Аdding department export data from a survey list from user profile services in Sharepoint 2013.

    When voting, survey Sharepoint 2013, there is a field created by whom. But the name is not enough. Necessary to add the department name of the profile data in the exported list excel.

    Hi,
    The OOTB feature “Export to Spreadsheet” won’t contain the department in the exported report, we will need to create a custom one programmatically.
    We can use SharePoint Object Model to retrieve the data from the Survey and the User Profile Service, then generate an Excel Spreadsheet with the data we need.
    SharePoint Object Model -
    SPListItem class
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitem.aspx 
    Add, Update and Delete List Items Programmatically in SharePoint
    http://www.mindfiresolutions.com/Add-Update-and-Delete-List-Items-Programmatically-in-Sharepoint-372.php 
    More information about
    SharePoint Object Model:
    http://msdn.microsoft.com/en-us/library/ms473633.ASPX
    How to: Work with user profiles and organization profiles by using the server object model in SharePoint 2013
    http://msdn.microsoft.com/en-us/library/office/jj163142(v=office.15).aspx
    For about
    generating an Excel document:
    http://www.codeproject.com/Articles/20228/Using-C-to-Create-an-Excel-Document
    Or you can post another question to
    Excel for Developers for about creating an Excel file programmatically:
    http://social.msdn.microsoft.com/Forums/office/en-US/home?forum=exceldev
    Feel free to reply if there are still any questions.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Filter List View by User and Groups in SharePoint Does Not Work on site Restore to another Server

    We have a scenario where users from a group or seeing items of list views entered by users of other group.
    For e.g, we have (ALL are Active Directory users and are authenticated as such)
    GROUP A with USER-A1, USER-A2, USER-A3
    GROUP B with USER-B1, USER-B2, USER-B3
    GROUP C with USER-C1, USER-C2, USER-C3
    We created views called
    GROUP_A_VIEW
    GROUP_B_VIEW
    GROUP_C_VIEW
    We created a web part for each of this view
    And from Advanced Settings, added Target audience for each VIew with respect. For e.g. if Target AUdience is Group A, then USER-A1 will see items entered by himself or USER-A2, and USER-A3 but not the mbers of GROUP_B and GROUP_C
    It works fine on the our development machine.
    However when we backup and restore to other machine containing the same Active Directory users, 
    GROUP A members are seeing records entered by GROUP B
    GROUP B members are seeing records entered by GROUP C
    GROUP C members are seeing records entered by GROUP D
    ....etc.
    Any help will be appreciated.
    Murali Boyapati

    Groups and users are stored locally in a cache on each site collection. Within that site collection they have IDs assigned which are used internally to identify those groups.
    What is probably happening is that the groups you've targeted are being identified by IDs which are not consistent between your source site collection and your destination collection.

  • How to populate a sharepoint 2010 list from the active directory. How to populate a sharepoint 2010 list with all sharepoint user profiles

    How to populate a sharepoint 2010 from the active directory.
    I want a list of all the computers in the active directory,
    another one with all users.
    I want also to populate a sharepoint 2010 list from the sharepoint user profiles.
    Thanks
    sz

    While
    the contacts list is usually filled out for contacts that are outside the company, there are times when you would use a contacts list to store internal and external resources.  Wouldn’t it be nice if you didn’t have to re-type your internal contacts’
    information that are already in the system?  Now you can with a little InfoPath customization on the contacts list. 
    Here’s our plan:
    Create the contacts list, and open in InfoPath
    Create a data connection to the User Profile web service
    Customize the form adding some text, a people picker and a button
    Create InfoPath rules that will populate the contact fields from the user fields in the User Profile store
    Let’s get going!  Before we begin, make sure you have InfoPath 2010 installed locally on your computer.  I also want to give credit Laura
    Rogers and Darvish Shadravan’s book Using
    Microsoft InfoPath 2010 with Microsoft SharePoint 2010 Step by Step.  I know it looks like a lot of steps, but it’s easy once you get the hang of it.
    So obviously we need a contacts list.  If you don’t already have one, go to the SharePoint site where it will live, and create a contacts list.
    From the list, click the List tab on the ribbon, then click Customize form:
    So now we have our form open in InfoPath 2010.  Let’s add our elements to the form. 
    Above all the fields, let’s add some text instructing users what to do with the the field we’re about to add (.e.g To enter an existing user’s information, choose the user below).
    Insert a people picker control by clicking the Person/Group Picker control in the Controls section of the ribbon.  This will add a column to the contacts list called group.
    Below the people picker, insert a button control from the same section of the ribbon as above.  With the button still highlighted, click the Control Tools|Properties tab on the ribbon. 
    Then in the Label box, change the text to something more appropriate to our task (e.g. Click here to load user data!).
    You can drag the button control a little larger to account for the text.
    We should end up with something like this:
    Before we can populate the fields with user data, we need to create a connection to the User Profile Service.
    Add a data connection to the User Profile Service
    Click the Data tab on the ribbon, and click the option From Web Service, and From SOAP Web Service.
    For the location, enter the URL of your SharePoint site in the following format – http://<site url>/_vti_bin/UserProfileService.asmx?WSDL.  Click Next.
    Note - for the URL, it can be any SharePoint site URL, not just to the site where your list is.
    For the operation, choose GetUserProfileByName.  Click Next.
    Click Next on the next two screens.
    On the final screen, uncheck the box for “Automatically retrieve data when form is opened”. This is because we are going to retrieve the data when the button is clicked, also for performance reasons.
    Now we need to wire up the actions on our button to populate the fields with the information for the user in the people picker control.
    Tell the form to read the user from the people picker control
    Click the Home tab on the ribbon.
    Click the button control we created, and under the Rules section of the ribbon, click Manage Rules. Notice the pane appear on the far right.
    In the Rules pane, click New –> Action. Change the name to something like “Query and load user data”.
    Leave the condition to default (none – rule runs when button is clicked).
    Click the Add button next to “Run these actions:”, and choose “Set a field’s value”.
    For Field, click the button on the right to load the select a field dialog.  Click the Show advanced view on the bottom.  At the top, click the drop down and choose the GetUserProfileByName
    (Secondary) option.  Expand myFields and queryFields to the last option and highlightAccountName.  Click ok. 
    For Value, click the formula icon. On the formula screen, click the Insert Field or Group button. Again click the show advanced view link, but this time leave the data
    connection as Main. Expand dataFields, then mySharePointListItem_RW.  At the bottom you should see a folder called group (the people picker control we just added to the form).  Expand this, then pc:Person,
    and highlightAccountId.  Click Ok twice to get back to the Rules pane.
    If we didn’t do this and just queried the user profile service, it would load the data of the currently logged in user.  So we need to tell the form what user to load the data for.  We take the AccountID field from the people
    picker control and inject into the AccountName query field of the User Profile Service data connection. 
    Load the user profile service information for the chosen user
    Click the Add button next to “Run these actions:”, and choose Query for data.
    In the popup, for Data connection, click the one we created earlier – GetUserProfileByName and clickOk.
    We’re closing in on our goal.  Let’s see our progress.  We should see something like this:
    Now that we have the user’s data read into the form, we can populate the fields in the contact form.  The number of steps to complete will depend on how many fields you want to populate.  We need to add an action step for
    each field.  I’ll show you one example and then you will just repeat the steps for the other fields.  Let’s update the Job Title field.
    Populate the contact form fields with existing user’s data
    Click the Add button next to “Run these actions:”, and choose “Set a field’s value”.
    For Field, click the button on the right to load the select a field dialog.  Highlight the field Job Title.
    For Value, click the formula icon. On the formula screen, click the Insert Field or Group button.  Click the Show advanced view on the bottom. At the top, click the
    drop down and choose theGetUserProfileByName (Secondary) option.  Expand the fields all the way down until you see the Value field.  Highlight it but don’t click ok, but click the Filter
    Data button, then Add. 
    For the first dropdown that says Value, choose Select a field or group.   The value field will be highlighted, but click the field Name field
    under PropertyData.  Click Ok. 
    In the blank field after “is equal to”, click in the box and choose Type text.  Then type the text Title. 
    Click ok until you get back to the Manage Rules pane.  The last previous screen will look like this.
    We’re going to update common fields that are in the user’s profile, and likely from Active Directory.  You can update fields like first and last name, company, mobile and work phone number, etc.  For the other fields, the
    steps are the same except the Field you choose to update from the form, and the very last step where you enter the text will change.  Here’s what the rules look like when we’re done:
    We’re all done, good work!  You can preview the form and try it now.  Click Ctrl+Shift+B to preview the form.  Once you’re satisfied, you can publish the form back to the library.  Click File –> Quick
    Publish.  Once it’s done, you will get confirmation:
    Now open your form in SharePoint.  From the contact list, click Add new item.  Type in a name, and click the button and watch the magic happen!

Maybe you are looking for