Tag Info

New answers tagged

0

Are you adding the Calendar Web Part into a Web Part Zone? If it's being added outside of a Web Part Zone, then it will be deleted when you "Reattach to Page Layout", and this may be what you're experiencing. Note that this would only come up if you are working through SharePoint Designer, whereas if you're making the changes as a Power User then this should ...


0

Here's the solution to fix the post web part on the Post.aspx site. Delete faulty "Post" web part. Add a new post web part (this will display a list of all posts) Edit the web part by changing the view property to "". Under Appearance setting, set the Chrome Type to None Click on apply, then OK. Open SharePoint Designer, navigate to the Post.aspx page ...


1

The options are right in front of you. "Restrict by App" - At the moment you have it set to 'Current Site' which is actually 'Current Web'. You would need to remove this restriction to access the full index. Switch to Advanced Mode, ensure we are looking at Local SharePoint Results source and remove the query in the box. Add the following: ...


0

You need to change the WebPartId and other Id attributes for the Web Parts when you copy them to other tenancies.. Web Parts and Pages are referenced with Web Part Ids and once you copy the Web Part to other tenancy the reference is updated for the new page and thus no longer exists in the source. So before pasting, copy it into a Notepad file and change ...


1

contentclass:”STS_Site” contentclass:”STS_Web” This search query will return you all the site collections and subsites that the user has access to.


2

If you wanna display the latest items, i think you mean the Content Search Web Part. For this you need the enterprise license as it is not available to the foundation nor the standard edition. If you have a Enterprise license, add it by activating the Search-Driven content feature. SharePoint 2013 feature comparison chart all editions For the Search ...


0

1) your setup is very very wrong! never have live sites mixed with dev on the same server! your asking for trouble! solution to that issue? 1a) create a virtual machine on your local pc and copy the live enviroment to the virtual machine, if any issue occures it doesnt matter as its on your local pc and on a virtual machine that you can backup once setup ...


0

I had a similar problem and it was related to wrong deployment under "\14" folder, that it's the old layout for Sharepoint 2010 compatibility mode. I suggest you to deploy and check if your project is correctly comparing under these folders: [Common Files]\Microsoft Shared\Web Server Extensions\15\TEMPLATE\CONTROLTEMPLATES\[Your Project] [Common ...


0

<?xml version="1.0" encoding="utf-8"?> <webParts> <webPart xmlns="http://schemas.microsoft.com/WebPart/v3"> <metaData> <type name="Microsoft.Office.Server.Search.WebControls.ContentBySearchWebPart, Microsoft.Office.Server.Search, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> ...


1

Create an External list and add a list view webpart. You will have the SharePoint user experience. You can use SharePoint Designer as well as Visual Studio for this. This is how to do using Visual Studio: Create SharePoint 2013 External List using Visual Studio 2012 Create an External List Using C# Modifying BDC Model Entity in Business Connectivity ...


0

Unfortunately SharePoint webparts share many common CSS class names. A possible workaround is to build a custom page layout with a unique CSS selector element wrapped around the webpart zone where your slideshows will be placed. Another possible solution could be to write jQuery that identifies these slideshows by the title and appends a unique CSS selector ...


2

I don't think this can be done using OOTB SP. At least without using JQuery or SPD


2

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


2

there are couple of ways to remove it. Using the powershell script, check this link CodePlex solution SharePoint Feature Administration and Clean Up Tool


0

Create an External list and add a list view webpart. You will have the SharePoint user experience. You can use SharePoint Designer as well as Visual Studio for this. This is how to do using Visual Studio: Create SharePoint 2013 External List using Visual Studio 2012 Create an External List Using C# Modifying BDC Model Entity in Business Connectivity ...


1

looking at the web.config is not enough! check to make sure your dll is in GAC and that the assembly is correct. C:\Windows\Microsoft.NET\assembly\GAC_MSIL\ make sure your version and public key token are correct! you can check up against your dev enviroment, compare the two safecontrols.


1

