Hot answers tagged

3

Put this below script in CEWP on your page: <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script> <script> $( document ).ready(function() { $("#DeltaPlaceHolderPageTitleInTitleArea span span a").attr("href", _spPageContextInfo.webServerRelativeUrl); }); </script> It will ...


2

If you are developing custom web part, then you can do so. Just add following line in your Element.xml <Property Name="Group" Value="{category name}" /> Full code of my Element.xml <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/" > <Module Name="SpPlexSlider" List="113" Url="...


2

To get the ListItem details using REST API, we have to call the below endpoint, https://webappname/sites/sitecollection_ name/_api/Web/GetFileByServerRelativeUrl('/Sites/sitecollection_name>/en-US/Pages/TVM3.aspx')/ListItemAllFields GetFileByServerRelativeUrl( <server relative url of a file>) ListItemAllFields property returns all field values ...


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, ...


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

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 ...


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

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


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.


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.


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 ...


1

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


1

Below snippet can be used to update MMD field var termValue = "-1;#" + termLabel + "|" + termGUID; item.set_item("Process", termValue); item.update();


1

You can retrieve page properties from a Pages library using REST just like any other list/library. For the above URL you could get that item using the following REST URL: http://<webappname>/Sites/<sitecollection name>/en-US/_api/web/lists/getbytitle('Pages')/items?$filter=FileRef eq '/sites/<sitecollection name/en-US/Pages/TVM3.aspx' It ...


1

You can achieve this by keeping the following code in Content Editor WebPart. $(document).ready(function(){ $('#DeltaPlaceHolderPageTitleInTitleArea').wrap('<a href="Your Link" />'); }); Where DeltaPlaceHolderPageTitleInTitleArea is the Id of your title placeholder. I achieved this functionality in past.


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.


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.


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/



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