Tag Info

Hot answers tagged

4

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


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.


3

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.


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


2

Here is ready to use web part from VirtoSoftware with several data sources including Google Calendar - uses its API and allows you to synchronize as many calendars as you need - http://www.virtosoftware.com/products/collaboration/virto-calendar-for-microsoft-sharepoint Hope it will help you!


2

Take a look at VirtoSoftware Sharepoint Calendar Web Part. It has the option you are looking for and much more useful features like integration with Microsoft Exhchange, Google Calendar and even SalesForce Calendar. http://www.virtosoftware.com/products/collaboration/virto-calendar-for-microsoft-sharepoint


2

Use a script editor and use the same thing you did in Developer Tools. If you are using a wiki page and want a code-free way to format the entire web part itself, a trick is to place the web part in a table on the page and play with the widths of each column. This can all be done directly within SharePoint. This wouldn't exactly work for what you are ...


2

You could use the something like const string scriptKey = "jQuery"; if( !Page.ClientScript.IsClientScriptIncludeRegistered( Page.GetType(), scriptKey ) ) { Page.ClientScript.RegisterClientScriptInclude( Page.GetType(), scriptKey, ResolveClientUrl("~/js/jquery.min.js" ) ); } The key to making this work is that you need to include the same key ...


2

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(); ...


1

This is my code for vwp properties: private string _lista = ""; [WebBrowsable(true), WebDisplayName("[some name]"), WebDescription("[some name]"), Personalizable(PersonalizationScope.Shared), Category("some category")] public string _Lista { get { return _lista.ToString(); } set { _lista = value; } } As you can see the only diference with your ...


1

You can look at this post below, demonstrating how to custom sort your results using display templates. The managed property must also be sortable. http://www.eliostruyf.com/add-sorting-display-templates/


1

If you were trying to display a web part page, you could accomplish this using a page viewer web part, as detailed in my original answer below. However, wiki pages will throw an error if they cannot find the ribbon. Embed a web part page (not a wiki page) using a Page Viewer Web Part When specifying the URL of the page that the page viewer web part should ...


1

Here's a potential solution that involves a Content Editor and jQuery.load(). You can "screen scrape" the section of the source page and stuff it into an HTML element of your choosing on the destination page. It would look something like this: $("#myDiv").load("/SitePages/Blah.aspx .ms-WPBody"); In this example, "myDiv" is the ID of a div you'd place in ...


1

I wrote this code here so I can't guarantee it will work as is. It should get you pointed in the right direction. private Func<string> _func; protected void Page_Load(object sender, EventArgs e) { _func = new Func<string>(GetCurrentUserData); Page.RegisterAsyncTask( new PageAsyncTask( new ...


1

Basically you would have to call the function that does that on regular basis using setInterval , but if you would like, here's another plugin that does that for you: Lite Accordion


1

If you can grab the offending NOBR element via JavaScript, you can then hide it and insert a less offensive element adjacent to it with the same (or modified) HTML content. // 1. grab the NOBR tag via CSS selector var nobr = document.querySelector(".ms-standardheader.ms-WPTitle nobr"); // NOTE: Replace above CSS Selector with one that grabs the title of ...


1

All you need to do is to add solid to the border-bottom property, so it would look like this: .groupheader { padding-left: 10px !important; padding-right: 5px !important; border-bottom: 1px #000000 solid ; }


1

Using jquery would be fine, but just flip the approach. Instead of hiding the webpart if its empty , make the webpart hidden by default, and visible only when content is available. Here is the approach. Add a Content Editor / Script Editor webpart with CSS code that hides(remember just mark display none / visible false, dont remove) the Discussion List ...


1

The assembly in a sandbox solution does not get deployed to the GAC and it does not run in the regular worker process (w3wp). It instead runs in a separate worker process called the user code process. Sandbox solutions are limited to using a subset of the server object model and the are restricted from accessing anything outside of SharePoint (external web ...


1

You can use jQuery (or even plain JavaScript) to get the attribute from the generated for the wev part. The only thing you'd need is somethint that allows you to identify this Web Part even from within the main container. If you own the code for the WP, you can add a custom div with and ID or a class (or data-something), get that using jQuery and then ...


1

I'm not sure if I understand what you want, but I think you are looking for the g_ctxDict object. It holds all the "ctx" objects for all your list webparts on the page. for(var prop in g_ctxDict) { console.log(g_ctxDict[prop].listName) }


1

Yes you can do that. I haven't done exactly what you'd like to do but found a quick post that lists what seems to be the same thing. You may need to change the selector a bit, but the logic should be the same. http://geeks.ms/blogs/lmanez/archive/2014/05/14/office-365-selecting-webpart-title-from-display-template.aspx As far as not being able to reuse a ...


1

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



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