According to this article Sandboxed Solutions support both custom actions as well as visual web parts. The following are not supported. Application Pages Custom Action Group Farm-scoped features HideCustomAction element Web Application-scoped features Workflows with code


1

Get the file attribute from the page and then get the LimitedWebPartManager. You add the webpart definition to the page. You can donwload it from the web part gallery but incase of a listview webpart I think you need to generate the correct xml yourself due to the references to lists, views, fields, etc.... public Guid AddWebPartToPage( ClientContext ctx, ...


1

Simple answer is No. A webpart can only be connected to another webpart through one connection type and it can have only one connection type. You cannot establish two connections between same instance of Provider and Consumer webpart. But, You can connect a provider web part with two instance of same consumer webpart (if the provider expose two ...


1

It would throw errors at you if the web part is not deployed as a feature on the destination server. You need to package the web part via the Publish option, then use powershell to deploy the feature on the destination server and any errors present will no longer appear.


0

If you're adamant in changing the webpart properties through powershell, you can use the following code: //Get reference to the SPSite object $SPsite = Get-SPSite "http://mywebapp/sites/mySite" //Iterate through all sub sites and root site foreach($SPWeb in $SPsite.AllWebs){ //Get reference to the landing page. Since it is a publishing site so ...


1

The preferred approach would be to change them in the Page Layout, create a new solution package and deploy that to the farm. This avoids unghosting of the page layout file. Or if you are clear about the consequences of unghosting you can go to the Master Page Gallery (http://sitecollectionroot/_catalogs/masterpage) and edit the Page Layout with SharePoint ...


0

A relativley simple solutions would be: creating a workflow using the "extract substring from index of string" action and add a lookup to the action. Use the following parameters: Data Source: Current Item Created By: Created By Return Field as: Display Name Im not sure if this is what you are looking for, I hope it helps.


0

Try passing the relative URL: var pageToAddWP = hostweb.getFileByServerRelativeUrl(getRelativeUrlFromAbsolute(hostUrl) + "SitePages/DevHome.aspx"); Also, change the assembly version to 16 in your webPartXml code. <Assembly>Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>


2

There are options on both the webpart zone and webpart itself to block removal. You should check these in SharePoint designer, I think you need designer permission level to modify these values. What permission level are you planning on giving your users? EDIT Found it: allowcustomization allowlayoutchange allowpersonalization You can also simply remove ...


0

Both should be exactly the same. Do you have a custom masterpage activated? If so, could you try using an Out of the box masterpage?


1

I finally done a temporary fix for this , I created a new view as same configuration and deleted the existing web part on the view page and added new one, I know this is not a permanent solution but as short it save your time.


0

working with this code: SPUtility.GetThemedImageUrl(SPUrlUtility.CombineUrl(SPUtility.ContextImagesRoot, "spcommon.png"), "spcommon");


0

This fix doesn't work on a list with pagination as the list items in the extra pages are obtained via ajax, so this doesn't correct the links for the rest of the pages (as the js doesn't run again). You can either get it to run again after someone has clicked to view a different page page buttons (AFTER the ajax has got the data and put it on the page), or ...


0

I was about to ask the exact same question. This probably isn't the most elegant solution, but the way I have solved this for now is to set the web part to a fixed height of 155 pixels. That way I see just the all day events. Problem is that setting maxes to just 5 events in a day, and then they fall below the scroll bar. Fewer than 5 events still shows a ...


0

It turns out the answer is, SharePoint 2010 forces certain file types to be downloaded, even if you associate the file extension (.webpart in this example) with Internet Explorer. I found the answer here: http://www.matdesmarais.com/2011/05/enabling-browser-file-handling-for-specific-file-types-in-sharepoint-2010/ The author gives detailed instructions ...


0

Since you see the titles, the web parts are correctly deployed. If it was an installation issue you would get an exception page or a safecontrol error statement. 99% chance it has something to do with your code. Add some logging, redploy the dll and review the log files. note: It might also be a good idea to insert a try-catch statement and return a proper ...


0

create a webpart using visual studios... within the webpart class add custom properties example: namespace ExampleWebPart { public class MyWebPart : WebPart { private string siteUrl = SPContext.Current.Site.Url; [WebBrowsable(true), Personalizable(PersonalizationScope.Shared), Category("custom settings"), ...


1

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


1

If you are looking for a global solution, I don't think one exists. The behavior is controlled by the display template for the result. The hover behavior on the Display Template is controlled by JavaScript and a hidden div on the Display Template. You can do any number of things to disable this. Edit the display template and remove the onmouseover event ...


1

If the problem is empty space between web parts then you could try this Add a "Content Editor Web Part" to the page. In "Source Editor" type the following css code <style type="text/css"> .ms-PartSpacingVertical { margin-top: 0px; } .ms-PartSpacingHorizontal { width: 0px; } </style> It depends on your css, but maby you need to specify ...


2

You can use PageViewer WebPart. Create a page in the site having document Library and add the library as a WebPart. Now Create a page in destination site SP2007 and add PageViewer WebPart their. Give the link of page you earlier created having Library. For details on how to add a PageViewer WebPart check this link


1

One solution could be to use SharePoint REST and datatables.net. see link : http://summit7systems.com/who-needs-a-data-view-web-part-sharepoint-rest-and-datatables-net/


0

How much space are we talking? Have you tried editing the web part properties and setting the Chrome Type "nothing" or whatever it's called? If that's not a possibility then is your script adding white space above the CEWP?


1

A leave request template basically consists of a calendar list tied to a simple workflow. Create new custom list Add the list columns you need (i.e. Start Date, End Date, Reasoning, Manager, Status - Approve/Reject, Comments) Then add a custom view to restrict employees from seeing others requests: List Settings > Create New View Select "Standard ...


1

In newform.aspx and editform.aspx of a SharePoint list item, a javascript function "PreSaveAction()" is called when the save button is clicked. By default, this function returns true, which enables SharePoint to Save/Update the item. You can override this function to provide your own validation. Within PreSaveAction(), you'll need to use AJAX to contact the ...


0

Their is one i saw on the MSFT site, i dont wheather it will work with current o365 version or not. Absence Request and Vacation Schedule Management there are other HR related templates also available., http://www.microsoft.com/government/en-us/campaigns/Pages/SharePoint-Templates.aspx


2

If it is just a URL you can add it as a property in the .webpart-file, or from your code-behind. The property is named TitleUrl http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webpartpages.webpart.titleurl.aspx


0

"Add a Web Part" control is always at the top of its corresponding zone when in edit mode. It should be invisible and should not affect your content when not in edit mode. Are you sure there is not something else on the page (empty space) that is causing this?


1

The Content Editor webpart (CEWP) does not allow adding javascript directly in the webpart. If this is 2013 you can try the Script Editor webpart as described here. In 2010, or if you still want to add the CEWP in 2013, you can use the option to link in the content from a text file as described here


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


0

There are a couple of options: If it is a links list, you can use the notes field as display name Link: "URL [Custom Columns];" Title: "Notes;" Description: leave empty Template: Image on the Left If it is a custom list with a hyperlink field Link: Link_Field_Name Title/Description: leave empty Template: Image on the Left Create your own template ...


0

Apparently, only the following types are supported as the properties of the web part in the sandbox solution: string bool Enum short int Guid Uri byte char long float decimal double Here is a link to Alan Dahl's blog article where Alan Dahls' blog did the search.


1

I can confirm that the (not-so-good) behaviour you are experiencing is indeed the default one. Whoever wrote the Visual Studio template though that using the web part class name inside the namespace was a good idea - probably this was done to avoid name collisions. That said, unless you find or write an alternate template afaik you are pretty stuck with ...


1

You could give each company their own site (under your top site), assuming you have Full Control over your own site. Then you can control the permissions for each site, if needed. You could also give each company its own site collection. If you do, be aware that permissions may need to be managed seperately on each site. (Permissions don't usually don't ...



Top 50 recent answers are included