Hot answers tagged

3

Plenty alternative solutions explained here: http://sharepoint.stackexchange.com/search?tab=newest&q=user%3a32871%20icc Basic concept is to make the row color itself, instead of using bloated jQuery and ductaping caode on the page after it already loaded. =IF( AND ( [TextField]="text2" , [ChoiceField] = "choice1" ) ,"<IMG src="blank.gif" ...


3

All content editors are rendered as part of single HTML document. CSS styles don't have scope, they affect entire page. It's a common practice to use content editors to hide SharePoint UI elements (like ribbon buttons) that are not part of the web part. You can create single root elements per each CE and assign ID value: <div id="navigation-div"> ...


3

I just kept more than 5 WebParts on my page but the loading time difference between page without WebPart and page with WebPart is of max 2-3 seconds. For more detailing i would like to say that i kept OOTB WebParts. And your question will not have any specific answer as the scope of answer is too wide. Still i am listing some of the thing which you must ...


3

You can also use the SharePoint Developer dashboard to troubleshoot problems with page components. If your Developer Dashboard doesn’t offer you enough information, you can make use of SPMonitoredScope in your code. How to enable it ? To enable dashboard you need to create the Usage and Health Data Collection Service Application. Use the below powershell ...


3

You've not selected the correct project template. That error is shown when you try to create a On-Premises SharePoint 2013 solution on a non-SharePoint development environment. To create solutions for SharePoint Online, you should create a project using the App for SharePoint project template.


2

I think its not the issue with keeping 6th WebPart, its an issue with the server resource quotas for sandboxed solutions. Please have a look to the following article. Manage SharePoint Online server resource quotas for sandboxed solutions Let me know whether i am correctly getting your problem's solution. Thanks


2

Not saying that this is necessarily the problem, but I have never liked dynamically loading scripts by writing a script tag into the head. So my first inclination would be to get rid of the loadJS function and just load the chart.js script normally: <canvas id="myChart" width="600" height="400"></canvas> <!-- just load the chart.js script ...


2

You don't need any specific tool for that. Just remove the webparts one by one until you see the performance rise. If it never does, the performance problems are likely somewhere else


2

Webparts are deployed as part of SharePoint solution files (wsp). As well as there are standard webparts that are available as part of SharePoint install (content editor etc.) Removing a webpart from a page will not affect the same webpart installed on other pages. While if you remove a webpart solution it basically remove the webpart files from the farm ...


2

In SharePoint, users have the ability to follow a site, tags, people and even specific documents. You might have noticed this in the top right corner, below the username. Simply clicking the follow button will save the bookmark in your personal site so for this to work, you need to have My Sites configured. When a user follows a site it will show up on ...


2

yes we need to override the css having the background color and u will be able to change the color.


2

Not sure about OOTB Chart Web Part. But it is possible with a 3rd party web part, Plumsail Dashboard Designer. You can find a sample with filtering on their demo site.


2

Editing the web part by selecting "Edit the current view", will only apply to that web part on particular page. It will not affect your list's view. After editing your web part, you can see the Current view instead of "list view name" in selected view dropdown of the Edit Web Part pane.


2

APPROACH 1 First add reference of two COM components. Microsoft Office Object Library Microsoft Excel Object Library excel = new ApplicationClass(); excel.Visible = false; string workbookPath = url; Workbook excelWorkbook = excel.Workbooks.Open(workbookPath, 0, false, 5, "", "", false, XlPlatform.xlWindows, "", true, false, 0, true, false, false); Sheets ...


1

You can do it by code also: if (SPContext.Current.Web.CurrentUser.Groups.Cast<SPGroup>().Any(g => g.Name == "hr Group")) { show button } else { hide button }


1

SPGroup.ContainsCurrentUser() is also an option. You can get the HR group as usual and check if the HR group contains the current user. Then, it's just about hide/disable that button.


1

You could either try with a wildcard Path:"https://sitename.sharepoint.com/projects/*" contentclass:STS_Web SiteTitle <> projects Or got with the URL Depth property: Path:"https://sitename.sharepoint.com/projects " contentclass:STS_Web SiteTitle <> projects UrlDepth=1 And to make it a little bit smoother, go with Path:{Site.URL} UrlDepth=1 ...


1

You can use this webpart available on codeplex to do any operation with users created for FBA Authenthication SharePoint 2013 FBA Pack This forms based authentication pack is for SharePoint 2013. It includes web parts for registering users, changing passwords and password recovery. It includes tools for managing users and roles and for approving ...


1

SharePoint includes an OrgChart webpart and it's enabled in user profile pages by default. You however have to have user profile service configured correctly and in Active Directory the manager property has to be set. If you are using SharePoint online or 2013 with apps enabled you may be able to use one the apps available from the store: ...


1

The background color of the sites can be changed via CSS. In case you don't want to write your custom CSS, you can also apply any of the in-built themes to your SharePoint sites. Theme can be changed using following steps: Go To Site Settings -> Change the Look (Under Look and Feel Section) Select any of the available theme on the page, change the colors, ...


1

You need to use Client Object Model. Look in this link for basic operations: https://msdn.microsoft.com/en-us/library/office/jj163201.aspx#BasicOps_SPListItemCRUD Form this links, you have sample to create and delete items(like a move) Create: function createListItem(siteUrl) { var clientContext = new SP.ClientContext(siteUrl); var oList = ...


1

You can use the JavaScript Object Model to create and delete items. For reference, see Common Programming Tasks in the JavaScript Object Model, the SP Namespace, and SharePoint 2010 Client Object Model Hierarchy and Identity. Here's an example function to get you started: function moveItem(sourceItemId){ var sourceListTitle = "My Source List"; var ...


1

This is not sharepoint problem rather it is issue with I.E. Enhanced security which is causing the issue. You can disable the certificate check from IE to disable it or use the below link for other options http://answers.microsoft.com/en-us/ie/forum/ie9-windows_other/error-content-was-blocked-because-it-was-not/7528770d-0031-49ea-a61f-201b1958eb15?auth=1


1

There are two views to each web part page, the shared or public view, and the personal view. If you go to the Welcome menu and select "Personalize this page" you will see this message: You are editing the Personal Version of this page If you go back to the Welcome menu and select "Show Shared View" then you can add the text on the ...


1

If you are using CQWP to display list items then you can manage the view and look and feel of your list items in any of the manner which you want. You have full access to work with look and feel of List item in CQWP using SPD. Please have a look to this link Customizing the Content Query Web Part and Item Style Or if you want to read full article on this ...


1

The URL changes when user clicks on the folder. It means the page always refresh after clicking on the folder in Document Library. It is the default behavior of SharePoint.



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