SharePoint (2003 thru Online): January 2015

Tuesday, January 13, 2015

How to modify GROUPS page


How to edit/modify GROUPS page of the People and Groups section in Site Settings.


The View Edit page is an application page in layouts folder (_layouts/viewedit.aspx) and it accepts two parameters in query string: List and View IDs.

Open the groups page (http://moss2007site.com/_layouts/groups.aspx)

Open page source from [View >> Source (Internet explorer)] & [More Tools >> View Source (Google Chrome)] and find list and view GUIDs there. 

Search for 'WebQuerySourceHref' phrase to find the GUID values there.

Once you find the GUIDs, transform your URL as shown below.

http://moss2007site.com/_layouts/viewedit.aspx?List={417E8196-680A-4E81-B643-C89C04198A70}&View={939AA1A5-B824-40CA-B415-814C3D9750A1}

( Don't copy the above URL. It won't work for you. GUIDs change for every SP web aplication)

You can change the view display options, item limits and sort order many things you can do for any Views in the SharePoint.

Monday, January 5, 2015

Contact Selector cannot store bound data type (Infopath)

Sometimes, you see an error message "Contact Selector cannot store bound data type" when you use the Design Checker to verify the template on the server. Also see "Control cannot store bound data type" in the Contact Selector field (as shown below).



To fix it, first check if your datasource groups and fields are correctly defined.

grpContactSelector (non-repeating group)
     Person (repeating group)
         DisplayName (field)
         AccountId (field)
         AccountType (field))  

(Fields can be elements or attributes, doesn't matter, but make sure fields are under Person group).

 Then, follow the remaining steps exactly...

  1. Remove the control from the Controls pane using "Add or Remove Custom Controls" link at the bottom of the Controls tool box window.

2. Add the control again using the above mentioned link, but follow the steps carefully:

Select "ActiveX Control" option, Press Next

Select "Contact Selector", Press Next

Select "Don't include a .cab file" option, Press Next

Select "Value" a binding option, Press Next

From the FIRST DROP DOWN (not the check boxes), select "Field or Group (Any Data Type)" choice, 

Press Next.  Do not literally select a data type from the check boxes, with the first option ("Select Field").  This will cause the above error. 

If you still see the error even after following the above steps, then remove the Control from the form and add it again.