sharepoint

Tell JQuery Mobile not to add classes?

烂漫一生 提交于 2020-01-04 05:43:10
问题 I have a Sharepoint application that we're using with mobile browsers. All I'm using from JQuery mobile are the touch event handlers. JQuery mobile adds classes to the dom to make web pages more mobile friendly, but it's wreaking havoc on Sharepoints automated CSS handling. Is there a way to tell JQuery Mobile not to mess with the DOM? 回答1: You could use just the jQM libraries you need as they have decoupled the widgets now: https://github.com/jquery/jquery-mobile/commit

Microsoft graph and Azure Ad user authentication

丶灬走出姿态 提交于 2020-01-04 05:09:50
问题 I have an application registered in Azure ad. When i do ADAL with the following details i get a authoriazation token to use with microsoft graph api. `username = 'admin@domain.com' password = 'password123' client_id = application id from azure ad client_secret = keys from application on azure ad tenant = directory id from azure ad` Using this token i can fetch the list of all sites in my sharepoint account. Below is the endpoint i call to fetch the sites with the bearer token: https://graph

redirect using itemreceiver sharepoint

这一生的挚爱 提交于 2020-01-04 04:40:27
问题 When a list item is added to a sharepoint list i want to redirect to a thank you page. how can i do that in an itemreceiver? 回答1: I guess you could redirect on the ItemAdding event. But I would generally not recommend using event receivers for something like this. Better create your own New Item ASPX page, add the list item programmatically when the user clicks the Ok button. When the list item add is all done then you redirect to the Welcome page from your custom ASPX page. 回答2: Take a look

Microsoft Flow SharePoint to Teams HTTP 413

霸气de小男生 提交于 2020-01-04 04:23:05
问题 I have a Microsoft Flow which pulls a SharePoint List item and it's attachments, creates a message, then sends that message to Teams through a Webhook connector. In order to send the attachments, I am required to send the Base64 representation. I believe this is making the message too large, as I am receiving HTTP 413 response. The message I am sending is correct (I tested it in the Actionable Message playground), but it's the connection (HTTP POST to Teams) which is failing. Please help me

Retrieving the PC Name of a Client? (Windows Auth)

旧街凉风 提交于 2020-01-04 01:52:44
问题 I have an ASP.net Application that runs on the internal network (well, actually it's running on Sharepoint 2007). I just wonder: Can I somehow retrieve the name of the PC the Client is using? I would have access to Active Directory if that helps. The thing is, people use multiple PCs. So, I cannot use any manual/static mapping. If possible, I do not want to use any client-side (read: JavaScript) code, but if it cannot be done server-side, JavaScript would be OK as well. ActiveX is absolutely

jQuery POST. Can't get Request parameters using custom httphandler

天涯浪子 提交于 2020-01-03 18:59:22
问题 I have a jQuery post method with JSON data included. In my httphandler, in the processRequest method, Request["Operation"] is null and none of my data is posted. I am in a SharePoint 2010 environment. public void ProcessRequest(HttpContext context) { try { string operation = context.Request["Operation"]; // Returns null My JavaScript is as follows: function CallService(serviceData, callBack) { $.ajax({ type: "POST", url: ServiceUrl, data: { Operation : "activate"}, contentType: "application

Single Sign-On between sharepoint 2010 web application and asp.net mvc web application deployed as seperate website on IIS 7

…衆ロ難τιáo~ 提交于 2020-01-03 18:52:46
问题 I have developed POC to check possibility of sharing the authentication cookie between SharePoint web application and ASP.NET MVC web application to achieve single sign-on as quite a few resources on web shows that this is possible, please see http://labs.3pillarglobal.com/wp-content/uploads/2012/12/Single-Sign-On-White-paper.pdf document to see the implementation steps required to implement same. My sharePoint web application using claims based authentication with forms based auth and AD

Real time sync from sharepoint to sql server

青春壹個敷衍的年華 提交于 2020-01-03 16:37:09
问题 I've seen many solutions to sync SQL Server data TO SharePoint, but nothing to sync SharePoint lists to SQL Server. Does anyone know of a solution? Commercial is fine. Alternatively, I'll need to write a web part that creates relationships between multiple SharePoint lists. Unfortunately, Some are InfoPath libraries with no lookup fields so I can't use the SPQuery CAML joins. I've found the Camelot .NET Connector but the syntax doesn't seem to support joins, and the SLAM! SharePoint List

SharePoint fails to load a C++ DLL on Windows 2008

匆匆过客 提交于 2020-01-03 11:49:25
问题 I have a SharePoint DLL that does some licensing things and as part of the code it uses an external C++ DLL to get the serial number of the hardisk. When I run this application on Windows Server 2003 it works fine, but on Windows Server 2008 the whole site (loaded on load) crashes and resets continually. This is not Windows Server 2008 R2 and is the same in 64 or 32 bits. If I put a Debugger.Break before the DLL execution then I see the code get to the point of the break and then never come

OneDrive for Business REST API - PUT,POST - 401 Unauthorized

瘦欲@ 提交于 2020-01-03 06:46:05
问题 We've a trial version of Microsoft azure and are playing with the One drive for Business CRUD operations via the REST API from java client as per the link. After getting the token, I'm able to list any folder, download file and get attributes of a file using GET successfully. But, the operations such as PUT , POST which are required for create folder, upload file, rename file/folder, etc are not working. I get back "401 UnAuthorized" error. Error Response json : {"error":{"code":"-2147024891,