Thursday, 17 April 2014

Dotnetnuke 7.2 Users From Search

Dotnetnuke Development 7.2.0 presents another characteristic, which incorporates client information in search (actually for upgraded sites), i.e. entering "host" in search will give you a connection to have client profile in default site.
While this could be an extraordinary characteristic for hosting communities groups, a large portion of the sites of my customers simply incorporate a couple of administrator clients, who would prefer not to get exposed their information in site seek. Different sites do give client records to newsletter information exchange and would prefer not to expose this information by means of site inquiry (in Germany, site holders may even get fined, if the client didn't agree to his information being published).

The least demanding alternative to avoid all clients from is disabling client information from being incorporated in indexed lists by means of UI:

> Click on search results page (either in Admin > Pages or by entering a term into the search box.

> Enter module settings of search results and Switch to edit mode.
> Open drop down list for setting "Results Scope for Content Type(s)"In tab "Search Results Settings".

>unselect "users"

Tragically, this won't prevent clients from being recorded (by an expensive stored procedure), i.e. their information duplicated from the database into the search index files. In the event that you need to keep this, run the following statement from Host > SQL:

ALTER PROCEDURE {databaseOwner}[{objectQualifier}GetAvailableUsersForIndex]
    @PortalId INT ,
    @StartDate DATETIME ,
        @startUserId INT = 0,
    @numberOfUsers INT = 500
AS 
BEGIN
        SELECT  UserID,
                        DisplayName,
                        ''   AS FirstName,
                        ''   AS PropertyName ,
                        ''   AS PropertyValue,
                        0    AS Visibility,
                        Null AS ExtendedVisibility,
                        Convert (DateTime, 0) AS ModifiedTime
        FROM    {databaseOwner}[{objectQualifier}Users] 
        WHERE   userId = 0
END

RayBusiness Technologies Pvt Ltd, www.raybiztech.com,is a global Information Technology (IT) Services and Solutions company. Raybiztech offers comprehensive end-to-end IT Services for
Business Application Development & Maintenance, Enterprise Solutions, Testing & Quality Assurance, Embedded Systems, Cloud Computing and IT Infrastructure Management to organizations in the
Banking & Financial Services, Insurance & Healthcare, Life Sciences, Manufacturing, Retail, Distribution & Logistics, Media & Entertainment, Leisure & Travel, Communication, Energy &
Utilities, Federal Government verticals and Independent Software Vendors. Raybiztech's innovative IT Solutions in Enterprise Resource Planning (ERP), Enterprise Portals and Content Management (EPCM),Customer Relationship Management (CRM), and Enterprise Mobility including Product Development and Life-Cycle Support, have resulted in significant strategic and cost advantage for their clients
worldwide.

Raybiztechis now leading the way in powering next-generation enterprises with its Cloud, Mobility,

Big Data and Social Media solutions. Our excellent team of Technology Professionals work with enterprise clients in North America, Latin America, Australia, Europe, Middle East and Asia.

No comments:

Post a Comment