MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

People search web part. Where is the SocialNetworkingMode property  (Mono Support )

Viewed 7407 time(s), 6 post(s) 5/10/2013 9:25:27 PMby jharcariik
jharcariik

jharcariik

5/10/2013 9:25:27 PM
Per the Monox User Guide. "Another important property is
SocialNetworkingMode: it defines if all users are searched when the active user starts typing -
alternatively"  How do you get to this property after adding th web part to a page?

Thanks.
Joe
This content has not been rated yet. 
40 Reputation 4 Total posts
khorvat

khorvat

5/13/2013 7:45:17 AM
Hi,

this is a global property that you can set, and it will be loaded automatically within the WebPart. You can set this inside the web.config 

<!-- social networking mode: Friend or Group-based. In group mode the user can invite and message only the users that are members of the same groups. -->
   <add key="SocialNetworkingMode" value="Friend" />
Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
jharcariik

jharcariik

5/13/2013 9:49:27 PM
Thank you for the response, however when I change to the Group-based mode it did not change the users displayed in the People Search web part.  To test I logged in with a user with only one role (one of our custom roles) and the admin (MonoX adminstrator still displayed).  Is there something else I need to do to limit the list to only the users in the group?

Thanks.
Joe
This content has not been rated yet. 
40 Reputation 4 Total posts
khorvat

khorvat

5/14/2013 8:14:48 AM
Can you let us know what control are you using to display the user list ?

Thanks
This content has not been rated yet. 
15993 Reputation 2214 Total posts
jharcariik

jharcariik

5/14/2013 3:03:00 PM
Using the out of the box People Search.  See attached for web part selected.
Joe
This content has not been rated yet. 
40 Reputation 4 Total posts
khorvat

khorvat

5/14/2013 3:09:02 PM
Hi,

for group people search you should use the "~\MonoX\ModuleGallery\SocialNetworking\Groups\GroupPeopleSearch.ascx" - "Group member search". 

Please try to use this control and get back to us.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts