Tag Info

New answers tagged

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


0

I don't think you will be able to do this OOTB. If you dont feel like developing your own web part, check out this one from codeplex: http://myrecentdocuments.codeplex.com/ If it does not fulfill your requirement, use it as a base a dev on it. Regards,


0

I don't know if is possible to configure the Content Search Web Part to use the custom properties within a term. Something you could try is to add some script to the page to get the value of the custom property and place it in a text field and then configure the Content Search Web Part to read the value from the text box as part of the query.


0

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


0

You should be able to just use "Title", as shown below. <!--MS:<WebPartPages:WebPartZone runat="server" Title="Sidebar" AllowPersonalization="false" ID="x9f20386d0c5648cc8fca09e815f2a754" FrameType="TitleBarOnly" Orientation="Vertical">-->


0

Here is a simple script to add a webpart to a page using PowerShell which is tested and working fine. Please note that to add a webpart to a page export webpart to your local drive .webpart/.dwp file will be in xml format. cls asnp "*sh*" $web=Get-SPweb -Identity "http://SP2013dev.com/sites/addwebpart/" [xml]$webpartxml= Get-Content -Path ...


1

Hit the edit-button On the Insert tab, select Web Part (or App Part) Select which web part to insert Save the page And your Web Part is on the page without changing anything else


0

Yes its possible, you need to create sharepoint project and build your webparts there before that you must ensure that you have installed all required hardware and software for sharepoint. For creating visual webpart : http://sptechbytes.blogspot.in/2013/02/sharepoint-2010-creating-visual-webpart.html


0

SharePoint 2013 might require activation of Video and Rich Media site collection feature for this button to appear. The feature adds the Site assets library app type to the site collection. Also, the Video and Audio button appears in rich text editors across the site collection (content editor webpart, pages, edit forms with rich multiline text).


0

