sharepoint

How to make webEnumerator.moveNext wait until executeQueryAsync query executes

不想你离开。 提交于 2019-12-25 18:47:11
问题 I want executeQueryAsync to complete before giving back control to webEnumerator.moveNext, anyway ? function onGetSubwebsSuccess(sender, args) { var webEnumerator = webCollection.getEnumerator(); while (webEnumerator.moveNext()) { alert("Loop 1"); web = webEnumerator.get_current(); this.props = web.get_allProperties(); context.load(this.props); context.executeQueryAsync(Function.createDelegate(this, gotProperty), Function.createDelegate(this, failedGettingProperty)); } } function gotProperty(

jquery get id of input field

折月煮酒 提交于 2019-12-25 18:32:17
问题 i need to get the id of a input that's inside a span of a sharepoint list. it looks like the code below. <tr id="idEstablishmentRow"> <td class="ms-formbody" vAlign="top"> <span dir="none"> <span style="vertical-align: middle;"> <input type='text' id='hello' /> </span> </span> </td> </tr> now i want to get the id of the input. i have tried: var _test = $('#idEstablishmentRow').find('td.ms-formbody'); var _test1 = _test.find('span.style'); var _test2 = _test1.find('input'); var _test3 = _test2

XSLT Count Distinct in a Group (Data View Web Part)

北城余情 提交于 2019-12-25 18:16:11
问题 I am working on a data view web part in SP 2010 to rullup some information from sub sites. These sites contain project task lists that have tasks assigned to users. The customer wants to see a rollup that will list projects by user based on whether or not they have tasks assigned. Since a project can have multiple tasks, a project could show up under multiple users in the rollup, depending on which tasks are assigned to which users. Long story short, I need a way to select the count of

XSLT Count Distinct in a Group (Data View Web Part)

一世执手 提交于 2019-12-25 18:16:03
问题 I am working on a data view web part in SP 2010 to rullup some information from sub sites. These sites contain project task lists that have tasks assigned to users. The customer wants to see a rollup that will list projects by user based on whether or not they have tasks assigned. Since a project can have multiple tasks, a project could show up under multiple users in the rollup, depending on which tasks are assigned to which users. Long story short, I need a way to select the count of

Accesing sharepoint online from various clients

≡放荡痞女 提交于 2019-12-25 18:08:12
问题 I have a sharepoint online site were I'm using announcements. These announcements I would like to consume in a Cordova app and also on a HTML5 site that I have on some info screens. I have been looking into using the REST service and app for sharepoint. Example: var requestUri = 'https://site.sharepoint.com/_api/web/lists(guid\'someGuid')/items'; var requestHeaders = { 'accept': 'application/json;odata=verbose' }; $.ajax( { url: requestUri, contentType: 'application/json;odata=verbose',

Accesing sharepoint online from various clients

ぃ、小莉子 提交于 2019-12-25 18:07:42
问题 I have a sharepoint online site were I'm using announcements. These announcements I would like to consume in a Cordova app and also on a HTML5 site that I have on some info screens. I have been looking into using the REST service and app for sharepoint. Example: var requestUri = 'https://site.sharepoint.com/_api/web/lists(guid\'someGuid')/items'; var requestHeaders = { 'accept': 'application/json;odata=verbose' }; $.ajax( { url: requestUri, contentType: 'application/json;odata=verbose',

Accesing sharepoint online from various clients

流过昼夜 提交于 2019-12-25 18:07:13
问题 I have a sharepoint online site were I'm using announcements. These announcements I would like to consume in a Cordova app and also on a HTML5 site that I have on some info screens. I have been looking into using the REST service and app for sharepoint. Example: var requestUri = 'https://site.sharepoint.com/_api/web/lists(guid\'someGuid')/items'; var requestHeaders = { 'accept': 'application/json;odata=verbose' }; $.ajax( { url: requestUri, contentType: 'application/json;odata=verbose',

using Microsoft.Office.Interop.Word in Sharepoint environment

橙三吉。 提交于 2019-12-25 17:19:23
问题 You'll have to forgive my ignorance with regards to this code. I have written some code to modify an event receiver. I have set up a development environment for SharePoint and finally got it to access and change certain elements of the code. However, it is the following line where it fails: Word.Application wordApp = new Word.Application(); In that, it doesn't seem to be able to open the local word application installed on the Sharepoint server in order to process the uploaded document. Any

using Microsoft.Office.Interop.Word in Sharepoint environment

北城余情 提交于 2019-12-25 17:19:06
问题 You'll have to forgive my ignorance with regards to this code. I have written some code to modify an event receiver. I have set up a development environment for SharePoint and finally got it to access and change certain elements of the code. However, it is the following line where it fails: Word.Application wordApp = new Word.Application(); In that, it doesn't seem to be able to open the local word application installed on the Sharepoint server in order to process the uploaded document. Any

Sharepoint/SOAP - GetListItems ignoring query

半腔热情 提交于 2019-12-25 17:14:15
问题 Trying to talk from Python to Sharepoint through SOAP. One of the lists I am trying to query contains 'ID' as primary key field. (Field){ _RowOrdinal = "0" _FromBaseType = "TRUE" _DisplayName = "ID" _Name = "ID" _SourceID = "http://schemas.microsoft.com/sharepoint/v3" _ColName = "tp_ID" _StaticName = "ID" _PrimaryKey = "TRUE" _ReadOnly = "TRUE" _Type = "Counter" _ID = "{1d22ea11-1e32-424e-89ab-9fedbadb6ce1}" }, We send the following request to query the list item with ID=77 <?xml version="1.0