Sunday, December 28, 2014

Tune your SharePoint Farm for better performance Part 3: Warm-Up your farm every morning

One of the best recommendations to improve performance in your farm is to run warm-up script every morning.

I recommand the script of  Jeff Jones  :  https://spbestwarmup.codeplex.com/


I use it every morning after resetting IIS, the script can also create a daily planified task in Task Scheduler.

See Also:

Tune your SharePoint Farm for better performance Part 2

Tune your SharePoint Farm for better performance Part 1





Wednesday, December 10, 2014

We're sorry. We ran into a problem completing your request. Please try that again in a few minutes

If you insert your Excel Web Access and then you choose the workbook from a trusted document library you may have this error:
We’re sorry. We ran into a problem completing your request. Please try that again in a few minutes.

to fix this issue


1.   Open Central administration
2.   Application management
3.   Manage web applications
4.   Select the web application where your site 
5.   Manage service connections
6.   Select the Excel Services Application

7.   Click OK


if your have already configured your Excel Services (ref: http://technet.microsoft.com/en-us/library/jj219698(v=office.15).aspx) Everything will be OK.

Enjoy...

Wednesday, December 3, 2014

How do I import active directory photos and sync them with my site collections?

Be sure that you have basic user profile synchronization working:


1- Import PictureUrl mapping: Go to your Central Admin site "Manage Service Applications --> User Profile Service Application --> Manager User Properties --> Picture" and select "thumbnailPhoto" as the attribute. Choose the "Import" direction". Be sure that the edit settings are "Do not allow users to edit values for this property" if you do not want photos from SharePoint Site to export to active directory. Click "OK".


2- Run a full profile sync: on the central admin site go to "Manage Service Applications -> User Profile Service -> Start profile synchronization" and select "Full".


3- Give your user permission to push photos to MySite : Go to Central Admin --> "Manage Service Applications". This time select the "User Profile Service Application" row and not the link. On the ribbon go to "Service Applications --> Sharing --> Permissions". Add your user account and give it "Full Control" permission.


4- Push the photos to MySite - This step requires that you have a MySite setup (Setup MySite). Open a powershell window and enter


Update-SPProfilePhotoStore -CreateThumbnailsForImportedPhotos 1 -MySiteHostLocation "http://YourServerName/my"


Enjoy...


Tuesday, December 2, 2014

Intergrate Yammer Embed - SharePoint Site - Javascript widgets

yammer
I used this code to Integrate the Yammer's company Feed into my SharePoint Site
Yammer

<script type="text/javascript" src="https://c64.assets-yammer.com/assets/platform_embed.js"></script>
    <div id="embedded-feed" style="height:400px;width:500px;"></div> 
    <script>
        yam.connect.embedFeed(
          { container: '#embedded-feed',
            network: 'mycampany.com'  // network permalink  
        });
    </script>

You can begin by testing a static example :

<!DOCTYPE HTML>
<html>
<head></head>
<body>
    <script type="text/javascript" src="https://c64.assets-yammer.com/assets/platform_embed.js"></script>
    <div id="embedded-feed" style="height:400px;width:500px;"></div> 
    <script>
        yam.connect.embedFeed(
          { container: '#embedded-feed',
            network: 'mycampany.com'  // network permalink  
        });
    </script>
</body>
</html>


see also :