Just a clarification - This is NOT an issue but just the way SP is designed. Essentially allowing for more granular control across your site. Features need to be enabled top down (Application all the way to the subsite level) Only then the feature is available. Still needs to be turned on - does NOT get turned on by default on all sites (understandably as ...


2

Localizing SharePoint Solutions is quite a large topic and there is some great reference material on MSDN. SPWeb.SupportedUICultures is a method that will tell you which cultures are available in your web. The cultures should correspond with the Optional Language Packs installed. When I localizing a web part, I often start with creating a resource file ...


0

Since the date filter is set to a specific date it will filter the items based on that parameter. In order to change this, the default date needs to be changed. Go to 'Edit Page' Select the 'Date Filter' web part and select the 'Edit Web part' option Expand the 'Filter' option tab and set the Default Value to None. Click 'OK' and load the page again. ...


0

You can find a solution for your case here : http://sharepointhero.wordpress.com/2014/07/20/adding-world-clock-and-exchange-rates-web-parts-to-sharepoint/


1

Appending the foll. to your page url will open the Web Part Page Maintenance: ?contents=1


0

I've had this problem before and never explored a solution until now. Don't use the script editor, instead just open the view aspx within SharePoint Designer and in 'PlaceHolderAdditionalPageHead' you can add your script without loosing the ribbon. Tested in SP 2013 on AllItems.aspx <asp:content contentplaceholderid="PlaceHolderAdditionalPageHead" ...


1

Edit the html of the CEWP ad paste it into a text editor. Remove the html from the CEWP. Save the html in the editor as a .html file and upload it to a document library. Edit the CEWP and point the Content Link to the file you just uploaded. Putting html and/or script directly into a CEWP is possible on web part pages, not on wiki or publishing pages. ...


2

I created a world clock in SharePoint using Javascript with the Moment and Moment Timezone libraries. The benefit to this approach is that you don't need to call an external service. The downside is that it relies upon the time on the client. I wasn't building an atomic clock so it was suitable for my needs. Here is an example that targets a DIV with the ...


1

What we do is divide the Page Layout using WebPartZones. We then add Content Editor Webparts on to the Page, there we can link the image using "a" tag, Here the admin can go to the edit mode and adjust the images and links in Edit Mode also


0

What you can use are Promoted Links. https://www.youtube.com/watch?v=cUJ5oRKwTyU It's possible to allow users to edit/add the 'icon' but it might be a bit cumbersome. Try it out, maybe it'll help you. M


0

this is a very rough example but I think you get the idea locate the add new item(s) for each one of them, replace the link by an image (or anything else) move the element from the bottom to a parent element <!-- change add new item markup for all webparts in page and move them around --> <script type="text/javascript" src="../Style ...


2

If this is part of a page layout, you can have a separate stylesheet for edit mode that relaxes your fixed width or removes your branding altogether to make it easier to modify web part properties. You would use an EditModePanel. I've done things like this in page layouts: <asp:Content ContentPlaceHolderID="PlaceHolderAdditionalPageHead" ...


5

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


0

The webpart doesn't has any property for setting Toolbar Type but the view does. You can use CSS or JSLink (postRender Handler) to remove/hide toolbar. You CSOM seems to be updating the view in the list/library but not necessarily the view on your page.


0

To get rid of the icons, you could either edit the webpart and deselect "Show Toolbar" or you could add this to a CEWP or a Script Editor Web part to hide those pesky buttons. <style type="text/css"> .ms-WPBody a[onclick ^= "Next"]{ display:none; } .ms-WPBody a[onclick ^= "Play"]{ display:none; } </style>


0

I can't think of a way to do this without custom code in 2010. You might be able to do it in 2013 with a combination of Query Rules and Display Templates, but in 2010 you don't have the User property features out of the box.


0

When you add a list or library to a page, you can choose default view for that list or library on that page. Go to "Edit Web Part" section on the page you add the library.


2

If you download and edit the Masterpage through the web UI, you could add a button or link that goes back one page. The button could look like anything as long as it calls a function like: function goBack(){ history.go(-1); } Source Then you re-upload the Masterpage with the same file name. When making the button/link you can either place it ...


2

Just ensure that Enterprise feature (Site collection level) is activated


0

Make sure the fields displayed in the selected view are working/provisioned correctly. I once had this problem due to a field that was not working correctly. Deleted the field from the list and it worked again.


0

For custom web parts it is pretty easy. You have to override the OnPreRender event and then read or write an XML document (standard c#, no magic). For out-of-the-box web parts it is a really difficult as there doesn't exist functionality in the SSOM which supports this universally. To do this with out-of-the-box web parts you'd have to do 1 of 2 things: ...


1

You have two options: Audience Targeting If you only want the web part to be visible to users in the community's owners and moderators groups (as you mentioned in your comment beneath your post), you can enter these group names into the "Audiences" property in the web part properties tool pane. Pros: This approach is dead simple, and the web part won't be ...


1

If the chrome type does not help you, you can just add a blank space as title. Just tried it out and it works. It's a ugly way to do it, but it works.


1

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


0

I think you have changed the view by mistake. And in your current view some grouping is selected. You need to change the View. Click on Modify View in Ribbon Select the Columns you want to show(Check the check boxes) MAKE SURE GROUPING IS NOT SELECTED with any column(currently in looks like in your snapshot that you have selected 'Title' as grouping. For ...


0

You can use a CQWP (Custom Query Web Part) and create your own ItemStyle.xsl. Then simply add the CQWP to your site and select the source library and the Content Type you wish to show. With this solution you can have one Web Part serving N listitems in SharePoint libraries, you can also query for Content Types on the whole site if you wish to show PDF ...


2

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


0

Normally its not possible, you might have one of below problem. In Dev machine, you directly deployed web part from visual studio. and you might copy old WSP to production env. here, you need to publish WSP and redeploy. Check WSP is installed properly in central admin of production machine. Are you getting any error while trying to edit page in production ...


2

<Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Module Name="Pages"> <File Path="Pages\Tasks.aspx" Url="Pages/Tasks.aspx" ReplaceContent="TRUE"> <View List="Lists/WorkflowTaskList" BaseViewID="5" WebPartZoneID="TaskListZone" WebPartOrder="1"> <![CDATA[ <webParts> ...


1

Please try this Response.Redirect("PageName.aspx"); Or Response.Redirect("/SiteCollection/Site/SitePages/PageName.aspx");



Top 50 recent answers are included