New answers tagged

2

Create EndPoint workflow variable with value [%Workflow_Context:Current Site URL%]]/_api/Web/SiteUserInfoList/items?$filter=(ID eq [%Workflow_Context:AssignedTo%]) Add Build dictionary action to get the the response in a JSON format you will have to update the Accept and Content-Type http headers of your Rest http call; more specifically: Accept : ...


0

Please check this: http://www.vrdmn.com/2013/07/sharepoint-2013-get-userprofile.html I get the department with this script: <script type="text/javascript"> $(document).ready(function() { var loginName = ""; var userid = _spPageContextInfo.userId; function GetCurrentUser() { var requestUri = _spPageContextInfo.webAbsoluteUrl + ...


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, ...



Top 50 recent answers are included