New answers tagged

2

Make a GET request to the following URL, It will return all folders /_api/Web/GetFolderByServerRelativeUrl('" + libraryRelativeUrl + "')/Folders?$select=Name,ServerRelativeUrl Using jQuery function getFolders(libraryRelativeUrl) { var queryUrl = "/_api/Web/GetFolderByServerRelativeUrl('" + libraryRelativeUrl + ...


0

This may help but I am using this code in a SP Online. var strFieldName = "FieldName"; var ppDiv= $("[id$='ClientPeoplePicker'][title='" + strFieldName + "']"); var spPP = SPClientPeoplePicker.SPClientPeoplePickerDict[ppDiv[0].id]; spPP.AddUnresolvedUserFromEditor(true); if (!spPP.HasInputError) { var userKeys = ...


0

You can use this below link as a reference and which gives you all attributes belongs to a user: Get all attributes from user


2

Your solution with SPServices is just ok. You should use jQuery to parse data and you could use selectors: var picker = $().SPServices.SPFindPeoplePicker({ peoplePickerDisplayName: whatDisplayName //your picker control field's display name }); var data = picker.row.find("div[id='divEntityData'] div").attr("data"); var xml = $(data);//accepting data by ...


0

I got solution to my question. After Updating the itemProperties i had get resolved of my issue. Updated Code. var itemProperties = { 'Title': userAccName, 'BusinessJustificationForAccessValue': busJust, 'ExpiryDate': expDate, 'PermissionTypeValue': 'Add' }; When i browse my list with REST URL(http://xyz:5000/sites/n/_vti_bin/listdata.svc/L2) in browser ...


0

You can use a external tool (u2u Caml builder, Query Helper,..) to list all fields and see their internal names https://spcamlqueryhelper.codeplex.com/ - Query Helper download


1

I faced the same issue and the reason was that the FIM services were stopped. Forefront Identity Manager Service & Forefront Identity Manager Synchronization Service. If these services are not running, you won't be able to see the connections that you already configured. Check the services and start them again. Sometimes, FIM Service does not get ...


0

Please check if you have given necessary permission in AppManifest.xml file. You need to give "Read" access to List/Web for reading items from host web.



Top 50 recent answers are included