Tag Info

Hot answers tagged

4

CSOM and the REST API include the WebProxy for these operations. Query a remote service using the web proxy in SharePoint 2013 Code sample: $.ajax({ url: "../_api/SP.WebProxy.invoke", type: "POST", data: JSON.stringify( { "requestInfo": { "__metadata": { "type": "SP.WebRequestInfo" }, "Url": ...


3

Depending on your specific requirements, the easiest way is probably to use BCS to create external content types that link to your MySQL data. Your SharePoint hosted app can then read/write that data more or less as if it was a standard SharePoint list. The benefit of this approach is that it is quite quick and easy to set up. The downside is that it may be ...


2

I have never tried any short cut keys for this but, there is certainly a way to comment a block of code. <# $site = 'http://yoursite' $credentials = Get-Credential $context = New-Object Microsoft.SharePoint.Client.ClientContext($site) #>


2

Mark the lines which you want to comment with Alt+Shift+Up/Down and then press '#'. To uncomment hit 'Backspace'. A nice undocumented feature :) Or use: <# #>


2

Multiple instances of the same App in SharePoint is not possible in same site. You can add multiple instances of an app part on a single page and in order to do that you have to follow the steps as you follow for adding a web part in a page.


2

Has nothing to do with SharePoint. If you configure the server your MYSQL database runs on to accept Cross Origin requests you can access it from any environment. A https connection is preferred, but not required when you manually instruct your browser to allow mixed content. A REST middle-tier like ArrestDB in your stack simplifies access. You are ...


2

The site collection should be based on "Developer Site" template or you have to enable sideloading feature if it's not, you can check this.


1

You can install a NAPA App on-premises, but (as always in SP, there's a but somewhere in the phrase): Your on-premises environment must be configured for Apps (Application services provisioned, catalog site created, wilcard DNS name registered, maybe IE zone settings set-up, ...). See articles like ...


1

Apparently the app web is provisioned just like yet another sub web. I.e. it only gets the primary language enabled by default. So after the app has been installed to your site, you need to go to the mui-settings page: <appweb>/_layouts/15/muisetng.aspx and activate your secondary language. After activation SharePoint works as expected: it picks up the ...


1

You can add the page viewer webpart to the page and link the new form url: URL: http://www.yoursharepoint.com/Lists/surve/NewForm.aspx?Source=http%3A%2F%2Fwww%2Eyoursharepoint%2Ecom


1

Since search results are just JavaScript and HTML you could create a Control Template and Display Template that presents your results, then add your own feature to Export the data. Look at something like this sample: http://dhtmlx.com/docs/products/dhtmlxGrid/samples/12_initialization_loading/13_pro_load_csv.html Any JavaScript that can serialize the data ...


1

I don't think there is a way to query Search via app-only permissions. As a workaround you could use stored credentials and execute the Search using that context. But you need to understand that Search relies on a proper user context to function properly. Unless your security implementation is really simplistic you are likely to see issues where users see ...


1

I guess the application pool is running under that user. If you Login to your Site with the same (managed) account the web application is running under, it will identify you as "System Account".


1

If your SharePoint site is using SSL, Have you configured DNS and SSL for SharePoint 2013 Apps? If No, then follow below steps for that. Part 1: DNS Configuration Step 1: You will need to acquire an app domain. It is strongly recommended that this domain is separate from your site’s domain. For example: Example Site = mytestsite.onfpweb.net ...


1

The following example demonstrates how to count the number of occurrences of values in column: var counts = {}; items.get_data().forEach(function(item){ var fieldVal = item.get_item('<fieldName>'); counts[fieldVal] = (counts[fieldVal] ? counts[fieldVal] + 1 : 1); }); Complete example ExecuteOrDelayUntilScriptLoaded(renderChart, ...



Only top voted, non community-wiki answers of a minimum length are eligible