Tag Info

New answers tagged

0

I haven't used 2013 enough yet to say whether or not this is definitive. But looking at the results of clicking on a Site Contents link, I see anchor tags for the ellipsis with a class like this: ms-vl-calloutarrow ms-calloutLink ms-ellipsis-a ms-pivotControl-overflowDot js-callout-launchPoint Now it seems to me you could create your own hover function with ...


1

Get the list name using the variable ctx.ListTitle (reference: How to get List Name from JS Object Model - List Name from URL problem). Once you have the name of the current list, you can use the information from @tiago-duarte: How to find relative URL of a document library using CSOM Open up Chrome's Developer Tools and run "ctx" in the console. Inspect ...


1

In my experience you can always get back to the Site Settings page even if you break your Master Page ({your site url}/_layouts/settings.aspx). Then if you have a publishing site, you should be able to click on the Master Page link under Look and Feel and then switch the master page to a different one that you haven't edited. If you have a team site, this ...


0

According to your Information, For now you can delete the site and recreate it. Reason is, because you change the default master page. For Recommended way, Please make a copy of the Master Page and customize it. In case of the Di aster / corruption, simply change the change the master page back to default and your all data will be remain only customization ...


3

For On-Prem installations: You can always change the master page from PowerShell using the below script: Connect-SPOService -Url "tenant admin url" -Credentials "username" $web = Get-SPOSite http://sharepoint $web.CustomMasterUrl = "/_catalogs/masterpage/nightandday.master" $web.MasterUrl = "/_catalogs/masterpage/nightandday.master" $web.Update() Source: ...


1

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


0

Are you using SPSecurity.RunWithElevatedPrivileges method ?? If you are wanting to get the current user when you log in you can try something like this SPWeb webSite = SPControl.GetContextWeb(SPContext); SPUser spUser = webSite.CurrentUser; string strUserName = spUser.LoginName; Or try this : string ModifiedbyUserName = ...


0

Try this : string trimtext = Regex.Replace(text, @"s+", " ").Trim(); I hope it help.


1

Preface, tried this on SP2010 not 2013: Something you can try is creating a new content type that inherits from the Discussion content type. Then in your discussion list, go to the list settings and add your newly created content type and delete the discussion content type. When selecting to create a new item, the content type name will be present. Then ...


0

You can edit a page where your discussion board resided and add a scrip webpart. Inside script webpart use jQuery to find an element that holds the "new discussion" text and change it.


1

As Per my Experience InPlace upgrade without backward compatibility. But we did a little change to reduce the down time. We have tons of Content DB with more than 10TB of data. Here are the steps we followed. Install bits(SP) on all SharePoint server Now Run the Upgrade content-Database for each Content DB. Now Run the Config Wizard, one by one on all ...


1

Generally you want to go with approach #1. Running with backwards compatibility for long periods of time is not recommended, and does not actually "upgrade" your farm (it does not upgrade the schema on the databases, for example). Unless you have a very large farm in terms of number of servers, or have an unusual requirement to be able to leverage backwards ...


0

The problem is that you probably did not publish the WF template in the first place. There are 2 possible solutions: Publish the WF template before saving it in the source In the destination, after activating the solution, open the WF template with SPD and publish it


1

Based on the comments in the original question, I believe the answer is installing the desktop experience on the server 2008 machine. This solved the same problem for me in a VM dev environment.


0

Not Supported. You can only use a Term Store for EITHER tagging OR navigation. Not both at the same time. (note - when you use it for navigation it works in a very different way to a taxonomy store for tagging).


0

I encountered the same problem… After reading many blogs, articles, presentations, code samples… etc I decided to develop/assemble an utility being able to set the necessary SSO Cookies in an unattended way for domain PCs and servers. After running the utility you will be able to mount the share without user intervention with the usual “net use…”. Maybe ...


1

You should use this: string rawvalue = item["lookupFieldname"].ToString(); SPFieldLookupValueCollection values = new SPFieldLookupValueCollection(rawvalue); foreach(SPFieldLookupValue value in values) String.Format("{0} {1}", value.LookupValue, value.LookupId);


4

