Hi all,

I borrowed some javascript from 
MSDN<http://msdn.microsoft.com/en-us/library/dn155790%28v=office.15%29.aspx#bk_FollowPeople>
 for a simple Follow/Unfollow link.

For whatever reason it's throwing undefined for:

"Unable to get property 'SocialFollowingManager' of undefined or null reference"

And:

"Unable to get property 'SocialActorInfo' of undefined or null reference"

Viewing source I can see that SP.UserProfiles.debug is already loaded by 
default.

RegisterSod("userprofile", "\u002f_layouts\u002f15\u002fsp.userprofiles.debug...

I've also tried loading SP.UserProfiles.js using both methods below but 
continue to have problems.

SP.SOD.executeOrDelayUntilScriptLoaded(getFollowingStatus, 
'SP.UserProfiles.js');
SP.SOD.executeFunc('SP.UserProfiles.js, 'SP.Social', getFollowingStatus);

Does anyone have any suggestions before I paste the full source?

Regards,

Paul

The content of this email is confidential to the intended recipient at the 
email address to which it has been addressed. It may not be disclosed to, or 
used by, anyone other than this addressee, nor may it be copied in any way. If 
received in error, please contact the author and then delete the message from 
your system. 
Please note that neither Keller Australia nor the sender accepts any 
responsibility for viruses and it is your responsibility to scan the email and 
attachments (if any).
Visit http://www.keller.com.au/ for more information. 

--------------------------------------------------------------------------------
This e-mail message has been scanned for Viruses and Content and cleared by 
MailMarshal 
--------------------------------------------------------------------------------
_______________________________________________
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Reply via email to