Use Department field from user profile

Hi,
When user uploads a document - "Created By" takes its name automatically.
We need the data of the department of the user also.
I see that i can change the column to display any field from user profile in the "Created By" (user name / email/ department...).
What should i do in order to use more than one field? (it's like set 2 "created by" columns to each doc - one to get the user name and one for department).
It is for use department values in search.
keren tsur

Hi keren,
According to your description, my understanding is that you want to get user name and department for the user who created the document.
I recommend to get the department using the default Created By column and use workflow to get the user name from Created By column in a new column.
Create a workflow associated with the library and set the workflow to start when an item is created.
Best regards.
Thanks
Victoria Xia
TechNet Community Support

Similar Messages

  • Disable or Remove some field from User Profile in Personalize iView

    Hi All,
    I have a requirement  to Disable one field and Remove one field  from User Profile in Personalize iView.
    i want to disable Activate Accessibility Feature field and Remove Language field.
    How to archive this.
    Thanks and Regards
    Trilochan

    Hi,
    You can use [Personalization|http://help.sap.com/saphelp_nw70/helpdata/en/42/ed3ce7f8593eebe10000000a1553f7/frameset.htm] to do this :
    1. logon as an admin and navigate to Portal Content > Portal Users > Standard Portal Users and open Every User Core Role
    2. right click on User Profile and select edit
    3. click on the Preview button then right click + CTRL on the iView and personalize the User Profile iView
    That's it.
    Regards,
    Pierre

  • Cannot hide 'Choose your settings' field from User Profile Edit Page

    When ever I change the 'Choose your settings' property to not be displayed on users' edit profile page, all of the users' My Site edit profile pages display an error, 'Sorry, something went wrong'.  The log file shows the following entries.
    ProfileUI: Unhandled exception inside DisableReadOnlyRegionalControls: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.Portal.WebControls.ProfileUI.DisableReadOnlyRegionalControls() 
    ProfileUI: Unhandled exception inside LoadProfileTable: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.Portal.WebControls.ProfileUI.DisableReadOnlyRegionalControls()    
    at Microsoft.SharePoint.Portal.WebControls.ProfileUI.LoadProfileTable() 
    ProfileUI: Unhandled exception inside LoadControl: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.Portal.WebControls.ProfileUI.DisableReadOnlyRegionalControls()    
    at Microsoft.SharePoint.Portal.WebControls.ProfileUI.LoadProfileTable()     at Microsoft.SharePoint.Portal.WebControls.ProfileUI.LoadControl(Object sender, EventArgs e) 
    Application error when access /_layouts/15/EditProfile.aspx, Error=Object reference not set to an instance of an object.   at Microsoft.SharePoint.Portal.WebControls.ProfileUI.DisableReadOnlyRegionalControls()     at Microsoft.SharePoint.Portal.WebControls.ProfileUI.LoadProfileTable()    
    at Microsoft.SharePoint.Portal.WebControls.ProfileUI.LoadControl(Object sender, EventArgs e)     at System.EventHandler.Invoke(Object sender, EventArgs e)     at System.Web.UI.Control.LoadRecursive()    
    at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()    
    at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequest... 
    I've encountered this on 3 different SharePoint 2013 farms, and it also works correctly on another.  I can't figure out why or what the differences are.
    We want to be able to hide the vast majority or fields from the user edit profile page and only show a handful of them, e.g. Name, Department, Job Title, Office and Mobile.
    Anyone else seen this or have a solution?
    Matt

    I was successfully able to hide it on an SP1 farm. Have you tried SP1 yet?
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Propagate Data from User Profile to Resource Process Form doesn't work

    Hi,
    i've created a new custom task for Propagate Data from User Profile to Resource Process Form with a gtc connector but the task is never triggered!!!
    i need clues to resolve this .
    thnks.!!
    oim 11g 11.1.1.5 bp4. high availability with 2 nodes and a balancer.

    Hi Rajiv:
    ->Did you make that entry in Lookup as mentioned in that thread/post ?
    ANSW: yes.
    ->Did you use exact naming convention for your tasks ?
    ANSW: yes i put the same name that i put in the lookup into my process from.
    In which process definition have you created your task. Make sure it should be other than "Xellerate User" process definition.
    ANSW: PROCESS DEFINITION: * iPlanet User
    *TB_BAN1_AUR_GTC
    *TB_BAN5_AUR_GTC
    *TB_BAN3_AUR_GTC
    etc.. GTC conector.
    i have a test environment where this functionality works succesfully and i put the same in my production environmnet and the task never is triggered.

  • Approval work folw while Deleting the user from user profile

    Hi
    I have a requirement like
    I configured AD as auto provisioned.
    How to configure approval workflow, when administrator deleting the user from user profile (xellerate form).
    FYI, Delete task assigned as undo task for the create user task
    Thanks
    Edited by: user11963802 on Dec 15, 2010 2:31 AM

    Create one approval workflow and create one Process Determination Rule like
    If
    Request Action == "Revoke"
    Attach this rule with RO.
    Hey sorry
    I shared the information for Revoking user from target Application.
    Hide Delete User button from JSP
    You can create Dummy Resource with Approval workflow for Deleting User. And after getting approval you can use DeleteUser API to delete user from OIM.
    Edited by: Rajiv Dewan

  • AppLocker Policy to stop executable running from User Profile

    I am in process of implementing Applocker in our Environment.
    To protect the clients from Malware attacks I want to configure a policy through which all the executable files can not run from User Profile. However I may have few executable files which must run as exception to this rule from the user profile.
    Please help.

    What exactly is your question? 
    You can set up applocker to prevent all exes from running and then list your exemptions.
    You will also have to set up about 7 other exemptions for the users to actually be able to login. 
    Also note that Applocker only works with Windows 7 Enterprise and Ultimate. Not professional. 

  • А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

  • List with user data from User Profile Service

    Hi there!
    I got SP intranet site up and running with more then 2000+ users on it.
    User Profile Services is getting users attributes from Active Directory.
    How can i make a list with all of those users and columns like Department, Manager, Office number, etc.. 
    After that i'm going to apply a filter by current user department.
    I would really appreciate some offer.
    Thanks!

    There is a sharepoint hidden list called User Information List , if you want to filter by current user department I recommend that you use ser search API and search People using SourceID 
    public static ResultTable SearchUsers(string query,int limit,string [] selectproperties)
    KeywordQuery kq = new KeywordQuery(SPContext.Current.Site);
    //select properties
    foreach (string property in selectproperties)
    kq.SelectProperties.Add(property);
    kq.SourceId = new Guid("B09A7990-05EA-4AF9-81EF-EDFAB16C4E31");
    kq.QueryText = query;
    kq.RowLimit = limit;
    ResultTableCollection results = new SearchExecutor().ExecuteQuery(kq);
    return results.Filter("TableType", KnownTableTypes.RelevantResults).FirstOrDefault<ResultTable>();
    you need to pass the query Department:CurrentUserDepartment and to get current user department 
    UserProfileManager manager = new UserProfileManager(SPServiceContext.GetContext(SPContext.Current.Site));
    UserProfile currentUser = manager.GetUserProfile(SPContext.Current.Web.CurrentUser.LoginName);
    string department=currentUser["Department"].toString();
    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010

  • Removing fields from function profiles

    Hi
    Some one please help me in removing fields from a function profile. PFA for your reference
    Regards,
    Prem

    Hello Prem,
    Can you check the HTML-coding of the view? What is the name of the view? I could also check it in my system, even as we are not using this specific view. My other thought was, that it is a button, then you could remove it from the internal table GT_BUTTON of the IMPL-class of the view, but after rethinking I think it might be in the HTML-coding.
    Best regards,
    Thomas Wagner

  • Using Dreamweaver without roaming user profiles.

    In the college I work at, we have a single Windows R2 2008 domain of consisting of hundreds of Windows 7 workstations that students use to do their work.
    Due to various network performance issues, last year we stopped using roaming user profiles for both staff and students, and instead use home directory redirection for things like desktop content and favorites. But we have hit a problem with the Dreamweaver CS5.5 application. Students using it are said to be having to repeatedly set up Dreamweaver connections to the same FTP server, in effect re-configuring Dreamweaver after login before they can use it.
    I've not had any confirmation from Adobe, but it appears that because roaming profiles are not being used, the local profiles that Dreamweaver saves settings to is resulting in students having to re-configure settings whenever they log into a computer.
    Is there a way that Dreamweaver can be forced, via a group policy or other means, to save/load its settings to/from the home directory of a user so that the user can then log into any computer on the domain and the Dreamweaver application will automatically load its saved settings for that user?

    Setting the Roaming profile is a Computer configuration
    Setting the Exclusions is a User Configuration.
    Hopefully you are applying the Computer configuration to an OU with Computer objects and the User Configuration to an OU that contains the User objects?
    Is loopback processing affecting an of the OU's that are parents of the Computer objects OU (or the child OU itself?)
    If you are not restarting the computer, then your profile will remain locked and user settings will not be able to write to the registry to change the location.
    Have you:
    enabled the user exclusions
    gpupdate /force
    reboot the computer
    login
    I know under some circumstances profile redirection/roaming can take two reboot cycles to apply correctly.
    Can you run the Group Policy Result Wizard from GPMC for the correct user and computer to ensure your policies are applying as you think they are?
    MCSA Server 2008 MCITP Server 2008 Administrator MCITP Enterprise Desktop Support on Windows Vista CompTIA A+

  • Is there a way to get the screen saver on user "a" to use iphoto pictures from user "b"?

    Is there a way to have the iphoto screen saver use the photos from a different iphoto user?  My husband leaves his account open and he has only old photos when the screen saver kicks in.   I would like to have my photos be able to pop up on his screen saver.  I need to find them in the system preferences screen saver place, but have it access my iphotos and not only his.  How?  Also, I would like a better system on organizing my photos.. I have them all in events by year and it is difficult of often find favorite specfic photos.  Thank you. Melody

    In short, no. The whole point of different accounts is to keep your data separate from his, and your photos are your data.
    You could share a library? It can be a bit complex.
    You can use Fast-User switching to switch over to your account - takes a couple of seconds
    As to organising your Photos - iPhoto is a database and offers pretty much unlimited options for organising your pics, but it takes a bit of work to go beyond the basic and automatic.
    If you take the time to assign Places then you cn see all the photos in your Library based on where they were taken. (Of course, that's of limited use if they're all taken in your backyard ) Faces means you can sort the Library based on who's in the Photos.
    Beyond that, simple thigns like naming the Events will help - Xmas 11, Bobby's Wedding, Rome 2009 and so on. You can then search on those basic words in the search box.
    After that: Keywording. The following is a canned answer I use to describe my system. It may spark some ideas for you.
    I use Events simply as big buckets of Photos: Spring 08, July - Nov 06 are typical Events in my Library. I use keywords and Smart Albums extensively. I title the pics broadly.
    I keyword on a
    Who
    What
    Where basis (The When is in the photos's Exif metadata). I also rate the pics on a 1 - 5 star basis.
    Using this system I can find pretty much find any pic in my 40k library in a couple of seconds.
    So, for example, I have a batch of pics titled 'Seattle 08' and a  typical keywording might include: John, Anne, Landscape, mountain, trees, snow. With a rating included it's so very easy to find the best pics we took at Mount Rainier.
    File -> New Smart Album
    set it to 'All"
    title contains Seattle
    keyword is mountain
    keyword is snow
    rating is 5 stars
    Or, want a chronological album of John from birth to today?
    New Smart Album
    Keyword is John
    Set the View options to Sort By Date Ascending
    Want only the best pics?
    add Rating is greater than 4 stars
    The best thing about this system is that it's dynamic. If I add 50 more pics of John  to the Library tomorrow, as I keyword and rate them they are added to the Smart Album.
    In the end, organisation is about finding the pics. The point is to make locating that pic or batch of pics findable fast. This system works for me.

  • Remove fields from contact profile jabber windows

    Is it possible remove some fields from the contac profile jabber windows?
    For example if you see the attach i want to remove entirely the field "compañia" (company).
    Thanks in advance.

    No, you only get to choose from which LDAP field to sync the info, not what is shown in the info card.
    HTH
    java
    if this helps, please rate
    www.cisco.com/go/pdihelpdesk

  • Date range using "Date Field" from basic component

    Hello Everyone,
    I have been trying to create date range option available on the dashboard based on 2 Date Filed component.
    Backend for this Dashboard is BW with using BEx query. I have a info object (Z_Date)
    Now I want to have 2 date box using Date Field component 1. Start Date 2. End Date.
    I have tried following
    1. Start Date - on Select
    DS_1.setFilter("Z_Date", {"low":StartDate.getDate()});
    2. End Date - on Select
    DS_1.setFilter("Z_Date", {"High":EndDate.getDate()});
    both the scripts do not have any problem but it doest work as it is suppose to be.
    I have also tried based on following How to write script for DATE Range
    But no luck so far.
    Please share if any one have achieved date range working as mentioned.
    Thanks,
    Rajan

    Hi,
    Set Default Date in Both Date Prompts initially .
    1. Start Date - on Select
    var startDate = StartDate.getDate();
    var endDate = EndDate.getDate();
    var varRange = startDate + " - " + endDate;
    DS_1.setFilterExt("Z_SDPCD", varRange);
    2. End Date - on Select 
    var startDate = StartDate.getDate();
    var endDate = EndDate.getDate();
    var varRange = startDate + " - " + endDate;
    DS_1.setFilterExt("Z_SDPCD", varRange);
    Or
    Select Dates First Then Provide a Button (Done) .
    And write code On Click Event of that Button
    var startDate = StartDate.getDate();
    var endDate = EndDate.getDate();
    var varRange = startDate + " - " + endDate;
    DS_1.setFilterExt("Z_SDPCD", varRange);

  • Auto-filling proceeding fields from user's initial input - Possible? How?

    Hi there,
    I'm quite new to LiveCycle (and scripting). That being said, I'm trying to create some automation in forms for work.
    I've been asked to create a product order form in which the Order Administrator would choose the product from a list of Product Codes. Once s/he chooses the Product Code [numeric field] from this list, the Product Description [text field] appears right next to it, and then the Product Price [numeric field] would populate the last field. I will duplicate this over multiple rows into a table, then autosum the last column which should be filled with various product prices, taxes, S&H, etc. (autosumming the Price field is easy enough - this is not my issue so let's just focus on the major concern of auto-filling descriptions and prices for now...)
    For e.g.
    Product Code
    Description
    Price
    6759-85746-098 [Order Admin chooses from list]
    Large textbook (x1) [Automatically inputs based on Product Code]
    $30.00 [Auto-inputs from Product Code]
    5864-98723-124  
    Black pens (x10/set)
    $5.25
    I've tried for days to figure out how to script this, going through numerous forums, printing off reams of Adobe help documents, trying to learn Java and/or FormCalc in solitude, and yet I still can't figure this out. To explain, I'm not a coder/developer but a print-focused graphic designer.
    If anyone knows how I can solve this I'd be very grateful. I'm now wondering if a) I need to somehow connect (bind?) the information in an external database or sheet (Excel?), b) figure out some elaborate script that would automate these descriptions and prices, and/or c) bang my head against the wall in fruitless frustration.
    Thanks for any help anyone can offer.

    A simple example.  May not meet your needs depending on the number of products.
    Droplist named ProductCode
    Text Fields named Description and Price
    Java Script the droplist on the change event
    if (xfa.event.newText=="5864-98723-124")
    {Description.rawValue="Black Pens"
    Price.rawValue="$5.25"

  • OIM Problem Adding UDF fields to User Profile

    Hi all, I defined some UDF's and I want them to be seen on end-user account profile. And also in edit page. I tried to edit <!-- User Self Registration and User Profile Modification section --> section and ProfileModificationUserForm section of FormMetaData.xml. But it does not work. Any ideas?

    I don't know how come this is not working for you. Just confirm the steps once again as following:
    - Your UDF is USR_UDF_CUSTOMERID (let's assume)
    - You have made an entry is the section *<!-- User Self Registration and User Profile Modification section -->* of FormMetaData.xml like below:
    *<Attribute name="USR_UDF_CUSTOMERID" label="global.label.customerid" displayComponentType="TextField" dataLength="30" map="USR_UDF_CUSTOMERID"/>*
    - In addition to it you have also made an entry like following in section *<!-- Definition of the form that will be displayed to the user for profile modification -->* of the same xml:
    *<AttributeReference editable="true" optional="false">USR_UDF_CUSTOMERID</AttributeReference>*
    This should work perfectly.
    Thanks
    Sunny

Maybe you are looking for