New answers tagged

0

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

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


0

No need for external ScriptFiles and (complex) JavaScript code; Let SharePoint do the work for you (this works in 2010,2013 & Online) see http://viewmaster365.com/#/How Add a Calculated Column Tip of the Day set to output a Date Paste Formula: ="<img src='/_layouts/images/blank.gif' onload=""{" &"var D=GetDaysAfterToday(new Date(" ...


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


0

The issue is resolved, I just publish the page as a major. Then the WebPart is displayed.


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


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


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


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


0

Here are few more things which you can do to improve performance: 1) Avoid giving reference of plugin files in each web part(ex bootstrap.css, jquery.min.js etc.), instead give references of such files in the master page itself and with the help of javascript append those references in the iframe of web parts. 2) Open audit option in console, find unused ...


0

noticed people are answering based off the web parts being the issue but 5 web parts on a page is not a lot at all. few things to note. is it a live (365) or on-premise server..... is it a live or dev server? the second part related to the hardware. What is your specs like ram, topology etc. once the above is answered the next part is the web parts(If ...


0

This is really awesome....you are doing something wrong...Try putting condition over your CSS and then check: if (BrowserDetect.browser.indexOf("chrome")>-1) { document.write('<'+'link rel="stylesheet" href="../component/chromeCSSStyles.css" />'); } else if (BrowserDetect.browser.indexOf("mozilla")>-1) { document.write('<'+'link ...


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


0

You can change text layout of SharePoint page. Edit page, select layout Two columns from Ribbon >> Format Text >> Text Layout. You can add HomeROW3 to left zone and HomeROW4 to right zone.


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


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


0

Some Jquery might help you out here...Try this link...let us know if it works http://stackoverflow.com/questions/12092735/refresh-scroll-to-bottom


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.


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.


0

Successfully created the Skill Matrix using Kendo Grid UI. Populate Kendo Grid by using list as data soucre The colors indicate the Skill Level of the employee.


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.


0

You will want to check all your Mount Points at Administrative Tools >> Computer Management >> Disk Management. In some circumstances, the volumes where the LDF and MDF files are stored, may be significantly less than expected. Therefore, the solution will be the increase the storage for the particular drives, at least during the attach and detach process. ...


0

Save the below xml as dwp file and change the contentlink property with your script text file location, it should be portable and you don't need to configure the webpart. Add the WebPart simply to any page. <?xml version="1.0" encoding="utf-8"?> <WebPart xmlns:xsd="http://www.w3.org/2001/XMLSchema" ...


0

You can use similar functionality by using Content Editor Webpart Copy all the code in a text file Upload the text file somewhere on site Refer that text file in the CEWP And you are good to go!


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

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


0

This is what the query should have been: Path:"https://sitename.sharepoint.com/projects " contentclass:STS_Web Site<>{Site.URL} Also remember to give SHarePoint a chance to index your new sites.


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


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


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


2

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


0

The CSOM LimitedWebPartManager only allows import of a web part, but not export. So no, you cannot access the Content property. There is an Office UserVoice suggestion to introduce this CSOM capability: https://officespdev.uservoice.com/forums/224641-general/suggestions/6413925-expose-microsoft-sharepoint-webpartpages-splimited As an alternative for now, ...


0

this is an unfortunate problem with VS 2015 building sandboxed solutions for Office 365. The workaround is to just use VS 2013. Open the existing project, rebuild and publish. It will work. EDIT: problem is still there with Update 2 for VS 2015 and Update 2 for Office Developer Tools for VS 2015


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


0

If the user is on Mac OS X 10.9 (Mavericks) or later, Finder's Go > Connect to Server will allow to map SP location. To target webpart to particular group of users, use audiences - see official doc, and a friendly step by step guide for 2010/2013/Online.


0

You could create a group that contains this user, and specify the group in the "Target Audiences" field of your "Edit web part" menu. Thus only the members of your group will have access to the web part. Ref: https://support.office.com/en-us/article/Target-a-Web-Part-to-a-specific-audience-d4076339-dc25-48be-9a2b-ffafdf33e9d8 Note: I am not sure if you can ...


0

From the look of it's not an easy fix, I have not used that script before, but a quick test shows it's a problem with the ribbon. Probably losing some context at some point. And what it does then is to call the DeselectAllWPItems function. Tbh SP.Ribbon.js is way to complicated to worth trying to override for this script. Probably best to write a better ...


0

I have used it in one of my project & it is working like a charm with 3 listview WebParts in each tab. Please check this link if you failed to follow any of the step from this.


0

You could achieve this with Sharepoint Designer. Select in Sharepoint Designer your list Create a new Form for each of your web parts (ex. newitemtest.aspx in the picture) Edit the new form removing the fields you want to hide from the userd Provide the users with the new links ex. if the list is called test: Lists/test/newitemtest.aspx Here is a ...


0

While it is possible to create more views, when the web part is edited, the view drop-down is limited to the first 50 views created. Solution is to either edit the current view or in SP Designer, click on web part, then Filter, then adjust view criteria. Maximum number of views per document library in SharePoint 2013


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


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


0

<style type="text/css"> .ms-webpartPage-root { border-spacing: 0px !important; } .ms-webpartzone-cell { margin: 0px !important; } </style> See more at: http://www.ashokraja.me/tips/How-To-Remove-Extra-Space-Around-the-Web-Part-In-SharePoint-2013#sthash.4JCrsVli.dpuf


0

You can do this by changing the link that users use to navigate to the page with the webpart in it. Below is an example of a link I send out via email to users of a form for an item which contains a document webpart. As you can see I send a custom form, select the folder to display and use a non-default view on it. ...


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


0

To work around the issue I simply added an if statement to stop the insert if the date field is empty i.e. if(Date != "")oListItem.set_item('Date', covertToAmericanFormat(Date)); I hope this helps others as it is a real pain passing null dates!! The insert will only work if there is a date present in the textbox otherwise it will not insert. Problem ...


0

If you do not have a code than its almost impossible to change the code behind of your webpart. Even if you extract the WSP in Visual studio than you will not able to get code behind files of your webpart's UserControls. The most important thing in SharePoint development is, you need administrative rights to deploy any of the solution in SharePoint. If ...


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.


0

There is no way to "configure" those. I'd just add Script Editor web part to the page containing JavaScript that replaces the strings when page is loaded.



Top 50 recent answers are included