There's no easy way to do it, but nothing stops you from manually checking if the folder exists and then adding it if you need to, then copying files from inside to the new one: You can check if a list item is a folder by checking its content type (folders will be "Folder")... To get the content type you need to select and expand ContentType on each item ...


1

There is property called DefaultValue. $FieldName = $list.Fields["NH Department"] Write-Output $("NH Department - Default Value " + $FieldName.DefaultValue)


0

CopyTo does not appear to be supported for folders in the REST API. See the Folder Methods section of Files and folders REST API reference


0

Actually I got my solution which is: to implement the paging onto SharePoint list you should use the pageinfo , but one thing you need to keep in your mind is don't use condition on ID like GT/LT/etc because pageinfo is already doing a filter on ID otherwise you'll get unwanted result. for more click here ...


1

If the page in the page viewer web part is really another SharePoint page, I don't think a PVWP is the right solution here. If we're talking about event details, you'd be better off adding two list view web parts to the page... the first showing the event list/title/etc, and the second showing the event details. Link the web parts together so that a user can ...


3

Thanks for Tiago for providing the solution. So here is the code if you want to move description up for Multiple lines of text. $("td.ms-formbody > span > textarea.ms-long").each(function(){ var descriptionElement = $(this).closest('.ms-formbody').contents().filter(function(){ return this.nodeType != 1; }); var descriptionText = ...


1

The visual web part should be included to the Site-scoped feature, as a result properties.Feature.Parent is a SPSite object. You need to check feature scope and use the code below if the scope is site. SPSite site = properties.Feature.Parent as SPSite; if (site != null){ SPWeb web = site.RootWeb; SPList laptopList = web.Lists["Laptops"]; ... }


1

Some time during the migration some views become corrupted especially for picture libraries. Try to create another View(all items) and test it, If that works then you can delete the default view while making new view as default.


0

Have you registered the Taxonomy control assembly/namespace in your page layout? You should have something such as the following in top of your layout page: <%@ Register Tagprefix="Taxonomy" Namespace="Microsoft.SharePoint.Taxonomy" Assembly="Microsoft.SharePoint.Taxonomy, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>


0

there is no easy way to reduce the number of clicks. What you need, you have to write a utility for end user to sign up for multiple lists. Below code snipt will create alerts for one list, now from here you have to write your logic and add multiple lists...may be write all lists url in the Notepad or etc... If you want the alert to be added to list, ...


0

if I delete AllItems.aspx from the designer, I get it on the recycle bin: /_layouts/15/RecycleBin.aspx with the name "(no title)" and the origin "Lists/mylistname" you can also try /_layouts/15/AdminRecycleBin.aspx and /_layouts/15/AdminRecycleBin.aspx?View=2


0


1

The Farm Account, which is used for the SharePoint 2010/2013 Timer service and the Central Administration site, is highly privileged and should not be used for other services on any computers in the server farm. You need to Change the Server farm account used for other services to low privileged account. This error may vary as per the services running in ...


0

Publishing features have always been an enterprise sku feature and not available in foundation.


4

I'm sure there is room for improvement, but here is a working sample. jQuery(document).ready(function () { if(location.href.contains('&IsDlg=1')) { $(".ms-dialog td.ms-formbody > span > table > tbody > tr:first-child > td > span.ms-RadioText").each(function(){ //console.log('found the first ...


0

Someone is going to have to do 5-6 clicks. :) Set up a workflow which initiates an email when an item is created/changed for the list. Have it point to a disto list/mailbox (easy) or manually add the names (harder). This can be as simple as a one line workflow or more complicated. This article walks you through basic steps. ...


0

This error happens if you deploy a solution which contains a visual web part to a different web application on the same farm as the web application where it is already installed. In other words, you have two web applications, A and B on the same SharePoint farm. You want to deploy solution S which contains a visual web part to web application B, but it is ...


1

I accomplished this with a simple Sandbox solution in SharePoint 2010. Create an Event Receiver that will attach to a document library. Below is the code that I used: public class DocumentLibraryEventReceiver : SPItemEventReceiver { const string _threeNumPrefixRegex = "^[0-9]{3}.*"; const string _fileErrorMessage = "Non-conforming File Name: ...


0

On your client side you have increased the timeout settings but you have not done so on your server side. try adding something like this to your server side basicHttpBinding (and if your operation takes 1 hour and 45 minutes you probably need to increase the send/receive timeouts on the client too) <endpoint address="" binding="basicHttpBinding" ...


2

SharePoint doesn't need the password because its not actually authenticating anywhere with these accounts. SharePoint uses administrative and service accounts to fetch information and content from the the SharePoint databases. It checks its own internal access control lists (permissions) to determine the level of access an account has on an object - from no ...


1

SuperUser and SuperReader accounts are normal account not services accounts that's why these are not managed accounts. SharePoint use these accounts to cache the data impersonating the App Pool Account. these accounts required Policy of web app level permissions and just grab the data from data base and put it into object cache. So when user make a request, ...


0

This is because SharePoint 2010 also creates an auth cookie which is saved to local file. The trick is to force SharePoint 2010 to use a session-based cookie, so that it is destroyed when the page is closed. In order to do that, run the following PowerShell script on the SharePoint WFE: $sts = Get­SPSecurityTokenServiceConfig $sts.UseSessionCookies = $true ...


2

Yes, You can move it. But one thing you keep in mind if you hard coded the URL in your sites then those will cause the issue and you have to manually adjust it. Couple of options to move it. 1) Moving using the PowerShell tool. Move-Spsite Move-SPSite http://servername.com/sites/sitename -DestinationDatabase ContentDb2 Only catch in this case, you ...


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/


0

Take a look at the SectionNames mananaged property, unfortunately it's not searchable. This leaves you to create a content enrichment web service and extract the titles yourself and put them in a custom managed property.


1

If you just need to access the values, you could do it like this: var dispTitle = "APickerField"; var pickerDiv = $("[id$='ClientPeoplePicker'][title='" + dispTitle + "']"); var peoplePicker = SPClientPeoplePicker.SPClientPeoplePickerDict[pickerDiv[0].id]; peoplePicker.GetAllUserInfo(); The GetAllUserInfo() returns an array with one index pr ...


0

The following services do not store tenant data, and do not support Partition Mode: State Access Database Visio Graphics Word Viewing PowerPoint Excel Calculation http://www.harbar.net/articles/sp2010mt1.aspx Check this diagram for more infor: ...


1

Could you please tell us, How much Ram you assigned to the VM? What Software Installed on the VM, everything on one or mutliple VMs. Couple of Common things to optimize the perfromance. Stop the unnecessary services /Services Application in farm. I.e Search Services, MMS, performance point etc. Please only configure the services application which you need ...


1

After a while I discovered that just editing (adding a space) to the master page in SharePoint Designer fixed it. I then copied the resulting saved SharePoint Designer master page back into my solution and deployed that and it worked fine. Comparing the two files, the master page that had been provided to me originally had some extra attributes in the ...


0

I don't know how you did configure you're Dev environment, but the search service is on real big resource eater, so if you don't need it, you should deactivate it. The rest goes out the services you don't use but configured and are activated in your farm. Another thing is that SharePoint loves to logg everything that's going on in the farm. By default the ...


1

I ran into a similar scenario where I had to set specific authors, since you included a powershell code sample here is the powershell I used to make the changes. Be aware this goes through all posts and asks if you want to change the author on each one. It also changes the editor as well. Please take the time to read the script before using, and be sure to ...


0

You can create a People directory using the People Search without writing any code. How to: Create a Simple SharePoint 2010 People Directory another way is use the infopath. Create the contacts list, and open in InfoPath Create a data connection to the User Profile web service Customize the form adding some text, a people picker and a button Create ...


0

We had a similar issue with FAST and we opened a support case as well. We were indexing 7 TB worth of data totaling around 3 million items. They said that disk IO was our major issue causing the timing out so we had to order new FAST servers. We ended up going with: 96 GB of RAM 2 x 6 Core Xeon CPUs 8 x 300 GB HD - 2 mirrored for OS, and other 6 in a ...



Top 50 recent answers are included