New answers tagged

0

You can definitely develop Provider Hosted Apps on a 'normal' machine - that's the best part about them, in my opinion. However, they will still need to establish connectivity to the server. The error message you're getting there is complaining that it can't connect to the SharePoint site. It also sounds like the app is targeting SharePoint Online, but you'...


0

Move the WebPart to a non Rich-text WebPartZone or try in a publishing page. WebParts added into Rich text zone causes JavaScript issues in Site Pages


0

I believe you are trying to add an app from store, Site collection administrators can not add an app as its Sharepoint's policy for security purposes. So you have to be a lower level from administrator to add an app.


0

Your query for Managed metadata(Multivalues) Column should be: <FieldRef Name='Metadata_x0020_Name' /> <values> <Value Type='Lookup'>Author 1</Value> <Value Type='Lookup'>Program</Value> </values>


0

The App Web was specifically designed to prevent you from doing what you want to do. The App Web site template, the App Web master page, and the AppLockdown Feature are all designed to prevent users from accessing the internals of the App. For more information watch An overview of developing SharePoint-hosted apps starting at 52:45.


0

You need to ExpandRecurrence http://sharepointchan.blogspot.hr/2011/10/situation-i-want-to-get-all-calendar.html Or with jquery.SPServices http://spservices.codeplex.com/discussions/254560 CAMLViewFields: "<ViewFields>" + "<FieldRef Name='Title' />" + "<FieldRef Name='EventDate' />" + ...


1

You don't have to deal with __metadata. Just specify your ContentTypeId in your request body and that's all. data: JSON.stringify({ __metadata: { "type": "SP.Data.Example_x0020_ListListItem" }, Title: "_", field1: "val1", field2: "val2", field3: "val3", ContentTypeId: "Your content type id" }) In the __metadata you need ...


2

An easy check for SharePoint Online or on premises would be to look at the host name. In the case of SharePoint Online, it will always be in the form of tenant.sharepoint.com. A local installation, third party hosted, or something running in Azure, it will be for all intents and purposes the same thing, an on premises installation. This then leads to how ...


-1

Create calendar within your site with unique permission. Go to advance settings of the Calendar List and setup permissions. See below screenshot from advanced settings window. Hope it helps. ]1


0

You can create more than one calendar (app) in your SharePoint site and SharePoint sub-site. If it requires 'unique access' were only a few can view and edit, create within the site with 'unique access'. If it can or needs to be viewed by many, but edited by a few, create at the top level of the site. Then edit the permissions to create a different ...


-1

the syntax is each < and> statement content 2 queries. section <and> is one query in another <and> statement change the query to: "<View>" + "<Query>" + "<Where>" + "<And>" + "<And>" + "<And>" + <------first "<Eq><FieldRef Name='...


0

