sharepoint-2013

Unexpected scrollbar in Reporting Services

旧时模样 提交于 2019-12-12 00:28:34
问题 I try to display reporting service report in iframe, and i have a interesting issue. Sometimes, but not always, there is some extra horizontal scrollbar. Solution have to work only in IE 9, 10, 11 . I could not find any rule, why it happens. Problem dissapears , when i hide header of report using rc:Toolbar=false. It occurs only in iframe. Reporting Services 2008 R2 回答1: There is a very simple solution. Issue occurs because parent document has html doctype and it is rendered by current IE

How to loop through all webs and sub webs of a SharePoint Web

谁都会走 提交于 2019-12-11 23:57:41
问题 I am trying to loop through all webs and subs-webs of those webs under a web. My Parent web http://EXAMPLE.com/parentweb (This is a sub site not a root web) sub webs http://example.com/parentweb/subweb ( This is one of the sub web which may or may not have sub webs) The only thing i tried is go to the site collection and loop throug all webs which is much longer process because i know the only sub site that needs to be checked. my site collection has multiple sub sites. i don't want to loop

Execute SharePoint Function On Page Load in AngularJS Application ($scope issue???)

我只是一个虾纸丫 提交于 2019-12-11 23:17:26
问题 I am using SharePoint's JavaScript Object Model in an AngularJS app and need one of its functions to execute on page load so an array is populated and used by an ng-repeat. Currently, it logs to the console the array push on page load, but does not appear to commit the values into the array for use on the page/$scope until I click in/then out of a input box, click OK on an alert box, or a dummy link that keeps me on the page. This is where I am confused as to why it can log the array properly

403 forbidden and 400 bad request errors while adding and deleting items to SharePoint list using REST

空扰寡人 提交于 2019-12-11 19:23:30
问题 Hi I'm new to SharePoint development. I'm Trying to develop simple SharePoint App using SharePoint online. I have a List named 'Products' in my site collection. in my app i wrote the following code to add and delete items to that list function addProduct(product) { var executor; executor = new SP.RequestExecutor(appwebUrl); var url = appwebUrl +"/_api/SP.AppContextSite(@target)/web/lists/getbytitle('Products')/items/?@target='" + hostwebUrl+"'"; executor.executeAsync({ url: url, method: "POST

Is powerapps add attachments on edit form available in Sharepoint on prem list

你。 提交于 2019-12-11 15:14:21
问题 below is the blog post detailing the feature but I cannot see it even after following the step to disable and re-enable attachments. I am using Sharepoint on premise list and a gateway. 回答1: Unfortunately Sharepoint OnPrem 2013 and 2016 do not have support for attachments so you will not be able to use this feature. 来源: https://stackoverflow.com/questions/51381243/is-powerapps-add-attachments-on-edit-form-available-in-sharepoint-on-prem-list

How to published an Office Add-In to SharePoint for use with Excel Web App

[亡魂溺海] 提交于 2019-12-11 12:52:12
问题 I am unable locate any information on the Internet that simply makes the statement, "Office Add-ins (aka Apps for Office) only work in Desktop apps and Office Online. They do not work in SharePoint office web-parts.", if that truly is a correct statement. I have a Excel Add-in and can published it using the following instructions: https://msdn.microsoft.com/en-us/library/office/fp123515.aspx . My add-in is a task-pane add-in (https://msdn.microsoft.com/en-us/library/office/fp123523.aspx) With

Retrieve Items from a List View of a Sharepoint List using Javascript

痴心易碎 提交于 2019-12-11 09:57:21
问题 This is my code:\ Here pranav_list is list name and Main is view of that list. <script type="text/javascript"> function retrieveListViewItems(){ alert('start'); var cc = SP.ClientContext.get_current(); var alllist = cc.get_web().get_lists().getByTitle('pranav_list'); var view = alllist.get_views().getByTitle('Main'); var caml = new SP.CamlQuery(); caml.set_viewXml('<View><Query><Where><Leq>' + '<FieldRef Name=\'ID\'/><Value Type=\'Number\'>100</Value>' + '</Leq></Where></Query><RowLimit>8<

document rating in SharePoint 2013 hosted app

[亡魂溺海] 提交于 2019-12-11 08:58:36
问题 I have created a SharePoint 2013 hosted app though visual studio 2012. I configured a list to support document rating. however, when I try to rate a document, I get the the following error: Message from webpage The assembly Microsoft.SharePoint.Portal.Proxy, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c does not support app authentication. Anyone has a solution ? Thanks 来源: https://stackoverflow.com/questions/20730213/document-rating-in-sharepoint-2013-hosted-app

Problems retrieving content controls with Open XML sdk

被刻印的时光 ゝ 提交于 2019-12-11 08:08:20
问题 I am developing a solution that will generate word-documents. The word-documents are generated on the basis of a template document which has defined content controls. Everything was working good for me when I had only one content control in my template, but after expanding the template document with more content controls, I am getting exceptions. It seems like I am not finding the content controls. This is my method: private void CreateReport(File file) { var byteArray = file.OpenBinary();

Sharepoint 2013 - EditForm, people picker new value not saving

瘦欲@ 提交于 2019-12-11 06:39:12
问题 I have used below code to Add value in people picker. The code works fine in NewForm.aspx. But when I edit the people picker in EditForm.aspx it doesnt take the new value. It saves the old value only. function SetNewPeoplePicker(controlName, Username) { var ppDiv = jQuery("[id$='ClientPeoplePicker'][title='" + controlName + "']"); var ppEditor = ppDiv.find("[title='" + controlName + "']"); var spPP = SPClientPeoplePicker.SPClientPeoplePickerDict[ppDiv[0].id]; ppEditor.val(Username); // Set