New answers tagged

0

Apart from the Authorization empty in the RequestHeaders , set Content-Type and Accept to Accept : application/json;odata=verbose Content-Type : application/json;odata=verbose Check this for more info Check in the web service properties that the RequestHeaders points correctly to your dictionary that contains (Authorization,Content-Type and Accept). It ...


0

You should start by copying a display template that does most of what you want, like popup hover card, etc. They are stored in the Master Page Gallery under Display Templates. Then add your refinable property and then insert the property reference in the form ctx.CurrentItem.PropertyName The rest is just fighting JavaScript and HTML. Rename the copy of the ...


0

In your display template add the "refinablestring00" to the managed property mapping like below <mso:ManagedPropertyMapping msdt:dt="string">'Title'{Title}:'Title','Department'{Department}:'RefinableString00'</mso:ManagedPropertyMapping> In the code block you can get the value of the property as below, var department = $getItemValue(ctx, ...


0

This might caused because the User Profile Service Application was trying to sync the Work Email with the AD attribute ‘ProxyAddresses’ and not with the attribute ‘mail’. Configure the User Properties import for Work Email: Check if the User Profile Sync Service has started. Go to the User Profile Service Application. Click on Manage User Properties and ...


0

You have to use the accountName for pulling data from the userprofile. You are now using .get_item("Name").get_lookupValue() , that gives you the display name. And I don't think there is SP.Userprofiles.js key in the _v_dictSod, I have always used the key userprofile. Could be SharePoint online thing. I just pulled your code together some just for a test ( ...



Top 50 recent answers are included