Here is how i resolved my case with updating a List Item with Managed Metadata Column. function execRequest() { var taxPickerIndex = $("#taxPickerOpenSingle").val(); var result = $.parseJSON(taxPickerIndex); var listTitle = "GNTiles"; var taxFieldName = "Process"; var termId = result[0].Id; var term = ...


0

Here is how i resolved my case with updating an existing List Item with Managed Metadata Column using JSOM: function execRequest() { var taxPickerIndex = $("#taxPickerOpenSingle").val(); var result = $.parseJSON(taxPickerIndex); var listTitle = "GNTiles"; var taxFieldName = "Process"; var termId = result[0].Id;...


0

To update managed metadata column, you need to get the associate termSet for the column and also get the term Id from that termset. To update Managed Metadata column using REST check this Below is the code to add the item with managed metadata column using JSOM. Read Comments in code for more description. jQuery(function($) { var scriptbase = ...


1

Since it is your custom WCF service. Couple of options In case of on premise deploy the WCF service into SharePoint Context (ISAPI) In case of office 365 you can create SAML request for authentication. You should get the credentials from the user and pass it for authentication.


1

According to Update on Modern Document Libraries and Extensibility they should work. We’ve already made some good progress here. Theming, global navigation links, and URL-based custom actions that extend the ribbon and context menus are already supported in the modern document library experience. This ensures that customers and partners taking ...


0

Even if the UI says StartDate and EndDate the field internal names are different. You can use the field settings to find out the actual names. Or you can use the browser console to figure out the properties available in the data object. Try EventDate and EndTime instead.


0

If you re-deploy your app, it will create your lists new each time. Because every time when you deploy your app, it will retract your app completely, If you noticed your url then every time when you deploy your app, url will be changed. As app- model works as separate site then our site-collection/our farm. You will get more info from below reference links: ...


0

Try viewing the calendar and looking on the left side under the small calendar for "calendars in view" See if there are more to add in there.


0

Try to right click the Project, go to Sharepoint Tab on the left and than uncheck the Auto-retract checkbox.


0

For posting multi user field the format we should use is FieldName: {"results": [UserId1,UserId2....] } From people picker control you can get the user ids as explained in the msdn article https://msdn.microsoft.com/en-us/library/office/jj713593.aspx


1

In order to create list in SharePoint Apps Create a SharePoint App Solution in Visual Studio Right Click on Project and Click Add New Item Select "List" from the available templates Now Select Picture Library from the list templates available. In this way you can create Picture library. This step will be same for SharePoint Hosted App and Provider Hosted ...


1

If anyone's wondering, solved by implementing CORS on the server instance, allowing the app web to access data. Not the greatest solution as only one domain can be whitelisted per server instance, but it works.


0

A Remote Event Receiver may give you the correct token for the Client Context if you enable it on AppInstalling. It's difficult to access external Lists (from the App web), but if you throw in a WCF service and CSOM, it gives you a little more control This post may help you when defining different Client Context based on the situation. This post will give ...


1

It is impossible for us to know how you've implemented your app, so we can't give you any specific advice. If your app utilizes anything listed in this article, then you're out of luck for the time being. https://support.office.com/en-us/article/Differences-between-the-new-document-library-experience-and-classic-mode-30e1aab0-a5cc-4363-b7f2-09e2ae07d4dc


0

Filters can be passed in lists by adding ?&FilterField1=ID&FilterValue=12345 at the end of the url of allitems.aspx


0

found a way please see below. <style> IMG[src*='/_layouts/15/images/rbsel.gif'] { BACKGROUND-IMAGE: url('https://cdn1.iconfinder.com/data/icons/windows8_icons_iconpharm/26/checked_checkbox.png'); WIDTH: 26px; HEIGHT: 0px; PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 26px } IMG[src*='/_layouts/...


1

Side loading is controlled by the hidden feature EnableAppSideLoading, so you need Powershell access to check if the feature is enabled on the site collection (and enable it). Here is a MSDN blog article on how to do it on Office 365.


0

There are many way to do this. Based on my experience the easiest option is Store the data in SQL server (Or you can store the data in SP Lists itself.. in this case you can use JSOM API's) Create External Content Type and External Lists to Manage the data (CRUD Operations) Create a Visual WebPart using Server Side Object Model and query the BCS connection ...


1

Yes. You must be a SharePoint admin to be able to do this. You can disable apps from the SharePoint admin center. Go to SharePoint admin center > apps. You have options such as App Catalog, Purchase Apps, Manage Licenses, Configure Store Settings, Monitor Apps and App permissions.


0

Did you try Update-SPAppInstance -Identity $instance -App $spapp ? MSDN Reference


0

You need to download and install Microsoft Office Developer Tools with update for Visual Studio 2015 as mentioned at Office / SharePoint template missing in Visual Studio 2015


0

I don't think this might be the optimize solution. You can write a jquery get the double arrow image and replace it with custom image. E.g: Get all image with double arrow on the page var collection =$('img[src$="rbsel.gif"]'); //loop it $.each(collection,function(index,item){ //replace the image src here $(item).src(tosomething); }); Hope it helps


0

What you say is the normal behaviour. Whenever a SharePoint-hosted Add-in is deployed, it will get a new unique app instance ID. To prevent the app ID from changing, you need to deploy the Add-in to the App Catalog in your farm, and then follow the update process described in this official documentation. Updating the Add-in instead of deploying it with ...


1

From app's iframe you will not be able to get hold of parent window url due to cross domain issue. The solution is to write a javascript that will be hosted in content editor webpart in parent window page. It will read parent window url and pass in that as query string parameter to app's iframe. Find sample code below. I have passed the parent url's query ...


0

I dont think you can do it without accessing the server. You have to access the PowerShell or Stsadm to perform this activity. Or export / Import. Everything you will be get needs a server side access. check the answer here https://social.technet.microsoft.com/Forums/en-US/9cbed62e-badd-48da-874e-945d4eec39fb/increasing-site-template-size?forum=...


-1

you can use linkedin plugin with script editor webpart : http://sp2013.blogspot.fr/2012/09/sharepoint-2013-and-linkedin.html


2

Probably the best reference on this is here: https://blogs.msdn.microsoft.com/officeapps/2013/12/10/enable-app-sideloading-in-your-non-developer-site-collection/ Basically, there is a method called at the site collection to determine whether side loading is turned on. Microsoft.SharePoint.Client.AppCatalog.IsAppSideloadingEnabled For SharePoint online, ...


0

The easiest way to implement this would be to use a Script Editor web part and just create a very basic HTML input with some JavaScript. Then you can put it wherever. There are several examples online of the necessary JavaScript to make this conversion.


1

Been advised on other sites to use Content Types (CT's) wherever possible, InfoPath form editing is great but the power is from the CT's and they will be retained moving forward.


0

This seems to be a bug and currently I have a workaround rather than a fix! This happens after introducing other webparts on to the page, particularly Content Editor Web Part (CEWP). Removing the webparts doesn't always fix the issue but adding CEWP in left and right columns above the WP in question will realign the two lists. At a later date I was able to ...


0

For a single user use the Assign a Task action for multiple users use the Start a Task Process action. As long as you check the box for Wait for task completion then your workflow will wait until the task has been completed. You've got a couple more options with the multiple users but it essentially works the same. So you can just line the tasks up one ...


0

Static URL is available only for Provider Hosted Apps. The workaround you can do is create a page and put a redirect in that page to your app. This way you can share the page URL to the end user. After each deployment you should change the redirect url in the page.


0

This issue might occur because of You may have used a system custom master page that some placeholders were deleted or its visibility set to false. The app installation service timer job is disabled. This useful link helped me and I hope to help you to solve the above causes https://blog.devoworx.net/2015/10/17/your-apps-stuck-loading-in-sharepoint-2013/...


1

This issue might occur because of You may have a system custom master page that some placeholders were deleted or its visibility set to false. The app installation service timer job is disabled. and to solve this issue check this useful link https://blog.devoworx.net/2015/10/17/your-apps-stuck-loading-in-sharepoint-2013/


0

The OOTB Approval Workflow is not natively available within a List of a SharePoint Hosted App. However, you can attach a workflow to the list using the WorkflowAssociation class. Read more MSDN WorkflowAssociation class


0

From the details tab of the App description page of the page you linked: To gather all data from a SharePoint server: Download the "Splunk Add-on for Microsoft Windows" (v4.7.3 or later) and configure it to gather the Windows Event Logs for Security, Application and System. Deploy this to all SharePoint servers. Download the "Splunk Addon for ...


1

Instead of empty space use blank. Lookup will not display blank values IF(Date>TODAY(), Course, "")


0

The target host should be those that serve your content web applications to the end users. This would usually be the web front end server in a farm with only a single web front end, or the NLB address if using multiple web front end servers.


0

I would suggest you use a survey. This will take you all of about 2 minutes to setup. From the overview.aspx page, go to 'Setting' > 'Survey Settings' > 'List name, description and navigation'. Under survey options use 'Show user names in survey results. Is it possible to crack this open and see the real names? Probably, but I would think it would be ...



Top 50 recent answers are included