Hot answers tagged

14

you can use sprite cow to generate your css http://www.spritecow.com/ Eric Overfield has a nice post on this Update: I'll link a few additional resources: https://stackoverflow.com/questions/1452961/how-to-find-pixel-position-of-image-from-sprite-image https://getspritexy.netlify.com/ Eric's post (from wayback machine) - seems the live one is broken


12

By inspecting the source code i noticed the profile pic is set like this: background-image:url(/_layouts/15/userphoto.aspx?size=L&username=usernamehere);​ So I used the same url in my promoted links list and when ever a user change his profile picture the url is returning the right pic too. Because of the cache files the changed pic can't be seen ...


5

I have faced this issue too. There was problem with Pictures library this month due to updates by MS. Check service messages in admin center below are details. It says service restored but there are still issues reported by people. SP101452 - Picture Library Slideshow not displaying images Status:Service restored User impact:Users may have been unable to ...


4

You can try this: { "elmType": "img", "txtContent": "", "style": { "width": "80px", "height": "60px" }, "attributes": { "src": { "operator": "+", "operands": [ "https://tenant.sharepoint.com", "@currentField" ] } } } The path might need some adjustment but this should work.


3

You need to use 'DisplayFormat` SPFieldUrl fldURLImage = (SPFieldUrl)list.Fields.CreateNewField(SPFieldType.URL.ToString(), "Picture"); fldURLImage.DisplayFormat = SPUrlFieldFormatType.Image; myList.Fields.Add(fldURLImage,SPFieldType.URL, true);


3

If you have Exchange Online as well, you can use Powershell Set-UserPhoto. The cmdlet works for both on-premise and online.


3

OK, I got your code working for me. You should change the property getter to look like the following, I left in the original lines for reference: #$AccountName = $UPD.UserProfile[1].Values[0].Value $Prop = $UPD.UserProfile | Where-Object { $_.Name -eq "AccountName" } $AccountName = $Prop.Values[0].Value #$PictureURL = $UPD.UserProfile[20].Values[0].Value ...


3

I would try Updating the User Profile via Powershell. $ap = Get-SPServiceApplication –Name "User Profile Service Application" Set-SPProfileServiceApplication –Identity $ap –MySiteHostLocation "http://portal:8080" Also, have you tried restarting IIS/UPS?


3

Slide libraries have been deprecated in SharePoint 2013. Use this alternate way to get the slide libraries working in SP 2013 http://techtrainingnotes.blogspot.com/2012/11/finding-missing-sharepoint-2013-slide.html The Slide Library is not listed as an "App" or displayed in the old Create.aspx page (_layouts/create.aspx). But… you can still get it ...


2

Unfortunately I cannot add a comment due to insufficient reputation. But I guess you configured your mysite to use another domain as your "intra" web application. If yes than I believe the problem is described as an issue which exists since the preview of SharePoint 2013 as you can see in the following link. You need to scroll one item up to »Can't post ...


2

We fixed the issue by using below code var userpicUrl = '/_layouts/15/userphoto.aspx?accountname=' + userProfileProperties.get_accountName() + '&size=M&url=' + userProfileProperties.get_pictureUrl(); $('.profile-image img').attr('src', userpicUrl );


2

The OOTB PictureLibrarySlideshow Web Part has some wierd logic that if the Picture Display Mode is Sequential then it'll max show 300 pictures if it's Random then it'll show up to 1500


2

You can only have a one way sync of user profile properties between AD en SharePoint. You cannot import and export attributes at the same time unfortunately. More info at http://technet.microsoft.com/en-us/library/gg188041.aspx and http://www.harbar.net/articles/sp2010ups.aspx (search for the keyword "direction" in both articles)


2

Check following link to do multi column layout using CQWP http://pholpar.wordpress.com/2010/01/21/displaying-results-in-multiple-columns-using-the-content-query-web-part/ http://pholpar.wordpress.com/2011/03/17/displaying-results-in-multiple-columns-using-the-content-query-web-part-the-other-direction/


2

No it's not possible. Here is a link: http://community.office365.com/en-us/forums/148/p/173261/505321.aspx?ss=5b31d473-26f2-41da-8c36-9397d1d2fad2#505321


2

