Tag Info

Hot answers tagged

4

Why create a new checkbox when you can take advantage of the default SharePoint functionality. var ctx = SP.ClientContext.get_current(); var items = SP.ListOperation.Selection.getSelectedItems(ctx); for (var i in items) { alert(items[i].id); //do manipulation here } You do any manipulation with the returned item collection.


4

The client wants to actually display 20,000 items on a single page, without paging? I cannot imagine a valid use case for this. No one is going to read 20,000 items. Tell them it's not possible. Then try to find out what they actually need and see if there is a solution. If they push back and insist on giving the users the capability to scroll through 20,000 ...


3

The nested Countif function is not valid. Countif does not exist in SharePoint. Although many SharePoint functions are identical to Excel functions, not all Excel functions work in SharePoint. In Excel, the syntax is Countif(range, criterion). Used in Excel, the formula will error out because you use too many arguments for Countif. In SharePoint the ...


3

Have you looked into using Reporting Services? You can set your site as a data source and query any list on the site as a dataset. The only catch is that you cannot "join" lists together in a single dataset, although you could still include multiple lists on the report. I once tried doing something similar with a Data View Web Part, that I would NOT ...


2

No this is not possible. one server can have only SharePoint farm. But you have to mutliple farm's database on single SQL server.


2

The command below always helped me to take backup of entire farm. Backup-SPFarm -Directory C:\Backup -BackupMethod full -BackupThreads 10 -Force Source: here and here If you want a script which will take backup regularly, I'll suggest you to check this script. It's for SharePoint 2010 but I don't see any reason for it to not work with SharePoint ...


2

I doubt that there is a direct way to achieve this. Read this Group by managed metadata column on stack exchange which deny the fact that a managed meta data column with multiple values allowed can be used in grouping a list. However if you are very keen on it, there is an article Grouping by a multi-value Managed Metadata Field using XSLT and a ...


2

Try to use Owner instead of owneralias, and SecondaryContact instead of secondaryowneralias.


2

Please create a Shared Datasource instead of "Datasource". I'll suggest you to read this step by step article, it helped me with my first report. J


1

i found 1 way $site = new-object Microsoft.SharePoint.SPSite("http://server/") $web = $site.OpenWeb("/") $resultsPath = "Paginas/default.aspx" $page = $web.GetFile($resultsPath) $page.CheckOut() $wpm = $web.GetLimitedWebPartManager($resultsPath, [System.Web.UI.WebControls.WebParts.PersonalizationScope]::Shared) $wpm.WebParts | ft Title, StorageKey ...


1

It's the way the template is, so there is no "setting" to enable. A few options I can think of: Edit the Search page and manually place a content editor web part in there and type your Title. Create a new MasterPage for your Search Template and inject the title. Create a new web part page How to create a new results page: Add the following webparts ...


1

I always have trouble finding out if I should use comas or semi-colons as separators in calculated columns formulas. Try to change comas into semi-colons.


1

In my experience you need to emulate what you get when you do a read (which you can see using a tool like Fiddler). In your case the code would be: var someNumbers = [4, 5]; var itemMetadata = { '__metadata': { 'type': archivo.d.ListItemEntityTypeFullName }, 'GerenciaId': $('#gerencia').val(), 'Planta_AreaId': $('#planta').val(), ...


1

If your SharePoint sites are delivered via HTTPS, you should also enable HTTPS on your OfficeWebApps-Server. Only changing the WOPIZone to internal-https will probably break your OfficeWebApps functionality. To change your OWA-config from HTTP to HTTPS you need a SSL-certificate for your OWA-Hostname (owa2013.lom.com). You should save your current ...


1

Here is the script. It will get you primary administrators in an excel file for each site collection inside a web application. I am not able to get Secondary Owner Property though. $WebApplicationUrl = "https://peopletest.brookfield.com" $outputFile1 = "C:\TEMP\siteCollectionAdminsPrimary.csv" $outputFile2 = "C:\TEMP\siteCollectionAdminsSecondary.csv" ...


1

SharePoint provides a Custom Action class, please read SP.UserCustomActionCollection Class. var context = new SP.ClientContext.get_current(); var list = context.get_web().get_lists().getByTitle("stackoverflow") var customAction = list.get_userCustomActions().add(); customAction.set_location('CommandUI.Ribbon.ListView'); var uiExtension = ...


1

Office location is being user to get the location of the office i.e USA, UK, West campus etc.As this property is set the location using the term set. I think this property being used when a company having office in different locations and they categorized them in multiple zone i.e North America, South America. While on other hand office property get the ...


1

Be very careful with this design, as it's pretty tricky to do well. Though first, any site template can be used, as the site template doesn't affect authentication. Authentication. You could either: enable both forms and windows auth on the same web app. When a user went to the site, they would get a dropdown selection that asked them if they wanted to ...


1

The short answer is no. The long answer is it might be useful if we understood what you are trying to do. Why would you want multiple farms on a single server? If you need multiple URLs you can create several web applications or use host named site collections. If it is a security concern then this again can be achieved with separate web applications and ...


1

There is no general answer on how to deploy cumulative updates to SharePoint. Generally i install updates only if they are older than 1 or 2 months. But: Until the May 2015 CU i only installed the September 2014 CU and no newer one (even on new farms!). That is because Microsoft messed things up in every CumulativeUpdate from then. The ultimate Resource ...


1

Check in - check out feature in the document library needs to be turned OFF.



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