Tag Info

Hot answers tagged

13

You can always add ?contents=1 to any url in SharePoint to see what specific webparts that are used in the site/page. Example: 'http: //test.sharepoint.com/Pages/default.aspx?contents=1'


6

Edit page Edit web part Appearance --> Advanced --> Title URL Remove value of field Save If that doesn't do it: place a "#" in the Title URL field If still that is not good enough: place "###" in the Title URL field and jQuery(document).ready(function () { $('a').filter("[href='###']").each(function () { ...


5

The Office Dev Patterns and Practices repo on GitHub has a great sample for provisioning custom web parts on the host web from inside of an app which should be a viable option for your situation. You could use this pattern to allow users to retrieve a custom configured web part and have it inserted into their host web allowing them to insert it at will (you ...


4

Use content editor web part:- (http://www.sharepointanalysthq.com/2011/03/embedding-pdfs-into-sharepoint-2010-pages/) First you need to find the URL to the PDF that you wish to view, after that you are ready to go! Step 1) Add a Content Editor Web Part to the page Step 2) Click on the ‘Edit HTML Source’ button for the Content Editor Web Part (not the ...


4

The SharePoint WebPart has its roots back from the 2003 version where it inherited directly from Control because ASP.NET had no concept of a web part and SharePoint as in many other cases implemented a lot of the functionallity which was moved into ASP.NET 2.0 in order to allow SharePoint to become a real ASP.NET application in 2007. After ASP.NET 2.0 ...


4

What you're asking is a bit complex to implement, but it's possible. You need to use AssetPickerDialog to get the same behavior as what you've mentioned, to pick up the image from library. I've implemented AssetPicker once, but that's for a different implementation, kind of searching entity from custom database. And that AssetPicker was triggered from a ...


4

You're missing the WebId property: var xlv = new XsltListViewWebPart(); using (var oSite = new SPSite(" http : / / app:3333/ ")) { using (var oWeb = oSite.OpenWeb("/ProxymIT/Direction")) { var oList = oWeb.Lists["AdministrativeNotes"]; //your list name xlv.WebId = oWeb.ID; xlv.ListId = oList.ID; xlv.ViewGuid = ...


4

Try using the same Google RSS feed URL without HTTPS, then it should work. so instead of https://news.google.com/news/feeds?cf=all&ned=in&hl=en&topic=n&output=rss use http://news.google.com/news/feeds?cf=all&ned=in&hl=en&topic=n&output=rss I did a quick test and it worked in SP when using the HTTP URL but not ...


4

You're only option is to contact Microsoft Support in a new service request from the Office 365 Admin Center with your Correlation ID. Ref: How to find more Info on Correlation ID for Office 365 SharePoint Online site These are your support channels in Office 365.


4

I would recommend the following example for loading web parts using JSOM: var ctx = new SP.ClientContext(); var pageFile = ctx.get_web().getFileByServerRelativeUrl(pageName); var webPartManager = pageFile.getLimitedWebPartManager(SP.WebParts.PersonalizationScope.shared); var webPartDefs = webPartManager.get_webParts(); ...


4

You are trying to read the property values too early in the web part life cycle. The property values are populated from the content database after the constructor has run. If you check the property values in OnLoad or OnPreRender you will see the values you have set in the editor.


4

Please try deleting "Error Web Part" from web part maintenance page. This is your "LightningConductorWebPart" which is throwing error.


4

You can, however it'll require adding code to the parent page and utilizing window.postMessage(). You will have to add an event listener on the parent page to listen for the message, and then open the dialog: window.addEventListener("message", receiveMessage, false); var receiveMessage = function(event) { if (event.origin !== "your app") return; ...


3

You can use paid VirtoSoftware solution - Virto Image Slider Web Part with 30 day trial period - http://www.virtosoftware.com/products/content-mgmt/virto-image-slideshow and they have almost the same app in Office 365 Store and it is free now there - https://store.office.com/WA104379182.aspx?assetid=WA104379182


3

The community tools web part, is part of the site template and not intendet to be edited. These links have been selected by the development team of the community feature to make management simpler. Editing the web part isn't supported. One option to overcome the problem is to delete the Community Tools Web Part and customise a Content Editor web part making ...


3

In SharePoint 2013, there are two task list templates and, consequently, two types of task lists: SPListTemplateType.Task (Id==107) – this one is from SharePoint 2010 SPListTemplateType.TasksWithTimelineAndHierarchy (Id== 175) – this one is introduced in SharePoint 2013. The second list is quite different, both visually and internally, for example it ...


3

You can use this 3-rd party web part - Sharepoint Change Password Web Part


3

I added your code to one of my pages, and changed the jQuery/jQuery Tools links to use https. IE Dev tools threw an error about insecure content, and after looking in the zweatherfeed.min.js file, I saw that it was using http in a few links, so I changed them to https. That gave me this: And the following error in IE Dev tools: SCRIPT438: Object ...


3

I solved using CSS: .ms-srch-hover-outerContainer { display:none !important }


3

What you are seeing are references in your database after a solution/webpart that was not removed correctly. I assume that you just uninstalled and removed the solution? If you know in which site och sub site the web part and feature was activated, you could add and install the solution again to your farm and follow those steps: Go to the site or sub ...


3

This can be definitely possible while using asset dialog provided OOTB in SharePoint. This dialog uses AssetPickers.js file present in _layouts/15 directory of SharePoint server. I found one blog and try it on my side by creating visual webpart and make the file selector as one of its properties. Link of ...


3

My take on these: Server-side code is fun and easy to write, and you can incorporate any feature of SharePoint in order to manipulate it. You can build out vast solutions that touch many different aspects, even outside SharePoint, and bakes it into SharePoint using webparts, timer jobs, event receivers, and the like. It is hard to maintain, and migration ...


3

It seems it occurs since sp.js library that contains SP.ClientContext class is not yet loaded when your code runs. Use SP.SOD.executeFunc to ensure that the specified sp.js library is loaded when the code runs. Try to change ApproveRejectRDA function to enclose it in SP.SOD.executeFunc like this: function ApproveRejectRDA(id, approved) { ...


3

When you get this type of requirement, you normally start with trying to understand what the real business case is. I mean, the security model in SharePoint is there for just that, security. When you get requirements trying to bypass it, you should be careful and really make sure to understand the real need. With that said, there are cases when you need to ...


3

You can get the ID through GetLimitedWebPartManager method You need file URL, the scope and something to filter by. Here is an example: _api/Web/GetFileByServerRelativeUrl('/sites/test/Home.aspx')/GetLimitedWebPartManager(scope=1)/WebParts?$expand=WebPart&$filter=WebPart/Title+eq+'Test'


3

user19952 has the easiest (and probably best) method, however as you can see from their screenshot there can be many web parts on one page, and it can be hard to differentiate which is which if you're not already familiar with the web parts. If you want to use the ID to find exactly what the web part is, you can use Powershell: $site = Get-SPSite ...


3

You should click on Apply then Ok on the web-part properties window. Also make sure page is published. During editing the page, the title will get displayed, and we can't change that behavior.


3

Microsoft's pattern and practices group has published guidance, including a hierarchical configuration manager library. The library uses a list or property bags. You can read more at http://www.microsoft.com/spg. (I would avoid web.config - the change management process for web.config in SharePoint is not reliable.)


3

You could store the connection string in an SPPersistedObject which you could then modify via PowerShell. You can also store it in the SPFarm or SPWeb property bag. I prefer the SPPersistedObject. You can see a real-world implementation of that here: https://github.com/Nauplius/FoundationSync/blob/2013/FoundationSyncSettings.cs


3

From MSDN for SharePoint 2013. If you want complete control over how a Web Part appears on your site, and if you want that Web Part to appear on all pages of a certain type, add the Web Part directly to a page layout. If you want a Web Part to appear on all pages in a site, you can also add a Web Part directly to a master page. Try with this ...



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