$site = get-spsite "http://sis-intranet" #Give URL of a site collection whose web application is associated with this user profile service application $context= [Microsoft.office.server.servercontext]::GetContext($site) $userProfileManager = new-object Microsoft.office.server.userprofiles.userprofilemanager($context) $profiles = $userProfileManager....


2

Look the "Module" element of feature elements.xml. http://msdn.microsoft.com/en-us/library/ee231567.aspx Here is an example of the Elements.xml file for a module: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Module Name="Module1"> <File Path="Module1\Sample.txt" Url="Module1/...


2

You could consider at least two options: retrieve an additional user properties from User Information List retrieve user properties via User Profile Option 1 var userInfoList = site.RootWeb.SiteUserInfoList; var userInfoItem = userInfoList.GetItemById(user.ID); var pictureUrl = userInfoItem["Picture"]; var workPhone = userInfoItem["WorkPhone"]; Option 2 ...


2

You can add HTML with jQuery and style it. Or you can do it without any HTML and use CSS, all you have to do then is get the CSS in that page (you will probably use jQuery coding to create that IMG url dynamically, since you can't generate the CSS server-side in SPOnline) <STYLE> #WebPartWPQ1{ position: relative; } #WebPartWPQ1::after{ content: ...


2

You can try the below javascript functions: var getFileAsArrayBuffer = function (file) { var dfd = $.Deferred(); var fr = new FileReader(); fr.onload = function (e) { dfd.resolve(e.target.result); } fr.onerror = function (e) { dfd.reject(e.target.error); } fr.readAsArrayBuffer(file); return dfd.promise(); }; $...


1

This is not supported with Active Directory Import. We had the same issue where we want to import the Profile Pictures using ADI but after configuring everything nothing showed up. We open the case with MSFT for this issue, almost in 2 months we reached to escalation Team and they confirmd this. Profile Picture import is not supported in ADI becuase ADI ...


1

Active Directory Import is new synchronization method introduced in SharePoint 2013. It is highly efficient if only import is required even with AD only. And that's true, you will not be able to start User Profile Synchronization Service after configuration synchronization method as Active Directory Import You have to perform some step to create connection ...


1

Here is a better technical explanation (please look a the "Tips and Tricks" section at the end of the post): http://blogs.technet.com/b/meacoex/archive/2013/08/04/step-by-step-active-directory-import-for-sharepoint-2013.aspx If you are mapping attributes and are using FIM, all of the attributes from AD are listed in the drop down box. However if you ...


1

What I noticed in my case.. (not sure if this is a rule or just something my configuration needs) ..was the following: in my Synchronization Settings, I have to use SharePoint Profile Synchronization and not Active Directory Import. If I use A.D.I., I will NOT see the attribute dropdown filled in. If I use S.P.S. the dropdown WILL be filled in, and then ...


1

I've exactly the same problem with you. You can delete the current connection and create a new one, then start synchronize it. And try to focus on Sync Status on screen when you starting sync to see if there is any change there. If not, I think difinitely cause of sync.


1

PictureURL - User Profile picture property PeopleManager.SetMyProfilePicture method uploads and sets the user profile picture UserProfile[PropertyConstants.PictureUrl].Value gets user profile picture url


1

Before uploading pictures you can turn off versioning for the Master Page Gallery, which will ensure all files will be in approved state. You can do this by: On the Master Page Gallery, click Library Settings. On Settings page, click Versioning settings. On the Versioning Settings , in the Content Approval section, for Require content approval for submitted ...


1

As search results point to this post the actual answer is found here: http://social.technet.microsoft.com/Forums/sharepoint/en-US/56bfab6c-fac6-4d18-a1af-c4696c70f60f/sharepoint-2013-newsfeed-picture-upload-problem?forum=sharepointgeneral Add-PSSnapin Microsoft.SharePoint.PowerShell -EA 0 $webApp = Get-SPWebApplication "<my site host>" $webApp....


1

Just add a css style into your page will solve this: <style> .dfwp-item { float:left; } </style> You can add the css statement into your page directly (by SharePoint Designer) or put a Content Editor Web Part into your page and set its Html Source with the css statement.


1

This typically happens if there is a change of url for the mysite. A resolution for this mentioned on this link : How to fix broken images after mySite URL change in SharePoint 2010? If this is not the case , then there is a hotfix for the same as discussed on MSDN forums over here: Profile Pictures showing as broken images This can solve the issue. ...


Only top voted, non community-wiki answers of a minimum length are eligible