Home > Display data to Sharepoint People Picker, get data from Sharepoint PeoplePicker, Person/Group Field Type, Sharepoint, Sharepoint Field Types, Sharepoint List Field Types > How to display users to SharePoint People Picker control and get data from SharePoint People Picker control

How to display users to SharePoint People Picker control and get data from SharePoint People Picker control

June 18, 2009

Welcome Reader,

I have moved to a new blog site, so you can get same content from below new site URL!!

http://dishasharepointworld.blogspot.com/2009/06/how-to-display-users-to-sharepoint_17.html

Please feel free to post your comments/feedback into new blog, I’ll be more than happy to assistant you.

Sorry for any inconvenience!!

Disha Shah

  1. July 9, 2009 at 7:02 pm | #1

    Hey,

    Nice article Disha, actually I was looking for how to take values from SharePoint People Picker control and update those values into SharePoint list columns, and I have found your article, your information is very good and precise also.

    Thanks a lot for the nice information.

    -Sanket

    • dishashah08
      July 9, 2009 at 7:03 pm | #2

      Thanks For the Comment

  2. HB
    August 21, 2009 at 4:45 pm | #3

    Hi Disha,

    I googled and browsed to many pointers. Yours is the most helpful one! The only question I have is: is there any way to check if PickerEntity is a user(people) or a group? I want to save users and groups data in different places.

    Many thanks,

    -HB

    • dishashah08
      August 21, 2009 at 5:09 pm | #4

      Hey HB

      I am glad because it helps you. Thanks for Comment and appreciation.

      Answer of your Question is :

      You can read the resolved users and groups that the user has entered by using the editor’s ResolvedEntities property, which is an ArrayList containing a list of PickerEntry objects. Each PickerEntry object contains an EntityData property bag which includes a “PrincipalType” field. You can use this to determine whether the resolved entity is a user or group.

      foreach (PickerEntity entity in pplEditor.ResolvedEntities)
      {
      switch ((string)entity.EntityData["PrincipalType"]) {
      case “User”:
      // … do stuff here …
      break;
      case “SharePointGroup”:
      // … do stuff here …
      break;

      }
      }
      Enjoy :)
      Disha Shah

      • HB
        August 21, 2009 at 7:12 pm | #5

        Hi Disha,

        Thank you so much for your help. It works like a charm!

        I got another question about the group users: is it possible to retrieve all users for a given group? Like getting user names for a SharePoint group.

        switch ((string)entity.EntityData["PrincipalType"]) {
        case “SharePointGroup”:
        //SPUserCollection users = GetUsersByEntity(entity);
        //List users = GetGroupUsers(groupName)
        break;
        }

        Thanks again!
        HB

      • dishashah08
        August 21, 2009 at 8:06 pm | #6

        Yes HB, everything is possible in this world :) just we need to see which solution fits for our requirements.

        You can try below code to get list of users from SharePoint group.

        case “SharePointGroup”:

        if (entity.EntityData.ContainsKey(“SPGroupID”))

        {

        int groupID = int.Parse((string)entity.EntityData["SPGroupID"]);
        SPGroup group = web.Groups.GetByID(groupID);
        foreach (SPUser user in group.Users)
        { //Do Stuff }

        }

        break;

        Thanks

        Disha Shah

      • HB
        August 21, 2009 at 9:54 pm | #7

        Hi Disha,

        Thank you for you answer! I got it work with your help. One thing I need to change is using web.SiteGroups instead of web.Groups, which throw a “Group cannot be found” exception at run time.

        Wish you have a nice weekend!

        HB

      • dishashah08
        August 21, 2009 at 10:00 pm | #8

        HB,

        It’s good to hear that it helped you..

        You too also have a great weekend ahead !!

        -Disha Shah

  3. October 28, 2009 at 2:44 pm | #9

    Hi Disha,

    Your article is really very useful to me. Appreciated.

    One more thing i would like to know that How to make ‘read only’ people picker in custom list. I tried a lot but i could not find a solution even I have tried using objField.ReadOnlyField = true; but it hides this entire field.

    Regards,
    Viraj Vashi

    • dishashah08
      October 28, 2009 at 3:32 pm | #10

      Viraj,

      Thank you very much for the appreciation.

      Can you please let me know what do you mean by “making read only people picker into list” ? Are you trying to do that end user won’t able to enter/select any value/users into people picker control?

      “objField.ReadOnlyField = true” comes with SPField object, if you want to make people picker in read only mode then you can write “peoplepickerctl.Enabled = false”, so end user can’t type anything into people picker control.

      Please let me know if you are looking for something else.

      Thanks, Disha Shah

      • Manuel Pardo
        March 29, 2010 at 11:36 pm | #11

        Hi Disha, great work

        well, I kinda have the same question here, I ve been trying to set the people picker in a form as readonly, because I want my user to see the values I prepopulated it with, but I dont want them to change it….

        do you have a solution for this problem??? I have tried many different solutions, but nothing works for people picker.

      • dishashah08
        March 30, 2010 at 2:55 pm | #12

        Hi Manuel
        Thanks for valuable comment.

        You can use enabled property of peopleeditor and set as “false” , I tried and everything is working the way you want. Browse button is also disabled.

        Hope this helps
        Disha Shah

  4. October 29, 2009 at 5:16 am | #13

    Hi Disha,

    Thank you very much. I was looking exactly you have sent to me.

    Regards,
    Viraj Vashi

  5. October 29, 2009 at 6:24 am | #14

    Hi Disha,

    Thank you very much for spent your important time for me.

    I have one more query which is:

    I have one custom list whose name is ‘Defects’ and in that custom list i have one lookup control whose name is ‘Project Name’(Which comes from Project details list) and one more column i have which is ‘Assigned To’(which is people picker). I want to display display users in ‘Assigned To’ column based on Project name column.

    For better understanding…
    Project name: Lookup control(Dropdown list)
    Assigned To: People picker

    I hope you will understand my problem.

    I would be appreciated your help.

    Regards,
    Viraj Vashi

    • dishashah08
      October 29, 2009 at 2:10 pm | #15

      Viraj,

      As per your requirements, you are saying that depends on Project name you need to display assigned to value, it implicitly says that you must have column either in Project List as “Assigned to” or you have a new custom list which has “Project Name” and “Assigned To” column. I mean you need some type of mapping between those two columns.

      Now how you fill “Assigned to” depends on “Project Name” column, right?

      Well you can use a custom web part and write an event handler based on “Projectname_selectedindexchanged” and use SPquery to find the “Assigned To” field and assign value into your web part.

      Second option, if you don’t want to write web part then you can use event handler as “Item Added” and fill the value of “Assigned To” and display the value.

      Hope this helps!

      Thanks,
      Disha

  6. October 29, 2009 at 2:33 pm | #16

    Thank you very much for quick reply.

    You understood perfectly my question.

    I agree with you first option and i tried also but i can not go with first option.

    In second option,as you said that i need to write in “Item Added” event but it only fires when we click on OK button right?
    Both columns are in same custom list and I want respective value of people picker control based on dropdown list of lookup control(project name). (Same like selected index changed event in ASP.net)

    I am explaining you in details:
    Suppose in project name there are: ERP System,Hospital Mgt etc(which binds from ‘project’ custom list) data. If user will select ERP system then in people picker their project owner’s value will come means ERP System’s project owners will display. Eg. Viraj Vashi;Abc; are project owner of ERP sytem.

    Hope you have clearly understood.

    Thanks in advance.

    Regards,
    Viraj Vashi

    • dishashah08
      October 29, 2009 at 3:01 pm | #17

      Viraj

      It is like when a person selects “Country” from user interface we need to display “States” related to that “Country” .(Filter from Country)

      Now if you cannot go with the first option, then I can suggest about use “Custom Field Controls”. It will fulfill your requirement, because I couldn’t find a way to do this out of the box.

      But you need to decide which way you want to go ahead

      If I am at your place then If I need to do this kind of thing Project name–>Assigned to only once ,then I will go with webparts and If I have to use multiple times ,then I will go with custom field controls.

      This is very useful link how to create and deploy custom field controls
      http://datacogs.com/datablogs/archive/2007/08/26/641.aspx.

      Hope this helps..

      Disha Shah

      • November 2, 2009 at 7:00 am | #18

        Hi Disha,

        I appreciated your quick reply.

        I have gone through your all helpful links but unfortunately i could not find the solution which i was looking for. If possible then kindly send me the steps and code for atleast state and city custom field control.

        I would be very thankful to you.

        Regards,
        Viraj Vashi.

      • dishashah08
        November 3, 2009 at 1:22 pm | #19

        Hey Viraj

        I am planning to write article related to custom field type, it is under construction and will take some time to finish it.

        Mean while, Please go through below links, which will helpful for you to start your development work for custom field type.

        http://vspug.com/nicksevens/2007/08/31/create-custom-field-types-for-sharepoint/
        http://msdn.microsoft.com/en-us/library/bb684919.aspx

        Thanks,
        Disha Shah

      • dishashah08
        November 5, 2009 at 4:34 am | #20

        Viraj,

        I have written article on how to create custom field type, please go through this link, it will describes you each steps.

        http://dishashah.wordpress.com/2009/11/05/step-by-step-tutorial-for-how-to-create-and-implement-custom-field-type-in-sharepoint/

        ~Disha Shah

  7. Al Nick
    October 30, 2009 at 5:44 pm | #21

    The code works well for displaying and saving however when i use the save method:
    //Save users to people/Group field from People Picker Control

    SPFieldUserValueCollection values = new SPFieldUserValueCollection();
    foreach (PickerEntity entity in userPicker.ResolvedEntities)
    {
    SPFieldUserValue fuv = new SPFieldUserValue(SPContext.Current.Web, Convert.ToInt16(entity.EntityData[PeopleEditorEntityDataKeys.UserId]), entity.Description);

    values.Add(fuv);
    }

    itmAudit["Staff Assigned"] = values;

    I get ERROR
    Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

    any advice would be greatly appreciated!

    • Al Nick
      October 30, 2009 at 5:48 pm | #22

      Sorry, to claify i am using the save mehtod on spitem update and am getting the error. No errors on spitem add.

    • November 3, 2009 at 6:08 am | #24

      Hi Disha,

      I tried it but i am also getting same error.

      Regards,
      Viraj Vashi

      • dishashah08
        November 3, 2009 at 1:22 pm | #25

        Hey Viraj

        Can you try one thing first for me?
        Update that list item by SharePoint list user interface not from object model code.
        Go to that list and edit any item and save it. Check whether that error comes or not? Can you please let me know outcome whether error comes or not?
        Can you tell me you deployed that list on that site collection with feature or you created as a custom list from SharePoint user interface?

        Please provide me with these two information…So I can get some direction.

        Thanks
        Disha Shah

      • dishashah08
        November 3, 2009 at 2:51 pm | #26

        Viraj,

        SharePoint list user interface means, open your SharePoint site into browser, go to your custom list, click on “New” button and try to enter some data into user interface and clicks on “save” button to see whether you are getting error or not?

        If you are not clear, then please start new thread for comments with detail description, actually I am also confused that for which thread you wrote “I tried it but i am also getting same error”

        Thanks,
        Disha

  8. November 3, 2009 at 2:35 pm | #27

    Hi Disha,

    I am sorry to say that but i did not get you.Can you please explain me in details? Actually I don’t know What is SharePoint list user interface?

    Regards,
    Viraj Vashi

    • November 5, 2009 at 5:03 am | #28

      Hi Disha,

      Thank you for explained me Sharepoint list user interface.

      I have tried the same but i have not got any errors.

      It saved without any error.

      Regards,
      Viraj Vashi

  9. November 6, 2009 at 1:51 pm | #29

    Hi Disha,

    I have one query related with people picker.
    I want to allow to search only those users who are assigned for respective project in people picker.
    I am explaining you my requirement in details:
    I have tow custom lists.
    One is CustomList_Project:
    In CustomList_Project custom list, i have following columns:
    1) Project name: Textbox(User enter project name)
    2) Assigned To: People picker(User assigned for this project)

    Second is: CustomList_Second
    1) Project name(which is lookup control and whose values come from CustomList_Project(which is custom list)
    2) GetProjectOwner : People picker: When i select project name then it would only allow to search those users who have assigned for this project.
    (By default it is comming all users)

    I know that this is quite difficult query but i am sure that as per your knowledge and experience in sharepoint it would not be difficult to solve this.

    Regards,
    Viraj Vashi

    • dishashah08
      November 7, 2009 at 11:55 pm | #30

      Viraj

      Here are some ideas which comes into my mind, from where you can achieve your functionality.

      #1 ) You can write event handler on “CustomList_Project” list and when you add/insert new project name and assigned to fields, create new SharePoint Group named with “project name” and add/insert assigned to user into SharePoint group as Users.

      Now when you are looking for project name into “CustomList_Second” list, on post back of current page, search/find for “project name” into all SharePoint group and assign that SharePoint group name into People Picker Property of “GetProjectOwner’ field, in these way – you can see only users which has been added to SharePoint group name (as per you – search those users who have assigned for this project), instead of all users.

      #2) Change your interface slightly – Instead of GetProjectOwner as People picker control, put drop down box for GetProjectOwner field, and write code in which when user select Project name into “CustomList_Second” list then search for same project into “CustomList_Project “ list and take “Assigned To” value and populate into GetProjectOwner drop down box.

      Hope you will get some answer from these points.

      Thanks,
      Disha

      • November 9, 2009 at 6:10 am | #31

        Hi Disha,

        Thanks a lot for your reply.

        Disha, Actually I want exactly the same which you have written in #2)point in reply. I also want to achieve this thing but it is separate requirement. Do you have any idea how to populate dropdown list based on CAML query condition. Eg.
        SPList lstCommunity = web.Lists["Community"];
        SPQuery qry = new SPQuery();
        qry.Query = “” + CommunityId + “”;
        DataTable dtCommunity = lstCommunity.GetItems(qry).GetDataTable();

        Now I want to display datatable value in dropdownlist so tell me how to achieve this or you can give other example of CAML query with dropdownlist or lisbox control.

        Now i am comming with my people picker requirement, which is either i could not explain you properly or you could not understand properly.
        Disha, Actually i want to allow only those users who have assigned for that project and i must have to use people picker for that. Eg. User will type “Viraj Vashi” in people picker and Viraj Vashi user is available but it should not allow to search only when it is assigned for that project means when user type “Viraj Vashi” in people editor that time it should show message like “invalid user or this user is not allowed for this project”. Hope now you have understood properly.

        Regards,
        Viraj Vashi

      • dishashah08
        November 10, 2009 at 3:07 am | #32

        Viraj

        Example of SPQuery:

        SPList objList = SPContext.Current.List.Lists[“ListName”];
        SPQuery strquery = new SPQuery();
        string Query = string.Empty;
        Query = “OrderBy” +

        “FieldRef Name=’FileLeafRef’” +

        “OrderBy” +

        “Where” +

        “Eq” +

        “FieldRef Name=’DocIcon’ ” +

        “Value Type=’Text’ xml Value” +

        “Eq” +

        “Where”;

        strquery.Query = Query;
        SPListItemCollection objListItemColl = objList.GetItems(strquery);
        cmbList.DataSource = objListItemColl;
        cmbList.DataTextField = strDataTextField;
        cmbList.DataValueField = strDataValueField;
        cmbList.DataBind();

        NOTE: somehow, special characters are not being display into query, write query as per your requirements.

        On first look only, I understand your People picker requirements, and given the options/ideas what I was thinking about regarding alternate solutions.

        Thanks,
        Disha Shah

  10. November 10, 2009 at 4:51 am | #33

    Hey Disha,

    Thank you very much. I was exactly looking the same. Amazing!

    If possible then please try to find out about people picker requirement.

    I understand that it is difficult to achieve but i am sure that you would find any alternate solution.

    Regards,
    Viraj Vashi

  11. Narpal
    November 10, 2009 at 1:02 pm | #34

    Hi Disha

    Im new to share point .Just have 1 year exp in ASP.net(C#).Can u please give me the links of the resourses where i can start learning sharepoint,which can give complete understading of sharepoint.

    It will be really helpful

    • dishashah08
      November 10, 2009 at 1:55 pm | #35

      Narpal

      It is good to hear that you want to start Sharepoint.

      You can download “Software Development Kit” for Windows Sharepoint Service and Microsoft Offfice Server 2007 from microsoft, which gives you detail explanation for every componene of Sharepoint

      Here are the links!!!!

      http://www.microsoft.com/downloads/details.aspx?FamilyId=6D94E307-67D9-41AC-B2D6-0074D6286FA9&displaylang=en
      http://www.microsoft.com/downloads/details.aspx?familyid=05e0dd12-8394-402b-8936-a07fe8afaffd&displaylang=en

      Hope you can start on this!!!!

      Thanks
      Disha Shah

      • Narpal
        November 11, 2009 at 12:44 pm | #36

        I’m Creating Task[list] in object model whenever request[List] is created. I’m sending mail to Admin Group related to request raised[raised request is task to admin,lets assume]. I’m able to send mails to Admin group but I want to send the link in mail so that on clicking that link he will login and will go to that particular task and will do the stuff there.

        how can i do that .I hope i have express the problem rightly.

  12. Narpal
    November 11, 2009 at 12:46 pm | #37

    Hi Disha

    I’m Creating Task[list] in object model whenever request[List] is created. I’m sending mail to Admin Group related to request raised[raised request is task to admin,lets assume]. I’m able to send mails to Admin group but I want to send the link in mail so that on clicking that link he will login and will go to that particular task and will do the stuff there.

    how can i do that .I hope i have express the problem rightly.

    • dishashah08
      November 11, 2009 at 8:23 pm | #38

      Narpal

      According to my understanding, you want to send link for created a new task into email.

      If yes then you can write this in your code to achieve that:

      SPContext.Current.Web.Url + “/Lists/” + SPContext.Current.Web.Lists["Tasks"].Title + “/DispForm.aspx?ID=” + itmTask.ID.ToString();
      Thanks,
      Disha Shah

  13. Babu
    November 11, 2009 at 6:07 pm | #39

    Hi Disha
    i am new to sharepoint.having 1 yr experience in asp.net(c#).
    can u suggest some tips regarding sharpoint custom controls .

    • dishashah08
      November 11, 2009 at 8:36 pm | #40

      Babu

      Good to hear that you want to start with SharePoint. But I am little bit confused – what do you mean by SharePoint Custom Control?

      Do you mean by Custom web parts or something else?

      Please elaborate on what exactly you are looking for.

      Thanks
      Disha Shah

  14. Narpal
    November 12, 2009 at 5:11 am | #41

    Hi Disha

    Thanks for Ur solution.Really You are helping alot to New people in share point.I have a query and i will be delighted if i get quick reply.I have to display dash board (Bar chart) using external datasource.can u please explain or give some respective link .

    • dishashah08
      November 13, 2009 at 2:09 am | #42

      Narpal,

      It seems that Santosh, you and Babu are doing some type of competition; sometime you all have same type of requirements :)

      You can also refer same links which I sent to Santosh and you can also do one thing over here, if you want to use external data source into Dashboard, then use BDC functionality and take external data source into SharePoint List and then use SharePoint list as source for displaying Dashboard.

      Thanks,
      Disha

  15. Babu
    November 12, 2009 at 5:38 am | #43

    Hi Disha,
    Thank you for you Quick Reply,Your R Correct I Am Asking About Share point Custom Web parts.
    Babu

    • dishashah08
      November 12, 2009 at 2:07 pm | #44

      Babu

      The best Example step by step for creating webpart is

      http://msdn.microsoft.com/en-us/library/ms452873.aspx
      http://www.wrox.com/WileyCDA/Section/Developing-SharePoint-2007-Web-Parts.id-306330.html

      Start on this, and then you can have better idea about webpart.

      Hope this helps

      Thanks
      Disha Shah

  16. November 18, 2009 at 6:03 pm | #45

    here is how you assign a value to sharepoint people picker.. http://sharepointforums.blogspot.com/2009/08/adding-value-to-peoplepicker-using-code.html

  17. Ajay
    November 26, 2009 at 6:47 am | #46

    hi disha

    its very urgent

    i am getting this error please look in to it.

    when publishing the infopath form .am giving correct webserver name but still it is showiing same error .

    infopath cannot find or cannot access the following webserver:http:share:2113
    make sure that the webserver name is valid ,that your proxy settings are correct,and that you have the necesary
    permissions to publish to this library

    • dishashah08
      November 27, 2009 at 1:54 pm | #47

      Hi Ajay

      Can you please let me know which version of InfoPath are you working on?

      You can also follow this Microsoft article: http://support.microsoft.com/kb/925431

      When you publish a form to a form library you need to make sure that you have the correct address where you have created the form library.
      For example you have form library in http://webserver/sites/test that is the address you put in when publishing the form. I have observed that your server name is incorrect, hope you are giving your server name as “http://share:2113”

      Things need to check: you also have the ability to create form library through InfoPath which is recommended also check that you are running InfoPath forms with the user who has proper privileges.

      Hope this helps.

      Thanks,
      Disha Shah

  18. Susa
    December 2, 2009 at 9:50 am | #48

    The code is not working for me for some users.

    SPFieldUserValue fuv = new SPFieldUserValue(SPContext.Current.Web, Convert.ToInt16(entity.EntityData[PeopleEditorEntityDataKeys.UserId]), entity.Description);

    When i debug, I found that for some users PeopleEditorEntityDataKeys.UserId is null.

    Could you please help me

    • dishashah08
      December 3, 2009 at 3:10 pm | #49

      Susa,

      Add this condition before taking fuv value

      if (entity.IsResolved == true)

      After adding the condition code looks like as following:

      SPFieldUserValueCollection values = new SPFieldUserValueCollection();

      foreach (PickerEntity entity in userPicker.ResolvedEntities)

      {

      if (entity.IsResolved == true)

      {

      SPFieldUserValue fuv = new SPFieldUserValue(SPContext.Current.Web, Convert.ToInt16(entity.EntityData[PeopleEditorEntityDataKeys.UserId]), entity.Description);

      values.Add(fuv);

      }

      }

      UserId is null because one possibility is that users are not part of your SharePoint application means they are not added in People who can access the site.

      Hope this helps,

      Disha Shah

  19. Jimmy
    January 8, 2010 at 6:16 pm | #50

    Hi Disha

    i have one unique requirement, do you know can we use People picker contral on custom ASP.NET page using Visual Studio 2005/2008?.

    -Jimmy

    • dishashah08
      January 9, 2010 at 2:14 am | #51

      Jimmy

      You want to create ASP.NET Custom page for SharePoint site? If yes you need to add 2 tags in your .aspx page

      1> Register Tagprefix=”SharePoint”
      Namespace=”Microsoft.SharePoint.WebControls”
      Assembly=”Microsoft.SharePoint, Version=12.0.0.0,
      Culture=neutral, PublicKeyToken=71e9bce111e9429c”

      2> wssawc:PeopleEditor
      AllowEmpty=”true” Width=”70%” ShowEntityDisplayTextInTextBox=”true”
      ValidatorEnabled=”true”
      id=”userPicker” CssClass=”drpClass”
      runat=”server” CommaSeparatedAccounts=”,”
      ShowCreateButtonInActiveDirectoryAccountCreationMode=”true”
      SelectionSet=”User”

      and to get and save data to people picker you can refer the blog.

      Hope this helps!!!

      NOTE: I did not use some characters because it does not accept and behaves unexpectedly , I hope you can identify and put starting and closing end to both lines.
      Thanks
      Disha Shah

  20. CHETAN
    January 24, 2010 at 5:41 pm | #52

    I’d like to mention that your code resolved an issue I had about non admin users being unable to add a listitem containing a people field using the “EnsureUser” syntax. Using the “SPFieldUserValue” collection and assigning values using the “PeopleEditorEntityDataKeys” class resolved it. Thanks!

    • dishashah08
      January 26, 2010 at 1:55 am | #53

      Chetan

      It is good to hear that this blog helps you out to solve your problem. Thanks for your time to leave comment and appreciation

      Thanks
      Disha Shah

  21. Altaf
    March 9, 2010 at 8:09 am | #54

    I have created one site in sharepoint in this poeple and group picker does not getting some of user of our domain.

    But at the default sharepoint site all user come in people and group picker.
    please help

    • dishashah08
      March 12, 2010 at 2:11 am | #55

      Altaf

      Can you please elaborate your question in more detail? When and What are you doing so that you have knowledge that People Picker does not show all users in that Sharepoint Site.

      Just one guess.
      Please check the People Picker Column Settings, that you selected all Users or SharePoint Group?

      Best Regards
      Disha Shah

  22. Sriram
    March 20, 2010 at 5:29 am | #56

    Very very helpful

  23. Mansoor
    April 24, 2010 at 1:46 pm | #57

    Hi Disha,

    Thanks a lot for sharing this article, its fulfill my project requirement .

    thanks once again.

    Regards
    Mansoor

  24. Mansoor
    April 24, 2010 at 1:52 pm | #58

    Hi Disha,

    can you help on my requirement, that is Cascading drop down list.the below link exact same as my requirement.but

    http://datacogs.com/datablogs/archive/2007/08/26/641.aspx

    when i change the list names and column names instead of countries,cities,country,city it wont work ?

    any suggestion plz…! waiting ur reply..

    Regards
    Mansoor

    • dishashah08
      April 24, 2010 at 8:49 pm | #59

      Hi Mansoor

      Thanks for appreaciation about blog.

      Can you please let me know about what error is given by the code when you change with the Field and list names? So it will be helpful for me to solve out the error.

      Thanks & Regards
      Disha Shah

  25. vinesh
    June 24, 2010 at 2:43 pm | #60

    Hi Disha,

    can you help on my requirement, that is SharePoint Desginer to send an attachement to users.I googled this requirement but not getting my requirement.
    please help me this requiremnt ,
    thanks in advance

    any suggestion plz…! waiting ur reply..

    Thanks & Regard
    vinesh

  26. September 11, 2010 at 4:45 pm | #61

    hi disha
    nice article..
    can you help me out with my requirement.. saying i would like to make the people picker control to be read only under certain conditons using javascript or inline code? am findn hard and tried all the controls id to make it happen.. but i fail.

    • dishashah08
      September 12, 2010 at 11:33 pm | #62

      Hi JayaRaja
      Thanks for Appreciation!!
      You can use Custom Field Validator using client side validation and solve your problem!!!

      If possible please post your JavaScript .

      FYI: I have moved to a new URL that is http://dishasharepointworld.blogspot.com and I have moved all contents to new URL.

      You are referring the same blog on this URL is
      http://dishasharepointworld.blogspot.com/2009/06/how-to-display-users-to-sharepoint_17.html

      I REQUEST please post comments now on wards to their blog.

      Thanks and See you on new blog URL
      Disha Shah

  27. September 13, 2010 at 2:42 am | #63

    hi disha,
    i have achieved the request using the client side script(JS).
    i ll soon post the code in my blog http://dev.techmachi.com
    thanks for ur valuable contrib

  1. July 26, 2009 at 7:38 pm | #1
Comments are closed.
Follow

Get every new post delivered to your Inbox.