Tag Info

Hot answers tagged

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


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


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


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


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


2

I've had this requirement before, and each time I stray away from InfoPath and tell my users the only reasonable way is to use customized SharePoint list forms, edit/display/new. But in InfoPath, you would have to write code-behind in the InfoPath form, making it administrative approved. In the code, you would, upon submission of a document attachment, use ...


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


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.


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


1

I've done something similar with Nintex, allowing for the form to receive attachments, then using workflow tools, extract the base 64 encoded attachment and load it into a document library with a web service operation, then update the form xml to remove the attachment. Perhaps though with a form rule, once the field is assigned that determines the name, you ...


1

I've used a technique like this in the past to handle the execution of jQuery after webparts ajax load or ajax refresh, http://stackoverflow.com/a/7062485/318776. Basically after the ajax call/postback is complete, it will execute your code. <script type="text/javascript"> Sys.Application.add_init(function () { ...


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


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.


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

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

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.


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


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/


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

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


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


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


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


1

You could possibly create Audiences for your different groups, and then configure the different webparts to only be shown to specific audiences



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